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 | |
|---|---|---|
| Stores | Pixels in a grid | Paths, curves and fills |
| Scaling up | Becomes blurry or blocky | Stays sharp |
| Best for | Photos, painting, scans | Logos, icons, diagrams, cut files |
| Formats | BMP, PNG, JPEG, GIF, TIFF, WebP | SVG, 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.