How small can a valid, browser-decodable RGB PNG image actually get?
Not a broken header, not a grayscale trick, and not a 1-bit palette hack — a spec-compliant Color Type 2 (Truecolor RGB) PNG containing a single #000000 pixel, conforming strictly to RFC 2083.
Breaking Down the 67-Byte Floor
Every valid PNG file requires four mandatory components:
- PNG Signature (8 bytes):
89 50 4E 47 0D 0A 1A 0A - IHDR Chunk (25 bytes): 4-byte length +
IHDR+ 13-byte payload (width=1,height=1,bit_depth=8,color_type=2,compression=0,filter=0,interlace=0) + 4-byte CRC32. - IDAT Chunk (22 bytes minimum): A 1x1 RGB scanline is 4 uncompressed bytes (
0x00filter byte +0x00 0x00 0x00RGB). Usingzliblevel 1 withZ_RLE, the compressed zlib stream hits 10 bytes, making the full IDAT chunk4 (len) + 4 (type) + 10 (data) + 4 (CRC) = 22 bytes. - IEND Chunk (12 bytes):
00 00 00 00 49 45 4E 44 AE 42 60 82.
Total: 8 + 25 + 22 + 12 = 67 bytes.
By comparison, a default Python Pillow export (Image.new("RGB", (1, 1), (0, 0, 0)).save(...)) produces 69 bytes (SHA-256: c47dd9465c00e9a0c8b85e9ea58d3034a0d23b9cf926113602f3460752a4eb96) because of default zlib compression flags.
The Conceptual Twist: HTTP 413 Content Too Large
In 2005, Alex Tew's Million Dollar Homepage sold 1,000,000 pixels at $1 each.
I wanted to invert that into a single minimalist internet artifact: 1 pixel (#000000), recorded on Ethereum Mainnet as a single-token ERC-1155 (0xdafe69b04bb2ee097b6d483b2d272b3fbb519159, Token #1), with an asking price of 413 ETH — referencing RFC 9110 HTTP 413 (Content Too Large).
A 69-byte file declared Content Too Large by its own price tag.
Inspect the Live Byte Dissector & Dossier
You can inspect the full byte-by-byte structure, RFC references, and provenance record here (pure static HTML, no wallet connect required):
BLACK PIXEL (1x1) — Technical Dossier
Question for compression nerds: Has anyone ever pushed a strictly spec-compliant Color Type 2 (8-bit RGB, non-indexed) PNG below 67 bytes without breaking standard decoders (libpng, Chromium, Safari)? Drop your hex dump in the comments.
