When Do You Still Need BMP Files? PNG to BMP, 24-bit vs 32-bit

Why some devices and programs still demand BMP, how 24-bit and 32-bit bitmaps with alpha differ, and how to convert PNG files that load first time.

Updated September 29, 2026 5 min read

Use the free PNG to BMPConvert PNG images to 24-bit BMP or 32-bit BMP with alpha transparency

On the modern web, BMP is almost extinct. Yet many engineers, technicians and hobbyists still need it regularly. A small LCD on a microcontroller board expects a bitmap splash screen. An industrial label printer, a signage controller or an embroidery or engraving program accepts only .bmp. A legacy line-of-business application loads its logo from a bitmap. A game mod or firmware tool specifies "24-bit BMP, no compression".

In those situations, the details matter: the wrong bit depth or header variant and the device shows garbage or nothing at all. This guide explains why BMP survives, how 24-bit and 32-bit bitmaps differ, and how to convert PNG to BMP in a form that loads first time.

Why BMP is still around

BMP's weakness on the web is its strength in constrained systems: there is no compression to undo. The file is a short header followed by raw pixel values. A device with a few kilobytes of code and no image decoding library can read it with simple arithmetic, row by row. Many older Windows programs also read BMP natively because it is the platform's original bitmap format.

How the pixels are laid out

A few quirks explain many compatibility problems:

  • Bottom-up rows. In the most common form, the first row stored in the file is the bottom row of the image. A negative height in the header means top-down, which some simple readers do not handle.
  • Blue-green-red order. Each pixel is stored as B, G, R (and A for 32-bit), not R, G, B.
  • Row padding. Each row is padded to a multiple of 4 bytes. A reader that ignores padding shows a diagonal "sheared" image when the width is not a multiple of 4.

A converter that follows the most widely supported conventions avoids surprises in simple readers.

24-bit or 32-bit?

24-bit BMP 32-bit BMP with alpha
Bytes per pixel 3 4
Transparency No Yes
Compatibility The most widely supported Supported by modern Windows, major editors and browsers; many simple devices ignore alpha
Typical use Devices, legacy software, "just give me a BMP" Graphics that need transparent areas in software that reads BMP alpha

When in doubt, choose 24-bit. It is the format most specifications mean when they say "BMP". Choose 32-bit only when the receiving software explicitly supports alpha in bitmaps.

What happens to transparency in 24-bit

A PNG logo with a transparent background has to be flattened: each semi-transparent pixel is blended with a background colour and the result is stored as a solid colour. Pick the colour the image will be shown against, such as the device's screen background, so the anti-aliased edges look right.

Convert PNG to BMP with our tool

The PNG to BMP converter writes BMP files directly in your browser.

  1. Open PNG to BMP and drop your PNG files onto the upload box, or click to choose them. Batches are fine, up to 50 MB per file.
  2. Choose the BMP colour depth: 24-bit (most compatible, no transparency) or 32-bit with alpha (keeps transparency).
  3. For 24-bit output, set the Background for transparent areas. White is the default.
  4. Click Convert to BMP. Each file shows its original size, the BMP size and the dimensions.
  5. Download each file with its BMP button, or everything with Download all (ZIP).

The 24-bit files use the standard 40-byte header with bottom-up rows and 4-byte row padding, the most widely supported layout. The 32-bit files use an extended header with an explicit alpha mask, which is how Windows and major editors recognise "BMP with transparency".

Expect big files

BMP is uncompressed, so the size is roughly width × height × 3 bytes for 24-bit and × 4 for 32-bit. An 800 × 480 display image is about 1.1 MB at 24-bit. Images over 50 megapixels are refused because they are too large to build in the browser.

Other ways to create BMPs

Paint on Windows

Open the PNG and choose Save as > BMP picture. Paint writes 24-bit bitmaps and fills transparent areas, so this is a quick way to make a standard BMP. You cannot pick the background colour.

GIMP

When exporting as BMP, GIMP's Advanced Options let you choose the exact pixel format, including 16-bit formats (such as R5 G6 B5) that some small displays require, and whether to write colour space information. That level of control is invaluable for embedded work.

Command line

magick splash.png -background white -flatten -type TrueColor BMP3:splash.bmp

The BMP3: prefix asks for the older, simpler header version that many small readers expect, and -flatten removes transparency on the chosen background.

Troubleshooting device and software problems

The device needs a specific size

Embedded screens usually need exact dimensions, such as 320 × 240. Resize first with the Image Resizer so the device does not crop or reject the file.

The image is upside down

The reader probably expects top-down rows. Flip the image vertically with Flip Image before converting, as a quick workaround.

Colours look swapped

Red and blue exchanged means the reader interprets pixels as RGB instead of BGR. That is a reader issue; some tools offer a "swap red and blue" option for such devices.

The device wants 16-bit or 1-bit

Some displays require 16-bit (RGB565) or monochrome bitmaps. Those need a tool with that option, such as GIMP's advanced export or the display vendor's converter.

Going the other way

To make bitmaps web-friendly again, BMP to PNG compresses them losslessly. For photos rather than graphics, see JPG to BMP.

Frequently asked questions

Should I choose 24-bit or 32-bit BMP?

Choose 24-bit unless your software explicitly supports transparency in BMP files. It is the most widely compatible form of the format.

Can a BMP file have a transparent background?

Yes, a 32-bit BMP can store an alpha channel, but many programs and devices ignore it. For reliable transparency, PNG is a better format.

Why is my BMP so much larger than the PNG?

BMP stores every pixel uncompressed, while PNG compresses losslessly. The BMP size is roughly width times height times 3 or 4 bytes.

Does converting PNG to BMP lose quality?

No. Both formats are lossless. Only transparency is affected when you choose 24-bit output, because it must be blended onto a background colour.

Why does my device show a distorted image?

The reader may expect a different header, row order, bit depth or image size. Check the device's specification and match its exact requirements.

Try it now: PNG to BMP

Loading tool…