What is BMP?

Learn what BMP is, how bitmap image files work, and when to use them. Understand BMP file structure, compression options, and why it remains useful today.

The BMP image format explained: how it works, its specs, and when to use it.

BMP

What is BMP?

1988 Year CreatedUncompressed CompressionWindows System Primary Use

BMP (Bitmap) is an uncompressed raster image format developed by Microsoft that stores each pixel's color data directly, resulting in large files but perfect quality with no compression artifacts.

Understanding BMP helps you choose the right format for your specific needs and workflow.

How BMP Works

BMP (Bitmap) is Microsoft's original Windows image format, and it is about as simple as a raster image can get. A BMP file begins with a small file header marked by the ASCII signature "BM", followed by an information header describing the image's width, height, bit depth, and (rarely used) compression, and then the raw pixel array itself. In the most common form, every pixel is stored directly, in full, with no compression at all.

That uncompressed storage is BMP's whole story. Because it keeps every pixel as-is, BMP is lossless, the image never degrades, but the files are very large, often many times the size of the same picture as PNG or JPG. There is no clever encoding saving space; a BMP is essentially a direct memory dump of the image, which makes it trivially simple for software to read and write but wasteful to store or transmit.

A couple of technical quirks are worth knowing. BMP pixel rows are conventionally stored bottom-to-top rather than top-to-bottom, a legacy of early Windows graphics. Rows are also padded to 4-byte boundaries. These details matter only to programmers writing BMP code; to a user, a BMP is just a plain, heavy, perfectly preserved image.

Why BMP Is Rarely Used Today

BMP has been almost entirely superseded for everyday use, and the reason is straightforward: PNG does everything BMP does, losslessly, in a far smaller file, and adds transparency support that classic BMP lacks. For any situation where you want a lossless image, PNG is the better choice, so BMP's main historical advantage (perfect quality) is matched by formats that are also compact and web-friendly.

You still encounter BMP in a few places: as a temporary or intermediate format inside older Windows software, in some legacy or embedded systems where simplicity of decoding matters more than file size, and occasionally as the output of basic screenshot or scanning tools on Windows. In those niches its dead-simple structure is an asset. Everywhere else, it has been replaced.

When (and When Not) to Use BMP

Use BMP only when something specifically requires it, an old application that reads nothing else, an embedded system with a minimal image decoder, or a workflow where a guaranteed-uncompressed, trivially-parsed file is needed. In every other case, prefer PNG for lossless images (it is smaller and supports transparency) or JPG/WebP for photographs (far smaller still). If you have BMP files taking up space, converting them to PNG preserves the exact image quality while dramatically reducing their size.

Limitations

BMP's limitations are simply the cost of its simplicity: huge file sizes from the lack of compression, no transparency in the classic format, no animation, weak metadata support, and no web browser support in practice, so BMP cannot be used directly online. Its one virtue, an extremely simple structure that any program can read, is rarely worth those trade-offs now that compact lossless formats are universal.

BMP vs Other Image Formats

FeatureBMPPNGJPGTIFF
CompressionUsually none[1]LosslessLossyOptional
File sizeVery largeModerateSmallLarge
TransparencyLimited[3]YesNoYes
Color depthUp to 32-bit[2]Up to 48-bit24-bitUp to 64-bit
Best forRaw bitmapsWeb graphicsPhotosPrint & archival
OriginMicrosoft[1]PNG GroupJPEGAdobe

BMP guarantees uncompressed pixel-perfect storage but at far larger file sizes than the compressed alternatives.

Advantages & Disadvantages

Advantages

Perfect Quality, No compression means no quality loss - every pixel is stored exactly as captured.

Simple Structure, BMP has a straightforward, well-documented structure making it easy to read and write programmatically.

Windows Native, Works out-of-the-box on all Windows versions without any additional codecs or software.

Fast Processing, Uncompressed data can be read directly into memory without decompression overhead.

Disadvantages

Enormous File Sizes, A 1920x1080 BMP at 24-bit is over 6MB compared to under 1MB for equivalent JPG.

No Web Use, Browsers technically support BMP but it is never used on the web due to its size.

Poor Metadata Support, BMP has very limited support for metadata like EXIF, GPS, or color profiles.

Outdated Format, PNG and TIFF provide lossless quality with far better compression and feature sets.

BMP Technical Specifications

Developer
Microsoft[1]
File Extension
.bmp[1]
Compression
None (optional RLE)[1]
Color Depth
1 to 32-bit[1]
Transparency
Limited (32-bit only)[1]
Max Resolution
No hard limit[1]
OS Support
Windows native[1]
MIME Type
image/bmp[1]

Common Use Cases

Here are the most common scenarios where BMP is the right choice:

Windows System Graphics

Used internally by Windows for icons, cursors, and system interface elements.

Image Processing Pipelines

Intermediate format in processing workflows where speed matters more than file size.

Legacy Software

Older applications that predate modern formats often require BMP input or output.

Simple Painting Tools

Microsoft Paint and similar basic tools use BMP as their default format.

References

  1. BMP File Format - Library of Congress
  2. Bitmap Storage - Microsoft Learn
  3. BMP file format - Wikipedia

How to open a BMP file

BMP files, known for their simplicity and lossless quality, can be handled by a variety of software tools that cater to different user needs. Professional-grade software offers advanced editing features, while free and open-source options provide basic functionality for casual users. Browser-based tools allow for quick access without installation, and built-in applications on operating systems provide convenient viewing and minor editing capabilities.

When choosing software for BMP, important factors include the fidelity of image handling, whether the focus is on editing or viewing, and the cost model of the software. Users should consider platform compatibility, the need for exporting to other formats, and whether converting BMP to a different format might be more beneficial for their workflow.

Adobe Photoshop 2024

Windows, macOSSubscription

Adobe Photoshop is a leading image editing software that provides extensive capabilities for working with BMP files. It allows users to view, edit, and manipulate BMP images with high fidelity, supporting various advanced features.

Key features
  • Full layer and mask editing
  • Advanced color correction tools
  • Support for 16-bit and 32-bit color
  • Extensive filter and effect options
  • Batch processing capabilities
Strengths
  • Industry-standard editing tools
  • High fidelity for professional use
  • Comprehensive format support
Limitations
  • Subscription model can be costly
  • Steep learning curve for beginners

Exports to: PNG, JPG, TIFF, PDF, GIF

Best for: Choose Adobe Photoshop for professional-grade BMP editing and extensive feature support.

Visit Adobe Photoshop →

GIMP 2.10.34

Windows, macOS, LinuxFree (GPL)

GIMP is a powerful open-source image editor that supports BMP files, providing users with a range of editing tools. It maintains high fidelity in image handling and is suitable for both casual and advanced users.

Key features
  • Customizable interface and tools
  • Advanced selection and masking tools
  • Support for layers and channels
  • Extensive plugin support
  • Image manipulation and retouching
Strengths
  • Completely free and open-source
  • Robust community support
  • Cross-platform compatibility
Limitations
  • Interface can be overwhelming
  • Performance may lag on large files

Exports to: PNG, JPG, TIFF, PDF, GIF

Best for: GIMP is ideal for users seeking a free, versatile BMP editor with extensive capabilities.

Visit GIMP →

IrfanView 4.60

WindowsFree / Paid

IrfanView is a lightweight image viewer and editor that supports BMP files, making it easy to view and perform basic edits. It is known for its speed and simplicity, catering to users who need quick access to BMP images.

Key features
  • Batch conversion and renaming
  • Basic editing tools like crop and resize
  • Slideshow creation capabilities
  • Support for plugins to extend functionality
  • Image format conversion
Strengths
  • Extremely fast and lightweight
  • User-friendly interface
  • Batch processing for efficiency
Limitations
  • Limited advanced editing features
  • Windows-only platform

Exports to: PNG, JPG, TIFF, GIF, PDF

Best for: IrfanView is perfect for users needing a fast, simple BMP viewer and basic editor.

Visit IrfanView →

Paint.NET 5.0

WindowsFree (donation-based)

Paint.NET is a free image and photo editing software that supports BMP files, designed for ease of use while offering a range of editing tools. It strikes a balance between simplicity and functionality for casual users.

Key features
  • Layer support with blending modes
  • Basic effects and filters
  • Undo history for easy corrections
  • Simple user interface
  • Support for plugins to enhance features
Strengths
  • Intuitive and easy to use
  • Good balance of features for casual editing
  • Active community for support
Limitations
  • Limited advanced features compared to Photoshop
  • Windows-only availability

Exports to: PNG, JPG, TIFF, GIF, BMP

Best for: Paint.NET is suitable for users looking for a free, user-friendly BMP editor with essential features.

Visit Paint.NET →