A bitmap is a grid of colored dots that forms an image

A bitmap is a digital image made up of tiny squares of color, called pixels, arranged in rows and columns. When you zoom in far enough on any bitmap image, you see the individual colored squares. When you zoom out or view it at normal size, your eye blends those squares together and sees a picture.

The word "bitmap" literally means a map of bits — a record of which pixels are which color. Unlike vector files (which store mathematical instructions for drawing shapes), bitmaps store the actual color value of every single pixel in the image. This is why bitmaps are sometimes called raster images.

Common bitmap file formats include .jpg, .png, .gif, .bmp, and .tiff. Each format compresses or stores the pixel data differently, which affects file size and image quality. A photograph from your phone camera is almost always a bitmap, usually in .jpg format.

Key Takeaways

  • Bitmaps store the color of every individual pixel, so they work well for photographs and complex images with many colors and gradients.
  • When you enlarge a bitmap too much, it becomes pixelated and blurry because the image cannot add new detail that was not captured originally.
  • Different bitmap formats like .jpg, .png, and .gif compress images in different ways, affecting file size and whether the image loses quality.
  • Bitmap files are larger than vector files for the same image, but they are the only practical choice for photographs and realistic artwork.

How bitmaps differ from vector files

Vector files store images as mathematical formulas — instructions that say "draw a red circle here with this radius." When you enlarge a vector file, the software recalculates those formulas at the new size, so the image stays sharp no matter how large you make it. Logos and simple graphics are often vectors because they consist of clean shapes and solid colors.

Bitmaps work the opposite way. They record the actual color of each pixel. When you enlarge a bitmap, the software cannot invent new detail. It either repeats the pixels it has (making the image look blocky) or tries to guess what the missing pixels should be (making the image look blurry). This is why a small photograph looks terrible when you blow it up to poster size.

For photographs, artwork with gradients, and any image with thousands of colors or fine detail, bitmaps are the only practical choice. Vectors cannot store that kind of complexity. But if you need to resize a logo or simple graphic many times, a vector file is usually better.

Why different bitmap formats exist

All bitmap formats store pixel data, but they compress it differently. .jpg (or .jpeg) uses lossy compression, meaning it throws away some color information to make the file smaller. A .jpg file is much smaller than the original, but if you zoom in, you may see slight color shifts or blurriness around edges. Photos from cameras and phones are almost always .jpg because the file size is small enough to store and share easily.

.png uses lossless compression, which means no information is discarded. A .png file is larger than a .jpg of the same image, but the image quality never degrades. .png also supports transparency — you can make parts of the image see-through. This makes .png useful for graphics, screenshots, and images that need to be placed over other backgrounds.

.gif is an older format that supports only 256 colors and transparency. It is rarely used for photographs, but it can store simple animations (a series of images played in sequence). .bmp is an uncompressed bitmap format that produces very large files and is mostly used for Windows system images. .tiff is a professional format used in printing and photography because it preserves high quality, but the files are very large.

When to use bitmap files in your work

Use bitmaps when you are working with photographs, scanned documents, or any image with many colors and fine detail. If you are editing a photo in Photoshop, GIMP, or Affinity Photo, you are working with a bitmap. If you take a screenshot on your computer, it is saved as a bitmap (usually .png on Mac or .bmp on Windows).

Choose .jpg for photographs you plan to share online or email, because the file size is small and most devices can open it. Choose .png if you need transparency, if the image contains text or sharp edges that need to stay crisp, or if you are saving a screenshot. If you are preparing an image for professional printing, ask your printer whether they want .tiff or another format — they may have specific requirements.

Do not use bitmaps if you need to resize an image dramatically or if you are creating a logo or simple graphic. In those cases, a vector format like .svg or .ai is better. And do not expect to enlarge a bitmap without losing quality — if you need a large version of an image, start with the largest original file you have.

How bitmap resolution affects image quality

Resolution is the number of pixels per inch (ppi) in a bitmap image. A photograph from a modern phone camera is typically 72 ppi on screen or 300 ppi for printing. The higher the resolution, the more pixels are packed into each inch, and the more detail the image can show.

When you reduce the resolution of a bitmap — by shrinking the image or lowering the ppi — you lose pixels and therefore lose detail. When you increase the resolution, the software cannot invent new pixels. It can only guess at what should fill the new space, which usually makes the image look softer or blurrier. This is why it is important to capture or scan images at the resolution you will actually need.

For screen display, 72 ppi is standard. For printing, 300 ppi is the minimum for good quality. If you scan a document or photograph, scan it at 300 ppi or higher so you have enough detail if you need to enlarge it later.

File size and storage considerations

Bitmap files are larger than vector files because they store the color of every pixel. A single uncompressed photograph can easily be 10 to 50 megabytes. Compression reduces this — a .jpg of the same image might be 1 to 5 megabytes — but you lose some quality in the process.

If you are storing many images, the format you choose matters. .jpg files are smaller but lose quality. .png files are larger but preserve quality. .tiff files are the largest but are used mainly by professionals. For everyday use, .jpg is fine for photographs you do not plan to edit further, and .png is better if you might need to edit the image or need transparency.

If you are working with very large images — such as high-resolution scans or professional photography — consider how much storage space you have. A single uncompressed scan of a document can be 100 megabytes or more. Compression helps, but it also reduces quality. This is why photographers often keep both a compressed version for sharing and an uncompressed version for archiving.

Common mistakes when working with bitmaps

The most common mistake is enlarging a bitmap too much and expecting it to stay sharp. If you have a small image and you need a large version, you cannot simply scale it up in your design software. You need to start with a larger original file or accept that the enlarged version will be blurry or pixelated.

Another mistake is saving a bitmap in the wrong format for the job. Saving a photograph as .png instead of .jpg wastes storage space. Saving a graphic that needs transparency as .jpg will not work — .jpg does not support transparency, so the transparent areas become white or another solid color. Always check what format your software recommends for the type of image you are saving.

A third mistake is editing a .jpg file repeatedly and re-saving it each time. Every time you save a .jpg, it applies lossy compression again, which degrades the image a little more. If you need to edit an image multiple times, save your working version as .png or .tiff, and only convert to .jpg when you are done and ready to share.

Frequently Asked Questions

Can I convert a bitmap to a vector?

Software like Adobe Illustrator and Inkscape can trace a bitmap and convert it to a vector, but the result is only as good as the original image. If the bitmap is low resolution or blurry, the vector will be too. This process works best on simple images with solid colors and clear edges, like logos or line drawings.

Why does my photo look pixelated when I zoom in?

Because you are seeing the individual pixels that make up the image. Bitmaps have a fixed number of pixels, so when you zoom in far enough, you see the squares of color. This is normal and does not mean the image is damaged — it just means you are viewing it at a magnification larger than it was designed for.

What is the difference between .jpg and .jpeg?

.jpg and .jpeg are the same format — the names are just different lengths. .jpg is the three-letter abbreviation, and .jpeg is the full name. Either one works, and most software accepts both. Use whichever your software defaults to.

Should I save my edited photos as .png or .jpg?

If you are still editing, save as .png to avoid quality loss from repeated compression. Once you are done editing and ready to share or print, convert to .jpg for sharing online (smaller file size) or .tiff for professional printing. Keep the .png version as a backup in case you need to edit again later.

Can I make a bitmap image transparent?

Only if you save it as .png or .gif. .jpg does not support transparency. If you need to remove the background from a photograph, you must use image editing software like Photoshop or GIMP, and then save the result as .png to preserve the transparency.