Decoding multi-page TIFF 6.0 scans and fax compressions locally
Archival scanners, fax servers, and medical imaging systems routinely output .tif or .tiff files instead of PDFs. Because multi-page TIFF archives pack dozens of frames and specialized fax compressions into one file, converting them reliably requires a full TIFF 6.0 parser rather than a basic single-frame image loader.
Unpacking chained Image File Directories (IFDs) in order
Under the Library of Congress TIFF Revision 6.0 format description, a multi-page TIFF stores each page inside a linked Image File Directory (IFD) containing width, height, resolution, and strip or tile offsets. The converter walks that IFD chain from start to finish so zero pages are skipped.
When you drop multiple TIFF files at once, each file’s frames unpack in sequence and merge into a single continuous PDF. If you ever need to reverse the workflow for long-term raster archiving, you can export PDF pages back into archival TIFFs.
Supporting LZW, Deflate, PackBits, and CCITT Group 3/4
Office copiers and fax gateways favor bitonal CCITT Group 3 (T.4) and Group 4 (T.6) compression because black-and-white text shrinks dramatically without data loss. Color and grayscale scanners typically use LZW, Deflate, PackBits, or uncompressed strips.
Our pure-TypeScript worker decodes all six compression schemes directly in memory without native plugins. Every decoded frame previews immediately with its exact frame count, pixel dimensions, and embedded DPI tag.
How should you choose scan DPI matching vs. A4 or US Letter?
Choose Match scan dimensions & DPI when preserving exact physical ruler dimensions from 200 DPI or 300 DPI scans, and choose Fit onto A4 or Fit onto US Letter when standardizing mixed-size scans for uniform office printing. Selecting the right PDF page size prevents unexpected scaling on physical printers.
| PDF page size option | Dimension calculation | Orientation behavior | Best use case |
|---|---|---|---|
| Match scan dimensions & DPI | (pixels / max(36, dpi)) * 72 pt |
Matches source scan | Archival fidelity and CAD/blueprints |
| Fit onto A4 | Scaled to fit 595.28 x 841.89 pt |
Auto portrait/landscape | International office printing |
| Fit onto US Letter | Scaled to fit 612 x 792 pt |
Auto portrait/landscape | North American office printing |
| Any size + 6 mm or 12 mm | Subtracts margin twice per axis | Centers image inside frame | Hole-punched or bound handouts |
For bitonal fax archives encoded under the Library of Congress TIFF CCITT Group 4 format description, scanners sometimes omit XResolution or YResolution metadata. When DPI tags are absent, the converter defaults to 72 DPI and clamps malformed values below 36 DPI so pages never blow up past viewer limits.
In Fit onto A4 and Fit onto US Letter modes, landscape scans automatically rotate the target sheet to landscape so wide ledger pages are not shrunk onto narrow portrait sheets. If a paper scan fed slightly crooked through the tray, you can straighten crooked scan pages before archiving.
Preserving crisp scan edges with lossless PNG embedding
Scanned text, line drawings, and engineering stamps degrade visibly if re-compressed with lossy JPEG encoding, which introduces blurry halos around high-contrast ink. Keeping every TIFF frame lossless preserves legibility for both human readers and downstream OCR engines.
Avoiding JPEG ringing artifacts on black-and-white text
Once each TIFF frame decodes to raw RGBA pixels, the worker encodes it as a lossless 8-bit PNG using Sub row filtering and zlib level 5 compression per the W3C Portable Network Graphics (PNG) Third Edition specification. Embedding lossless PNG streams inside the PDF keeps crisp pixel boundaries on small 8 pt or 10 pt scanned fonts.
If you also have standalone screenshots or PNG diagrams to bundle alongside your scans, you can combine PNG screenshots into a PDF. Both tools embed lossless raster streams locally with 0 bytes sent over the network.
Adding 0 mm, 6 mm, or 12 mm margins for clean printing
Page margin defaults to 0 mm (edge-to-edge) so scans fill the PDF canvas cleanly without extra borders. Selecting 6 mm or 12 mm converts millimeters to PDF points (mm * 72 / 25.4) and centers the scan inside a uniform white frame for physical printers that cannot print full-bleed.
Why can’t Chrome or Firefox open TIFF files natively?
Desktop Chrome, Edge, and Firefox cannot open .tif or .tiff files natively because they dropped or never included built-in TIFF image codecs in their rendering engines. Decoding TIFF frames inside a local JavaScript Web Worker bridges that browser gap without requiring desktop software or cloud uploads.
Browser image codec gaps and Web Worker decoding
Safari supports basic single-frame TIFF previews on macOS, but Chromium and Gecko browsers prompt users to download .tiff files rather than displaying them. Running the TIFF 6.0 parser inside a background Web Worker keeps the page responsive even when unpacking a 50-frame fax archive.
Tip: After converting scanned TIFF documents to PDF, select Make text searchable (OCR) on the result screen if you need to copy text, search keywords, or split pages by phrase.
Reordering multi-file batches and preparing for OCR
When combining multiple .tif files, use the up and down arrow buttons beside each item to arrange cover sheets and appendices in order before clicking Convert to PDF. If your scanned TIFFs contain financial tables or invoices you want to analyze, you can also extract scanned tables into spreadsheets once converted.