THE VECTOR FIELD GUIDE

What is a bitmap image?

A bitmap is an image made of a grid of pixels. Learn how bitmaps differ from vectors, what the BMP format is, and when to convert.

By Shahab Uddin · Updated

The short answer

A bitmap is an image stored as a grid of pixels, where each pixel has its own color value. Photos, screenshots and scans are bitmaps. The word also names the Windows BMP file format. Bitmaps lose sharpness when enlarged, unlike vector images, which store shapes as mathematical paths.

Bitmap versus vector

Bitmap (raster)Vector
StoresPixels in a gridPaths, curves and fills
Scaling upBecomes blurry or blockyStays sharp
Best forPhotos, painting, scansLogos, icons, diagrams, cut files
FormatsBMP, PNG, JPEG, GIF, TIFF, WebPSVG, EPS, PDF, AI, DXF

The BMP file format

BMP, also called DIB, is Microsoft’s bitmap format. It usually stores pixels uncompressed, at 1, 4, 8, 24 or 32 bits per pixel. That makes BMP simple to read but large: a 1920 × 1080 24-bit BMP is about 6 MB. PNG stores the same pixels losslessly in far less space.

Resolution and bit depth

  • Resolution is the pixel count, such as 3000 × 2000. More pixels allow larger prints.
  • Bit depth is how many colors each pixel can have: 8 bits gives 256 colors, 24 bits about 16.7 million.
  • DPI is print metadata; it does not add pixels.

Turning a bitmap into a vector

Vectorizing, or tracing, groups similar pixels into regions and fits curves around them. Inkscape calls this Trace Bitmap; Illustrator calls it Image Trace. It works well for logos and line art and poorly for detailed photos.

Sources

Written by Shahab Uddin. Published ; updated . Corrections are welcome through the contact page.

A few useful answers

Before you hit download

Is PNG a bitmap?

Yes. PNG, JPEG, GIF and BMP are all bitmap (raster) formats.

Should I use BMP today?

Rarely. Use PNG for lossless images unless a program specifically requires BMP.

How do I convert BMP to PNG?

Use the BMP to PNG converter. The image stays identical and the file becomes much smaller.

Next, make it useful.