# Sample TIFF image for testing, free and CC0

5 TIFF test files from 25.1 KB to 2.8 MB: 16-bit big-endian, LZW, 3 pages, CMYK, uncompressed RGB. Direct URLs, SHA-256 per file, CC0.

The page: <https://loremfile.dev/tiff>.

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

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`tiff/rgb-640x480.tiff`](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.

## Files

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`tiff/16bit-gray-big-endian-640x480.tiff`](https://loremfile.dev/tiff/16bit-gray-big-endian-640x480.tiff) | 614.5 KB (614,522 bytes) | `image/tiff` | 640x480, I;16B |
| [`tiff/cmyk-640x480.tiff`](https://loremfile.dev/tiff/cmyk-640x480.tiff) | 1.2 MB (1,228,942 bytes) | `image/tiff` | 640x480, CMYK |
| [`tiff/lzw-640x480.tiff`](https://loremfile.dev/tiff/lzw-640x480.tiff) | 25.1 KB (25,108 bytes) | `image/tiff` | 640x480, RGB |
| [`tiff/multipage-3pages.tiff`](https://loremfile.dev/tiff/multipage-3pages.tiff) | 2.8 MB (2,765,232 bytes) | `image/tiff` | 640x480, RGB |
| [`tiff/rgb-640x480.tiff`](https://loremfile.dev/tiff/rgb-640x480.tiff) | 921.7 KB (921,740 bytes) | `image/tiff` | 640x480, RGB |

The same list as JSON: <https://loremfile.dev/tiff/index.json>.
