AVIF vs BMP: technical differences
To convert AVIF to BMP, drop your AVIF file into the converter above and download the BMP: an uncompressed bitmap that almost any program can open. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
This is about the widest gap you can cross between two image formats. AVIF is one of the most heavily compressed formats in use; BMP is essentially no compression at all — a short header followed by raw pixel rows, each padded to a multiple of four bytes. Pixohub writes 24-bit BMP, so the file size is fixed by the dimensions: about 3 bytes per pixel, or roughly 6.2 MB for a 1920 × 1080 image, whatever the content.
A 150 KB AVIF can easily become a 20–40 MB BMP. None of that extra size is extra quality; the BMP simply records the decoded pixels verbatim. Because 24-bit BMP has no alpha channel, any transparency in the AVIF is composited onto white, and 10-bit or HDR content is reduced to 8 bits per channel.
Two practical details matter for the programs that still want BMP. First, BMP has no reliable colour management, so the image is written as plain sRGB values — wide-gamut AVIFs will look slightly less saturated, never more. Second, BMP rows are stored bottom-up by convention; that is invisible to you, but it is why naive scripts sometimes show BMPs upside down.
| AVIF (AV1 Image File Format) | BMP (Bitmap Image File) | |
|---|---|---|
| Compression | Lossy or lossless (AV1 intra-frame in a HEIF container) | Usually none (raw pixels); optional RLE for palette images |
| Colour depth | 8, 10 or 12 bits per channel; HDR and wide gamut capable | 1–32 bits per pixel; typically 24-bit RGB |
| Transparency | Full alpha channel | Rarely supported (32-bit variants only) |
| Animation | Yes (image sequences) | None |
| Metadata | EXIF, XMP, ICC / CICP colour signalling | Essentially none beyond resolution |
| Typical file size | Usually the smallest — often half a JPG at similar quality | Very large — width × height × 3 bytes |
| Support | Chrome, Edge, Firefox and Safari 16+; patchy in older desktop software | Universal on Windows; opens almost everywhere |
When to convert AVIF to BMP
Legacy Windows software and industrial tools
Older Windows programs, embroidery and engraving software, some label printers and machine-vision tools only read BMP. AVIF is far too new for them, so a BMP is the bridge.
Microcontroller and embedded displays
Hobby projects on Arduino, ESP32 or similar boards often load images from SD cards with simple BMP readers because decoding AV1 is far beyond their capabilities. Resize to the display's resolution first, then convert.
Raw pixel access in simple scripts
If you are writing a quick program that needs to read pixels without an image library, an uncompressed BMP is easy to parse. (PPM is even simpler — see AVIF to PPM.)
Wallpapers and boot screens on older systems
Some older Windows setups, kiosk shells and BIOS or bootloader splash-screen tools only accept BMP. An AVIF wallpaper you downloaded needs converting — and usually resizing to the exact screen resolution — before those tools will take it.
What converting AVIF to BMP keeps and loses
What you keep
- Every decoded pixel, exactly — BMP adds no compression loss.
- Original dimensions.
- Broad compatibility with Windows tools going back decades.
What you lose
- Transparency: the alpha channel is flattened onto white.
- The small file size — expect growth of 50× or more for photos.
- HDR, 10/12-bit colour and wide-gamut information.
- EXIF/XMP metadata and any animation frames after the first.
Our test: AVIF to BMP on two real files
BMP size depends only on dimensions. Our 1600 × 1200 photo became exactly 5,760,054 bytes (5.8 MB): three bytes per pixel plus a 54-byte header, about 24 times the 241 KB AVIF, with pixels identical to the decoded AVIF. The 28 KB graphic became 1.4 MB, a 52-fold jump, because the smaller and more compressed the source, the more it gains when every pixel is spelled out.
The graphic's transparency was flattened onto white. A trace of difference remains (maxDiff 1, PSNR 59.62 dB) in the pixels that were half-transparent, where the canvas rounds premultiplied colour before the white is blended in; it can't be seen. Each conversion finished in under a second.
Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).
| Test file | AVIF in | BMP out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 241 KB | 5.8 MB (24× larger) | Identical pixels | None in source | None in source | 1.0 s |
| Graphic, 800 × 600, transparent | 28 KB | 1.4 MB (52× larger) | SSIM 1.000 · 59.6 dB | Flattened onto white | None in source | 0.9 s |
Last updated
Apps and sites that work with AVIF and BMP
Programs that read this BMP
Windows Paint, Paint.NET, IrfanView and macOS Preview open 24-bit BMP, as do the embroidery, engraving and LED-sign packages that predate AVIF by decades. Win32's LoadImage call and BITMAP resources in Windows programs also take this plain uncompressed variant, which is the one Pixohub writes.
Getting the AVIF to open at all
If Windows can't show the AVIF, either install the AV1 Video Extension from the Microsoft Store or just open this page in Chrome, Firefox or Edge 121+. You only need one browser that decodes AVIF: Pixohub draws it there and writes the BMP with its own JavaScript encoder, so the BMP side never depends on the browser.
Scripts on older machines
Pillow, OpenCV and most C image libraries read 24-bit BMP with no extra codecs, whereas AVIF needs libavif or, in older Pillow releases, the separate pillow-avif-plugin package. A BMP is a convenient hand-off when a script on a locked-down or older machine can't load AVIF.
Common AVIF to BMP problems and fixes
The image looks slanted on a small display
BMP pads every row to a multiple of four bytes. Hand-written readers on microcontrollers sometimes skip that padding, which shears the picture diagonally whenever width × 3 isn't divisible by four. Our 1600-pixel-wide photo needs no padding, but a 1366-wide image does. Resize to a width that's a multiple of four (320, 480, 800) with the image resizer, or fix the reader.
The picture shows upside down in your own code
Pixohub writes a standard bottom-up BMP: the first row in the file is the bottom of the image, as the format's positive height field says. Code that copies rows straight into a top-down buffer shows it flipped. Read rows in reverse in your loader, or flip the source first with the flip tool if you can't change the code.
The device runs out of memory
Even a modest 1600 × 1200 image is 5.8 MB as BMP, more RAM than many boards and display controllers have. Libraries that buffer the whole file fail silently or show nothing. Resize the AVIF to the screen's exact resolution before converting; a 320 × 240 BMP is about 230 KB.
Tips for better AVIF to BMP results
- Resize before converting when the target is a small screen; a BMP's size is directly proportional to its pixel count. Use the image resizer on the AVIF first.
- If the receiving program also accepts PNG, choose that — it is lossless too but usually a fraction of the BMP's size.
How this converter works
Pixohub decodes your AVIF and encodes the BMP entirely inside your browser. Nothing is uploaded, so the conversion is private by design and as fast as your device.
Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.