Image to TIFF
Convert an image to a TIFF using lossless deflate compression.
Convert an image to a TIFF with lossless deflate compression, the container print and archival workflows expect. The pixels are preserved; only the wrapper changes. The file is sent to the tool server for this conversion and is not stored. TIFF is larger than PNG for photographs but is accepted by scanners and prepress tools that reject PNG.
Upload an image and this page returns a TIFF compressed with deflate, the lossless option Pillow offers, which is the container print workflows, scanners and archival pipelines ask for.
The conversion runs on the tool server. A browser can decode TIFF in some engines but none can encode it, so the upload leaves the tab for this run and is not stored. The source's mode is carried through wherever Pillow can write it.
Deflate is lossless: every pixel keeps the value it had in the decoded source. The file is usually larger than the JPEG or PNG you started with, and that is the point of an archival container rather than a fault.
What the TIFF carries
The picture's width, height and colour values are written unchanged. The compression is deflate rather than JPEG-in-TIFF, so no second lossy step is introduced and a round trip back to PNG returns the same pixels.
Only one page is written. A multi-page TIFF, an animated GIF or a layered source is read as its first frame, so this is a format conversion rather than a page-preserving copy.
- Compression: deflate, which is lossless
- Colour values: kept as decoded, with no resampling
- Pages: one, from the source's first frame
Why the file is bigger
A photograph that arrived as a quality-92 JPEG has already thrown detail away; encoding it as TIFF preserves what remains but cannot restore what was lost. The output being larger than the upload is therefore expected.
The input ceiling is twelve megabytes and the decoded picture ceiling is forty million pixels. A refusal names the measured number, so a very large scan is told its real size rather than failing silently.
How to use the upload
Upload the image in the Upload your file step and press Run. The tool server carries the width, height and colour values through and writes a TIFF compressed with deflate, the lossless option print workflows and archival pipelines ask for, so a round trip back to PNG returns the same pixels.
Only one page is written: a multi-page TIFF or an animation arrives as its first frame. The file is usually larger than the upload because deflate preserves rather than restores, and the input is capped at twelve megabytes and forty million decoded pixels.
What to Expect
Best for
- Producing a lossless container for print or archival handoff
- Converting a PNG to a format a scanning or publishing pipeline accepts
- Keeping a screenshot's pixels exactly as decoded
Not ideal for
- Web delivery, where TIFF is unsupported by browsers
- Preserving several pages or layers
- Recovering detail a lossy source already discarded
What this tool keeps
- Every decoded pixel value, because deflate is lossless
- The source dimensions, with no resampling
- A summary naming the source format and both byte counts
What may need cleanup
- A file much larger than the upload
- The first page only, when the source held several
- A source mode Pillow converts to write the container
Common errors
- Expecting the TIFF to be smaller than the JPEG it came from
- Assuming a multi-page scan survives as multiple pages
- Treating a large output as a failed conversion
Example use cases
- Preparing an image for a print shop
- Archiving a screenshot without a second lossy encode
- Converting a PNG for a scanner's import pipeline
Sample input
Upload a 2400 by 3000 PNG of a scanned page.
Sample output
A 2400 by 3000 TIFF compressed with deflate and reported with its exact byte count.
Who this is for
- Print and prepress staff
- Archivists who need a lossless container
- Developers preparing image fixtures for a pipeline
Frequently asked questions
What kind of TIFF does this page write?
A TIFF compressed with deflate, the lossless option, at the source dimensions with no resampling.
Why is the TIFF larger than the upload?
Deflate keeps every decoded pixel, so the file can be much larger than a lossy source.
Can browsers display the result?
Not generally. TIFF is aimed at print, scanning and archival pipelines, not web delivery.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.