Sample .png (PNG) Test Files & Edge Cases
Deterministic Portable Network Graphics (PNG) fixtures engineered for automated unit tests, parser fuzzing, and upload validation pipelines. Pull directly in GitHub Actions with immutable SHA-256 verification.
minimal-2x2-rgba.png
Real 8-bit RGBA PNG encoded by Pillow with valid CRC32 checksums on every chunk.
curl -fsSL https://fileformat.co/fixtures/v1/png/minimal-2x2-rgba.png -o minimal-2x2-rgba.png \
&& echo "275f56b84188ce563dfa9364ba7d2b3dfec7beb5d62de11bddcafb0390e85752 minimal-2x2-rgba.png" | shasum -a 256 -cai-prompt-metadata.png
16×16 RGBA PNG from Pillow containing AI generation prompt metadata inside a standard tEXt chunk.
curl -fsSL https://fileformat.co/fixtures/v1/png/ai-prompt-metadata.png -o ai-prompt-metadata.png \
&& echo "1c159eb8d483c4379933d83bac5ba8581b50e5651f9877c059e999cc102840de ai-prompt-metadata.png" | shasum -a 256 -ctruncated-idat.png
Real Pillow PNG truncated inside the compressed IDAT payload — decode must fail (missing IEND alone would still decode).
curl -fsSL https://fileformat.co/fixtures/v1/png/truncated-idat.png -o truncated-idat.png \
&& echo "ac4cc6aeb4c37baeee650f26c1651411aaade073ecee5db776d40defcac6e53a truncated-idat.png" | shasum -a 256 -cIn-Browser Edge-Case & Malformed Fixture Mutator
Need negative test fixtures for parser fuzzing or upload gateway validation? Mutate minimal-2x2-rgba.png directly in your browser without hosting unsafe payloads on public URLs.
Tests graceful EOF / footer corruption handling without process panic or OOM.