TIFF
Short answer
Browsers can't show TIFF files, so upload the TIFF to Sirv and request it with a size, for example example.tif?w=800. Sirv converts it on the fly to the best web format (usually WebP, or JPEG or PNG) and keeps your original TIFF unchanged. Add ?page=2 to show another layer, or ?format=original&dl to download the TIFF itself.
After reading this you will know
- How to show a TIFF on a web page
- How to choose a layer of a multi-layer TIFF
- How to download the original TIFF
Sirv can serve TIFF files on the web by converting them on the fly to a browser-friendly format. Upload the TIFF as your high-quality source file, then request the size you need.
Sirv serves it in the most optimal web format (normally WebP). Try it in the demo below.
TIFF is a raster graphic format used for print, archiving, scans and source artwork.
It keeps very high image quality, layers and metadata, but the files are often huge and web browsers don’t display TIFF images at all.
That makes TIFF a good source format but a poor delivery format. With Sirv, visitors receive WebP, JPEG or PNG while your original TIFF stays in your account.
Serve a resized TIFF like this. The demo file has 3 layers, so its URL also picks the first layer with page=1:
https://demo.sirv.com/example.tif
Force a specific web format if you need one:
https://demo.sirv.com/example.tif
For most websites, keep Sirv’s default optimal format, which picks the best supported format for each browser. See format and quality for every format option.
Multi-layered TIFFs
Section titled “Multi-layered TIFFs”If your TIFF file has multiple layers, you can specify which layer to display. Use the page parameter in the URL, like so:
https://demo.sirv.com/example.tif
If your TIFF returns an error that the page isn’t redirecting properly, it is because it is a multi-layer TIFF that hasn’t been identified as such.
To solve the issue, specify ?page=1 in the URL:
https://demo.sirv.com/example.tif
How should I serve TIFFs on my website?
Section titled “How should I serve TIFFs on my website?”- Set a width or height in the URL, so visitors don’t download an unnecessarily large image.
- Keep the default optimal format for normal web delivery.
- Use
format=pngonly when you need lossless output or transparency. - Use
format=jpgwhen you need a JPEG for older workflows. - Keep the original TIFF as the master, rather than exporting new compressed copies.
- To upload many TIFFs, use the REST API, S3 or FTP. See ways to upload files to Sirv.
Download TIFF
Section titled “Download TIFF”To download the original TIFF instead of a converted web image, set the format to original and use the dl parameter, like so:
https://demo.sirv.com/example.tif
