A bitmap stores an image as a grid of colored dots

A bitmap is a digital image made up of individual pixels — tiny colored squares arranged in rows and columns. When you zoom in far enough on any bitmap, you see the individual squares. When you zoom out, your eye blends them together into a picture. Every photograph on your phone, every screenshot you take, and most images you see on websites are bitmaps.

The word "bitmap" technically describes any image stored this way. In practice, people use it to mean uncompressed or lightly compressed image files, usually in formats like BMP, TIFF, or PNG. The key difference from other image types is that bitmaps store information about every single pixel, rather than storing instructions for how to draw shapes.

This matters because it affects file size, quality, and what you can do with the image after you make it. A bitmap file that is 2000 pixels wide and 1500 pixels tall contains data for 3 million individual pixels. That takes up space, and it limits how much you can enlarge the image without it looking blurry.

Key Takeaways

  • Bitmaps store images as grids of colored pixels, so they take up more storage space than vector formats but capture photographic detail accurately.
  • Enlarging a bitmap beyond its original size makes it look blurry or blocky because the software has to guess what new pixels should look like.
  • Common bitmap formats include JPEG (smaller files, some quality loss), PNG (lossless, supports transparency), and TIFF (professional work, very large files).
  • Bitmaps work well for photographs, screenshots, and detailed artwork, but not for logos or graphics that need to scale to different sizes.

How bitmaps differ from vector files

A vector file stores images as mathematical instructions instead of pixel data. If you draw a circle in a vector program, the file says "draw a circle with this radius at this location in this color." A bitmap file says "pixel at position 1,1 is red, pixel at position 1,2 is red, pixel at position 1,3 is slightly lighter red" — for every single pixel in the image.

This means vector files stay sharp at any size. You can make a logo 1 inch wide or 10 feet wide, and it looks equally crisp because the software just recalculates the math. Bitmap files do not work that way. Enlarge a bitmap too much and the software has to invent new pixels to fill the space, which makes the image look fuzzy or blocky.

Vector files are usually much smaller than bitmaps because they store instructions rather than pixel data. A straightforward logo in vector format might be 50 kilobytes. The same logo as a bitmap at high resolution could be 5 megabytes. But vectors cannot capture the detail of a photograph — they are built for shapes, lines, and solid colors.

Common bitmap file formats and what they do

JPEG is the most common format for photographs and images on the web. It compresses the image by throwing away some color information your eye probably will not notice. A JPEG file is much smaller than the original, which is why it loads quickly on websites. The trade-off is that you lose a little quality, and you cannot make the image larger without it looking blurry. JPEG does not support transparency (a transparent background).

PNG compresses images without throwing away any information, so the quality stays perfect. PNG files are larger than JPEG but smaller than uncompressed formats. PNG supports transparency, which is why it is standard for logos, icons, and graphics that need to sit on different backgrounds. If you need to edit an image later and want to keep all the original detail, PNG is a safer choice than JPEG.

TIFF stores images with no compression at all, or with lossless compression that preserves every detail. TIFF files are very large, which is why they are used in professional photography and printing rather than on the web. If you are archiving images or sending them to a print shop, TIFF is often what they ask for. Most people never need to use TIFF.

BMP is an older, uncompressed format that stores raw pixel data. BMP files are huge and have no real advantages over PNG or TIFF. You will rarely encounter them unless you are working with legacy systems or very old files.

When to use a bitmap instead of a vector

Use a bitmap when you are working with photographs, detailed artwork, or images with many colors and gradients. Your phone camera creates bitmaps. Photoshop and GIMP (free) work primarily with bitmaps. Screenshots are bitmaps. If the image came from a camera or scanner, it is a bitmap, and that is the right format for it.

Bitmaps also make sense when you know the exact size you need and you do not plan to enlarge the image later. A social media post that is always 1200 pixels wide can be a bitmap. A banner for a website that is always displayed at the same size can be a bitmap. Once you fix the size, the pixel-based approach works fine.

Do not use a bitmap for logos, icons, or graphics that need to work at many different sizes. Do not use a bitmap if you need a transparent background and plan to edit it later — PNG works, but vector is better because you can change the design without losing quality. Do not use a bitmap if the file size matters and you have a choice — vector files are usually smaller for straightforward graphics.

Why bitmap files get large and how to manage that

A bitmap file size depends on three things: the width and height in pixels, the color depth (how many colors each pixel can be), and how much compression is applied. A 4000-by-3000-pixel photograph with full color depth and no compression takes up roughly 36 megabytes. The same image as a JPEG might be 2 to 5 megabytes depending on quality settings.

If you are storing many images or sending them over the internet, compression matters. JPEG compression is "lossy," meaning it throws away information to make the file smaller. You can usually compress a photograph to 20 to 30 percent of its original size with no visible quality loss. Compress it more aggressively and you start to see artifacts — blurry areas or color banding.

PNG compression is "lossless," so it never throws away information, but it also does not shrink files as much as JPEG. A PNG might be 50 to 70 percent of the original uncompressed size. If you need both small file size and perfect quality, PNG is the compromise. If you need the smallest possible file and do not mind slight quality loss, JPEG is the choice.

How to check if a file is a bitmap and what to do with it

Look at the file extension. JPEG files end in .jpg or .jpeg. PNG files end in .png. TIFF files end in .tif or .tiff. BMP files end in .bmp. On Windows, you can right-click a file and choose "Properties" to see the file type. On a Mac, click the file and press Command-I to open the info panel.

If you have a bitmap and need to use it at a different size, your options depend on what you are doing. If you are making it smaller, that always works fine — you just throw away pixels. If you are making it larger, use software that has good upscaling, like Photoshop or the free tool Upscayl, which uses artificial intelligence to guess what new pixels should look like. The result will not be as sharp as the original, but it is better than what older software produces.

If you need to convert a bitmap to a vector (for example, to scale a logo), you can use a tracing tool like Adobe Illustrator's Image Trace or the free software Inkscape. These tools analyze the bitmap and draw vector shapes that match it. The result is not perfect, especially for photographs, but it works well for straightforward graphics and logos.

Frequently Asked Questions

Can I make a bitmap image larger without it looking blurry?

Not perfectly. Enlarging a bitmap means the software has to invent new pixels, and it can only guess based on surrounding pixels. Modern upscaling tools using AI do a better job than older methods, but the result is never as sharp as the original. If you know you will need a large version, start with the largest size you can.

Is PNG or JPEG better for storing photos?

JPEG is smaller and standard for photographs. PNG is better if you need to edit the photo later and want to keep all the original detail, or if you need a transparent background. For most people sharing photos online, JPEG is the practical choice.

Why do screenshots sometimes look pixelated?

Screenshots are bitmaps at the resolution of your screen. If your screen is 1920 by 1080 pixels and you enlarge the screenshot to fill a larger display, the software has to stretch the pixels, which makes them visible and blocky. Taking the screenshot at a higher resolution before enlarging it solves this.

Can I edit a bitmap file and save it without losing quality?

Only if you save it in a lossless format like PNG or TIFF. If you open a JPEG, edit it, and save it as JPEG again, you lose quality twice — once from the original compression and once from the new save. Always save your working copy as PNG or TIFF, then export to JPEG only when you are done.

What is the difference between a bitmap and a raster image?

They mean the same thing. "Raster" is the technical term for any image made of pixels in a grid. "Bitmap" is the older term that people still use. You will hear both, and they refer to the same concept.