{
    "title": "Controlled Image Compression Benchmark",
    "updated": "2026-08-06",
    "methodology": "Generated 1200×800 images were encoded with Pillow 12.2.0 using PNG optimize, JPEG quality 82 optimize, WebP quality 80 method 6, and AVIF quality 55. Byte sizes were measured in memory and converted to KiB.",
    "limitations": "Synthetic images do not represent every camera photo, illustration, encoder, browser, or quality threshold. File size alone does not measure perceptual quality.",
    "columns": [
        "Synthetic sample",
        "PNG KB",
        "JPEG KB",
        "WebP KB",
        "AVIF KB",
        "Smallest output"
    ],
    "rows": [
        [
            "gradient-photo",
            15.6,
            40.4,
            22.4,
            9.9,
            "AVIF"
        ],
        [
            "flat-illustration",
            6.2,
            18,
            4.5,
            2.8,
            "AVIF"
        ],
        [
            "text-screenshot",
            5.7,
            31,
            4.5,
            1.8,
            "AVIF"
        ],
        [
            "line-art",
            40.9,
            257,
            167.3,
            24.7,
            "AVIF"
        ],
        [
            "noise-texture",
            3116.8,
            637.3,
            657.7,
            407.3,
            "AVIF"
        ],
        [
            "transparent-shapes",
            13.7,
            19.4,
            9.5,
            8.9,
            "AVIF"
        ]
    ]
}