FormatSwap › Formats › BMP

The BMP format

The uncompressed bitmap from Windows' earliest days. There's no longer any reason to make one.

Full name
Windows Bitmap
Appeared
1987
File extensions
.bmp, .dib
Our verdict
Discontinue it See why

History

Why it was invented

BMP was built to suit Windows rather than to travel. As a 1995 article quoted by the Library of Congress put it, it “was not designed to be portable”, but “to easily work with the Windows API”.[1] It originated in the closely linked early development of Windows and OS/2.[2]

What it was first used for

It was used primarily for system purposes, such as icons, screen grabs and passing images between Windows applications.[1] Its initial release is dated December 1987.[2]

What happened next

Windows 3.0 carried the device-independent form forward in 1990, in the layout still dominant today. Windows 95 and Windows 98 then added longer headers.[2]

Pros and cons

Pros

  • Simple to read: a short header, then the pixels.
  • Instant to decode, requiring no decompression.
  • Every version of Windows understands it.

Cons

  • Enormous: a 12-megapixel photo is about 36 MB.
  • Almost no metadata.
  • Transparency support is inconsistent.
  • PNG does everything it does, for less space.

Use cases

  • Simple software, teaching and embedded displays.
  • Legacy Windows programs.

Pitfalls

  • Sending BMP files by email wastes space for no benefit.
  • Rows are normally stored bottom-up, which trips up home-grown decoders.
  • Exotic header versions may not open everywhere, despite the “simple” reputation.

Should BMP be discontinued?

Discontinue it

Discontinue it. PNG offers lossless quality at a fraction of the size, plus checksums and proper transparency. The only situations favouring BMP are tiny systems without a decompressor, and those can use raw pixel data directly.

A format where every photo takes three bytes per pixel is a waste in a world where this is entirely avoidable.

This verdict is FormatSwap's opinion. “Discontinue” means stop creating new files, not stop reading old ones. How we decide.

BMP files in FormatSwap

Media Converter opens and creates BMP files.

Download Media Converter
Version 1.1 · Windows 10 & 11 (64-bit) · 64 MB · No installation needed

Related formats

Sources

Numbers in the history above link to these pages. They cover the history section only; the pros, cons and verdict are our own assessment.

  1. Bitmap Image File (BMP), Version 5, Library of Congress, Sustainability of Digital Formats
  2. BMP file format, Wikipedia