Sample GIF files
An animated GIF with 12 frames that loops forever and a still GIF with a 64-colour palette. Free, no sign-up. Updated 19 November 2026.
What these files are
An animated GIF with 12 frames that loops forever and a still GIF with a 64-colour palette.
Every file was generated by our own code, so nothing in them is copied from anyone, and we release them under CC0: use them for anything. The facts in the table were read back from each file after it was written, not typed in by hand.
About the format
GIF stores up to 256 colours per frame from a palette, with LZW compression, and supports animation and one transparent colour. Each frame has its own delay in hundredths of a second, and a loop count of 0 means repeat forever. Because of the palette limit, photos look banded as GIF, which is why the still sample uses 64 flat colours.
These files open in every browser and image viewer. A web server should send them with the header Content-Type: image/gif.
2 files to download
| File | Size | What it is |
|---|---|---|
| sample-animated-320x240.gif | 8 KB | 320×240 animation, 12 frames at 100 ms, loops forever width: 320; height: 240; mode: P; format: GIF; frames: 12 |
| sample-640x360.gif | 10 KB | 640×360 still image, 64-colour palette width: 640; height: 360; mode: P; format: GIF; frames: 1 |
MIME type: image/gif. Total 18 KB.
Good for testing
- Animated image support in upload and preview code
- Frame counting and conversion to video
- Palette handling
Check a file
python -c "from PIL import Image; print(Image.open('sample-animated-320x240.gif').n_frames)"Compare the SHA-256 checksum to make sure the download is complete and unchanged (sha256sum file on Linux, shasum -a 256 file on macOS, certutil -hashfile file SHA256 on Windows):
| File | SHA-256 |
|---|---|
| sample-animated-320x240.gif | 8c39b89c6d6a9b51ecf07c5e8ff3825e02b2ecaa73c36b6191e76f3faff5793b |
| sample-640x360.gif | 2d46597edf66419af8ef6b0e0dc0c2185805fbde80889e3c5cd4b7dfb4b31d88 |