{
  "generatedAt": "2026-12-02T06:07:55.095Z",
  "methodology": "Deterministic SHA-256 and byte measurements computed directly from files on disk. RGBA decoded memory sums width * height * 4 across embedded raster bitmaps (excluding audio payloads). Lossless optimization removes unreferenced orphan image keys, merges identical bitmaps by SHA-256, remaps sprite imageKey references, and re-compresses MovieEntity protobuf payloads using pako deflate level 9.",
  "samples": [
    {
      "id": "v2-vector-badge",
      "file": "/assets/svga/samples/v2-vector-badge.svga",
      "version": "2.0.0",
      "width": 240,
      "height": 240,
      "fps": 30,
      "frames": 60,
      "durationSec": 2,
      "bytes": 1707,
      "sha256": "be5cf7f00498debbd93786728d7c3669ebdd2338b40cc9513647ffd57046cd7b",
      "imageCount": 0,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 0,
      "features": [
        "SVGA 2.0",
        "Pure Vector",
        "ShapeEntity"
      ]
    },
    {
      "id": "v2-dynamic-slot",
      "file": "/assets/svga/samples/v2-dynamic-slot.svga",
      "version": "2.0.0",
      "width": 480,
      "height": 160,
      "fps": 24,
      "frames": 48,
      "durationSec": 2,
      "bytes": 1465,
      "sha256": "7d408ee1f0d94124197c527ae50bcc65716f66f8c4d3639d93d6a14593116532",
      "imageCount": 2,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 90624,
      "features": [
        "SVGA 2.0",
        "Dynamic Slot",
        "setImage",
        "setText"
      ]
    },
    {
      "id": "v2-matte-mask",
      "file": "/assets/svga/samples/v2-matte-mask.svga",
      "version": "2.0.0",
      "width": 360,
      "height": 360,
      "fps": 30,
      "frames": 60,
      "durationSec": 2,
      "bytes": 12894,
      "sha256": "59579b4e0fc66f48ee8e04d857d3ea92cbaf8aa37b7f0ad695d6657a2e335618",
      "imageCount": 1,
      "audioCount": 0,
      "hasMatte": true,
      "estimatedMemoryBytes": 230400,
      "features": [
        "SVGA 2.0",
        "matteKey",
        "Track Matte"
      ]
    },
    {
      "id": "v2-audio-chime",
      "file": "/assets/svga/samples/v2-audio-chime.svga",
      "version": "2.0.0",
      "width": 300,
      "height": 300,
      "fps": 30,
      "frames": 45,
      "durationSec": 1.5,
      "bytes": 5500,
      "sha256": "a6ba12d398fb5cad2952061bb878bb42ecef4aaa6a5b8cfe6d63d25e607a9a2d",
      "imageCount": 1,
      "audioCount": 1,
      "hasMatte": false,
      "estimatedMemoryBytes": 65536,
      "features": [
        "SVGA 2.0",
        "MP3 Audio",
        "AudioEntity"
      ]
    },
    {
      "id": "v2-gift-stage",
      "file": "/assets/svga/samples/v2-gift-stage.svga",
      "version": "2.0.0",
      "width": 750,
      "height": 1334,
      "fps": 30,
      "frames": 60,
      "durationSec": 2,
      "bytes": 3782,
      "sha256": "a983a2b3ee69ee7b764e13c66ac4191b56d08688ecea1e936ca09f64cc58be9d",
      "imageCount": 1,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 262144,
      "features": [
        "SVGA 2.0",
        "Live Gift 750x1334",
        "Safe Zone"
      ]
    },
    {
      "id": "v2-avatar-frame",
      "file": "/assets/svga/samples/v2-avatar-frame.svga",
      "version": "2.0.0",
      "width": 240,
      "height": 240,
      "fps": 30,
      "frames": 60,
      "durationSec": 2,
      "bytes": 20833,
      "sha256": "63fc06c56523c1a24cb2ff552cc30facbaea6ae48e2c38ddcfdc09026ad7219f",
      "imageCount": 1,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 230400,
      "features": [
        "SVGA 2.0",
        "Avatar Frame",
        "Alpha Cutout"
      ]
    },
    {
      "id": "v2-compression-bench",
      "file": "/assets/svga/samples/v2-compression-bench.svga",
      "version": "2.0.0",
      "width": 320,
      "height": 320,
      "fps": 30,
      "frames": 60,
      "durationSec": 2,
      "bytes": 531176,
      "sha256": "a8d0bb81e0004ca2b17cf455c54f3a1b3d1381536e7c16a523f1c8de849cd7d3",
      "imageCount": 3,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 1114112,
      "features": [
        "SVGA 2.0",
        "Benchmark",
        "Orphan + Duplicate PNG"
      ]
    },
    {
      "id": "v1-pattern",
      "file": "/assets/svga/test-pattern-1.x.svga",
      "version": "1.x",
      "width": 96,
      "height": 64,
      "fps": 12,
      "frames": 12,
      "durationSec": 1,
      "bytes": 92204,
      "sha256": "61547d67920c182c392f82b9aec6a7d240ef91a94a774e7163916188172643f2",
      "imageCount": 12,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 294912,
      "features": [
        "SVGA 1.x",
        "ZIP + movie.spec",
        "Format Reference"
      ]
    },
    {
      "id": "index-example",
      "file": "/assets/svga/index-example.svga",
      "version": "2.0.0",
      "width": 640,
      "height": 640,
      "fps": 24,
      "frames": 120,
      "durationSec": 5,
      "bytes": 192627,
      "sha256": "a5d14519a0b62d523d880e93677e91453bf67b9b6c58e7346aed700ae55fc7b7",
      "imageCount": 23,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 3561864,
      "features": [
        "SVGA 2.0",
        "Official Hero",
        "Benchmark"
      ]
    },
    {
      "id": "index-response",
      "file": "/assets/svga/index-response.svga",
      "version": "2.0.0",
      "width": 500,
      "height": 500,
      "fps": 15,
      "frames": 60,
      "durationSec": 4,
      "bytes": 295688,
      "sha256": "4592c345cdc83c5568cbcb72370b188926f5590b6d018532c7830b22073b241f",
      "imageCount": 22,
      "audioCount": 0,
      "hasMatte": false,
      "estimatedMemoryBytes": 7215632,
      "features": [
        "SVGA 2.0",
        "Official Stage",
        "Sprite Animation"
      ]
    }
  ],
  "benchmarks": [
    {
      "id": "v2-compression-bench",
      "file": "/assets/svga/samples/v2-compression-bench.svga",
      "pipeline": {
        "removeOrphans": true,
        "sha256BitmapDedupe": true,
        "zlibLevel": 9,
        "lossless": true
      },
      "originalBytes": 531176,
      "optimizedBytes": 126010,
      "bytesSaved": 405166,
      "bytesReductionPct": 76.28,
      "originalMemoryBytes": 1114112,
      "optimizedMemoryBytes": 262144,
      "memorySavedBytes": 851968,
      "memoryReductionPct": 76.47,
      "orphanKeysRemoved": [
        "unused_draft_bg"
      ],
      "duplicateKeysMerged": [
        {
          "duplicate": "badge_layer_b",
          "canonical": "badge_layer_a"
        }
      ],
      "originalSha256": "a8d0bb81e0004ca2b17cf455c54f3a1b3d1381536e7c16a523f1c8de849cd7d3",
      "optimizedSha256": "e05eb20cb501469ba9e4c107710f64dc3b17058acaf7a30521aff18695b932cb"
    },
    {
      "id": "index-example",
      "file": "/assets/svga/index-example.svga",
      "pipeline": {
        "removeOrphans": true,
        "sha256BitmapDedupe": true,
        "zlibLevel": 9,
        "lossless": true
      },
      "originalBytes": 192627,
      "optimizedBytes": 193156,
      "bytesSaved": -529,
      "bytesReductionPct": -0.27,
      "originalMemoryBytes": 3561864,
      "optimizedMemoryBytes": 3561864,
      "memorySavedBytes": 0,
      "memoryReductionPct": 0,
      "orphanKeysRemoved": [],
      "duplicateKeysMerged": [],
      "originalSha256": "a5d14519a0b62d523d880e93677e91453bf67b9b6c58e7346aed700ae55fc7b7",
      "optimizedSha256": "70baa61ac72247ca8a033b85e8f267412135f33587a5bce83dfbd3bf6304a847"
    }
  ]
}
