Sample TIFF image for testing, free and CC0

This is a sample TIFF file: an uncompressed RGB test card, free to hotlink or download.

https://loremfile.dev/tiff/rgb-640x480.tiff · 921.7 KB (921,740 bytes) · image/tiff · 640x480 · RGB

tiff/16bit-gray-big-endian-640x480.tiff begins with MM, so every multi-byte value in it, from the tag offsets to its 16-bit samples, is big-endian, and a reader that assumes little-endian fails to open it or reads its samples byte-swapped. tiff/rgb-640x480.tiff begins with II, the little-endian order, so a reader that assumes big-endian fails on it, and it is also the baseline every reader must handle: 8-bit RGB, uncompressed, in a single strip.

tiff/lzw-640x480.tiff, tiff/cmyk-640x480.tiff and tiff/multipage-3pages.tiff are little-endian like the baseline, so none of them shows a byte-order bug, which only tiff/16bit-gray-big-endian-640x480.tiff does. tiff/lzw-640x480.tiff is 640x480 RGB too, compressed with LZW and cut into many strips, so a decoder built without LZW, or a reader that expects one strip, fails on it and not on the baseline.

tiff/multipage-3pages.tiff chains 3 images, each 640x480 RGB and uncompressed, so a reader that stops after the first image shows one page of 3. tiff/cmyk-640x480.tiff stores cyan, magenta, yellow and black at 8 bits each, so an RGB-only converter or thumbnailer drops a channel or reads the colours wrong.

5 files. The same list as JSON: https://loremfile.dev/tiff/index.json

TIFF files
FileSizePropertiesDescription
16bit-gray-big-endian-640x480.tiff 614.5 KB (614,522 bytes) 640x480 The test card as 16-bit grayscale in big-endian (Motorola) byte order, for readers that assume little-endian files or 8-bit samples.
Snippets
<img src="https://loremfile.dev/tiff/16bit-gray-big-endian-640x480.tiff" alt="">
curl -O https://loremfile.dev/tiff/16bit-gray-big-endian-640x480.tiff
cmyk-640x480.tiff 1.2 MB (1,228,942 bytes) 640x480 The test card as an uncompressed CMYK TIFF, the print colour space that RGB-only converters and thumbnailers mishandle.
Snippets
<img src="https://loremfile.dev/tiff/cmyk-640x480.tiff" alt="">
curl -O https://loremfile.dev/tiff/cmyk-640x480.tiff
lzw-640x480.tiff 25.1 KB (25,108 bytes) 640x480 The colour-bar test card as an LZW-compressed RGB TIFF, the compression scanners and image editors most often write.
Snippets
<img src="https://loremfile.dev/tiff/lzw-640x480.tiff" alt="">
curl -O https://loremfile.dev/tiff/lzw-640x480.tiff
multipage-3pages.tiff 2.8 MB (2,765,232 bytes) 640x480, 3 frames Three uncompressed RGB test-card pages in one TIFF, labelled page 1 of 3 to page 3 of 3, so a reader that shows only the first page is visibly wrong.
Snippets
<img src="https://loremfile.dev/tiff/multipage-3pages.tiff" alt="">
curl -O https://loremfile.dev/tiff/multipage-3pages.tiff
rgb-640x480.tiff 921.7 KB (921,740 bytes) 640x480 A colour-bar test card with a border, centre cross and a label giving the dimensions and mode, uncompressed RGB TIFF.
Snippets
<img src="https://loremfile.dev/tiff/rgb-640x480.tiff" alt="">
curl -O https://loremfile.dev/tiff/rgb-640x480.tiff

Every TIFF file in one command, each checked against its hash: npx loremfile get --format tiff, or loremfile get --format tiff after pip install loremfile.

File names follow the naming grammar. Verify a download against sha256sums.txt.