1. BITMAPFILEHEADER & INFOHEADER Parse
The 14-byte file header and 40+ byte info header are read first. The bfType magic ('BM'), bfSize, biWidth, biHeight, biBitCount, and biCompression fields drive every downstream decision in the decoder.
Convert BMP bitmap images into clean PDF documents online for free. Combine uncompressed bitmaps into A4 or Letter pages locally with zero uploads.
Convert BMP into PDFs in 3 simple steps.
Drag and drop your .bmp files into the secure workspace. Your files remain completely inside your browser memory.
Review your uploaded images. You can add more files, clear all items, or reorder pages as needed before processing.
Click 'Convert BMP to PDF' and download your freshly compiled high-resolution document instantly.
The Windows Device-Independent Bitmap (BMP) format was introduced by Microsoft to store uncompressed, pixel-by-pixel color maps. While BMP guarantees loss-free image data, its lack of efficient compression yields excessively bloated file sizes that strain email attachments, web transfers, and storage systems.
Converting raw BMP graphics into the ISO 32000-2 PDF standard compresses bitmap arrays using lossless Flate (ZIP) encoding without forfeiting a single pixel of graphical fidelity. Furthermore, PDF enables combining multiple separate scan pages or architectural bitmaps into a sequenced, printable multi-page dossier. For other raster and vector conversion workflows, explore our PNG to PDF, JPG to PDF, and TIFF to PDF tools.
Your files never leave your machine. The conversion process runs exclusively in your browser memory via highly optimized client-side code.
Preserves quality and styling perfectly to deliver highly professional PDF documents.
No page limits, no watermarks, no registration required. Convert multiple files simultaneously in a flash.
| Feature & Metric | Windows BMP Bitmap | Standardized PDF | PDF Output Advantage |
|---|---|---|---|
| Data Compression | Uncompressed raw RGB pixel array (huge file size) | Lossless FlateDecode / Deflate stream compression | 60% to 90% file size reduction |
| Cross-Platform Support | Windows native format; limited support on mobile/web | Universal ISO 32000-2 rendering on all systems | Zero viewer compatibility issues |
| Multi-Page Bundling | Single image per file; no multi-page capability | Sequenced multi-page pagination and bookbinding | Consolidates multiple scans into one file |
| Print Dimensionality | Fixed pixel grid without physical sheet dimensions | Standardized A4, Letter, and exact margin boundaries | Predictable physical printing without clipping |
| Security & Tamper Protection | No cryptographic protection or password locking | AES-256 encryption, password control & signatures | Enterprise security and compliance ready |
Bit depth and RLE compression stay intact — bitmap data never leaves the browser.
Drag and drop .bmp files from legacy scanners or screen captures. Your bitmaps stay in browser memory only.
Review detected bit depth (1/4/8/24/32), confirm page order, add more files, or clear the batch before export.
Click Convert and download a print-ready PDF with the original pixel dimensions preserved per page.
How Utilvo's in-browser BMP-to-PDF pipeline compares to cloud converters that lose 32-bit alpha, break on palette-indexed bitmaps, and drop RLE-compressed scans.
| Pipeline Capability | Utilvo In-Browser | Cloud BMP Converters |
|---|---|---|
| Bit Depth Coverage | 1, 4, 8, 16, 24, 32-bit decoded, palette expansion per color table | 24-bit only, indexed and 32-bit bitmaps rejected or shown as black squares |
| RLE4 & RLE8 Compression | Stateful RLE decoder, expands run-length and absolute mode segments | No RLE support, RLE-compressed BMPs display as corrupt output |
| Alpha Channel Preservation | 32-bit BGRA decoded, alpha embedded as PDF SMask XObject | Alpha channel dropped, transparent regions become solid black |
| Scan Order Handling | Detects top-down vs bottom-up via biHeight sign, flips rows during decode | Assumes bottom-up only, top-down BMPs render upside down |
| Screenshot Confidentiality | Browser-only, no upload, no log retention, no CDN cache | Mandatory upload, files retained for analytics, CDN cached |
Four engineering articles walking through the entire BMP to PDF pipeline — from header parse to alpha channel and scan order.
The 14-byte file header and 40+ byte info header are read first. The bfType magic ('BM'), bfSize, biWidth, biHeight, biBitCount, and biCompression fields drive every downstream decision in the decoder.
For 1, 4, and 8-bit BMPs, the color table is read next. Indexed pixels are unpacked (1-bit pairs, 4-bit nibbles, or 8-bit bytes) and looked up in the table to produce full RGBA values. 16/24/32-bit BMPs skip the table and decode pixels directly.
RLE-compressed BMPs run-length and absolute-mode segments are decoded by a stateful scanner. The output is a flat pixel buffer that matches the uncompressed layout, so the rest of the pipeline never sees the difference.
The decoded RGBA buffer is encoded to a PDF image XObject. If alpha is present, the alpha channel becomes a separate SMask XObject and the page catalog links the two. The final PDF page renders the bitmap with correct transparency.
A side-by-side map of every BMP variant Utilvo's decoder handles, plus how each one is rendered into the final PDF page.
The most common BMP variant. Each pixel is 3 bytes in BGR order. Utilvo swaps to RGB during decode and emits a full-color PDF image. Color profile metadata is preserved if present in BITMAPV5HEADER.
Each pixel is 4 bytes BGRA. Utilvo splits the alpha channel into a separate grayscale buffer and emits it as a PDF SMask. The image XObject references the SMask, so PDF readers composite the alpha correctly over the page background.
Indexed bitmaps read a color table of 2, 16, or 256 entries (each 4 bytes BGRA). 1-bit pixels are unpacked as bit pairs, 4-bit as nibbles, 8-bit as full bytes. The output is a full-color image after palette expansion.
RLE-compressed bitmaps use run-length encoded and absolute mode segments. Utilvo decodes both modes in a stateful pass, handling end-of-line, end-of-bitmap, and delta escape codes. The result is the same flat pixel buffer as an uncompressed BMP.
How the legacy Windows bitmap format compares against modern raster and vector containers for image storage.
| Capability | BMP | JPG | PNG | WebP | HEIC | TIFF | SVG | |
|---|---|---|---|---|---|---|---|---|
| Compression | Uncompressed (RLE opt) | Lossy (DCT) | Lossless (DEFLATE) | Lossy + Lossless | Lossy (HEVC) | Lossless (LZW/ZIP) | Vector / XML | Object stream |
| File Size (1920×1080) | ~5.9 MB | ~200–500 KB | ~2–5 MB | ~100–300 KB | ~150–400 KB | ~5–20 MB | ~10–100 KB | ~300–800 KB |
| Color Depth | 1, 4, 8, 16, 24, 32-bit | 8-bit | 8/16-bit | 8-bit | 8/10/12-bit | Up to 32-bit | Vector | Up to 32-bit |
| Transparency | No (32-bit alpha rare) | No | Yes (alpha) | Yes | Yes | Yes | Yes (per-region) | Yes (SMask) |
| Best For | Legacy Windows, raw | Photos, web | Screenshots, UI | Web images | iPhone photos | Print masters | Logos, diagrams | Documents, archive |
In-depth answers on BITMAPINFOHEADER parsing, bit depth handling (1, 4, 8, 24, 32), RLE4 and RLE8 decompression, palette expansion, top-down vs bottom-up scan order, alpha channel preservation, and the privacy model Utilvo uses so your bitmap files never leave the device.
All common Windows and OS/2 BMP variants are supported. Utilvo parses BITMAPFILEHEADER, BITMAPINFOHEADER, BITMAPV4HEADER, and BITMAPV5HEADER. Bit depths 1, 4, 8, 16, 24, and 32 are all decoded. RLE4 and RLE8 compression are decompressed to a flat pixel buffer.
Indexed bitmaps are looked up in their color table during decode. The color table is read from the file header and applied per pixel. The result is a full RGBA buffer that is then rendered into the PDF page with correct colors.
Yes. Utilvo extracts the alpha channel from the BGRA pixel layout, builds an 8-bit grayscale soft mask, and embeds it in the PDF as an SMask XObject. The PDF page shows the bitmap with proper transparency over any background.
Yes. Drag and drop every .bmp you want, reorder the cards, and click convert. Each file becomes a page in the final PDF, with the bitmap at the requested page size and the file name as a small footer caption.
Both. The biHeight sign in BITMAPINFOHEADER is read: a positive value means bottom-up (rows are stored bottom to top), a negative value means top-down. Utilvo flips the row order during decode so the PDF page is right-side up.
Large BMPs are decoded in a streaming fashion, one row at a time, then composited onto a canvas. Memory usage stays bounded. The final bitmap is embedded in the PDF as a single image XObject with DCT compression to keep the file size reasonable.
Yes. The whole pipeline runs inside the browser sandbox using client-side JavaScript. Your BMP files are never uploaded to a remote server, never logged, and never cached on a CDN. Source files stay on your device.
A4, US Letter, A3, Legal, and Tabloid. Auto-fit sizes the page to the bitmap at 1:1 with 1-inch margins. Custom dimensions in millimeters or inches are also accepted. Landscape and portrait are both available.
Bitmaps are embedded as image XObjects, so the pixels are not text. Run OCR on the resulting PDF if you need a searchable text layer — the OCR pass detects glyphs and adds a real text layer on top of the bitmap.
The BITMAPV4HEADER or V5 bitfield masks are read to determine the R, G, B, and A channel positions. Utilvo masks and shifts each channel into an 8-bit value, then composites to RGBA. Rare in practice but fully supported.
Yes. Utilvo exposes a per-file panel with 90-degree rotation, page-fit vs source-size sizing, and drag-to-reorder for the page sequence. The transformations are applied during decode so the PDF page reflects your final intent.
Chain BMP-to-PDF conversion with merge, compression, OCR, and organization workflows to ship a complete bitmap pipeline.
Convert JPG photos alongside BMP screenshots into a single unified multi-page PDF.
Convert lossless PNG screenshots with true alpha channel preservation via the same PDF SMask pipeline.
Convert multi-page TIFF scans with the IFD chain walker into a printable document stack.
Bundle the BMP-exported PDF with design assets, spreadsheets, and email threads into one deliverable.
Shrink the BMP-based PDF — already optimized with DCT compression — for email-friendly delivery.
Run OCR to add a layered text layer to the bitmap pages so they become searchable PDFs.
Reorder, rotate, and delete individual bitmap pages after conversion so the PDF reads in your intended order.
Convert the bitmap PDF into an editable DOCX with OCR-derived text and shape fidelity.
Recover broken image XObjects, missing SMask references, or corrupt color tables in bitmap PDFs.