JPEGValid
Basic JPEG image
A small synthetic JPEG image.
basic.jpg · 1.1 KB · image/jpeg
Test: Test handling of basic jpeg image.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 8e69dce706f86c398641d219b95310ea764e020e8b0b584da196f73ee941bc4d
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
PNGValid
Basic PNG image
A small synthetic PNG image.
basic.png · 243 B · image/png
Test: Test handling of basic png image.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 99275e7a9a2d4f13bf6d3312be6a75c13d6d4750ba483828c3b6c060857faabd
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
GIFValid
Basic GIF image
A small synthetic GIF image.
basic.gif · 239 B · image/gif
Test: Test handling of basic gif image.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 9f5bfc9cb282ee2be8d45ed9f7dbac2de9d5c2005ede460e72bd58d25f646df6
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
WEBPValid
Basic WEBP image
A small synthetic WEBP image.
basic.webp · 276 B · image/webp
Test: Test handling of basic webp image.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: 223cba3ae2206f283ddc8d7e03b428e5d8b631cb2f750626d8f92f847fe765a8
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
PNGValid
Transparent PNG
PNG with a partially transparent alpha channel.
transparent.png · 263 B · image/png
Test: Check alpha-channel handling.
Expected: A compatible image reader should preserve partial transparency.
Checksum and details
SHA-256: ec43c1cdcffdda40fda174a37ef7b8c15dfe645d80171aceb5f9f26fb937a42c
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
PNGEdge case
One-pixel PNG
A valid 1 by 1 pixel PNG.
one-pixel.png · 69 B · image/png
Test: Check minimum image dimensions.
Expected: A compatible image reader should report one by one pixel.
Checksum and details
SHA-256: 9d0b9c50d62ebe7cb4fb44ebeca1dfda0cd8c460bbf3a97db2dae946a26130c8
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
PNGEdge case
Large-dimension PNG
A small compressed file with 3000 by 2000 pixel dimensions.
large-dimensions.png · 21.7 KB · image/png
Test: Check pixel-dimension limits separately from file size.
Expected: A compatible image reader should report 3000 by 2000 pixels; application limits may reject it.
Checksum and details
SHA-256: f88702e86a5a470876b81c80f0ecaebcaa0aca7f3eec2a848df0c10576450526
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
SVGValid
Simple SVG
A small vector image with a rectangle and circle.
shapes.svg · 164 B · image/svg+xml
Test: Test handling of simple svg.
Expected: The file should parse or open in a compatible application.
Checksum and details
SHA-256: a2986582a0ec0fb3137e3e9e315cf9269dac676b3ecc110f9edc63838ccb4ba0
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
PNGIntentionally invalid
Invalid PNG
Text bytes with a .png filename and no PNG signature.
broken.png · 10 B · text/plain
Test: Test handling of invalid png.
Expected: An image decoder should reject the file.
Checksum and details
SHA-256: 91a3072fe20c0552bfa0c3c90362af3d455a5fd4b9ec5c0c3035ade2b2258d70
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
JPEGEdge case
JPEG with PNG extension
Valid JPEG bytes saved with a .png filename.
jpeg-with-png-extension.png · 1.1 KB · image/jpeg
Test: Test handling of jpeg with png extension.
Expected: Content sniffing identifies JPEG despite the .png filename.
Checksum and details
SHA-256: 8e69dce706f86c398641d219b95310ea764e020e8b0b584da196f73ee941bc4d
Content type is an intended or detected type; HTTP headers can differ for extension-mismatch samples.
No samples match. Try another search or category.
Testing image files
Check both successful handling and clear error messages. Expected results are starting points: your application may have stricter rules for size, encryption, or supported formats.
Related: Image tools.