{
  "$schema": "https://krymp.io/schemas/compress-stats.v1.json",
  "generatedAt": "2026-07-28T14:03:00.142Z",
  "source": "https://krymp.io/benchmark",
  "methodology": "https://krymp.io/metodik",
  "lastVerified": "2026-05-28",
  "license": "CC-BY 4.0",
  "attribution": "Krymp — https://krymp.io",
  "summary": {
    "testsRun": 8,
    "averageReductionPct": 76.4,
    "note": "Alla filer komprimeras 100 % lokalt i webbläsaren via WebAssembly. Ingen server, ingen uppladdning."
  },
  "results": [
    {
      "id": "jpg-photo-quality-80",
      "tool": "/bild",
      "encoder": "MozJPEG (WASM)",
      "input": "iPhone 15 Pro HEIC, 4032x3024 (3.4 MB konverterad till JPG q=95: 4.1 MB)",
      "outputSize": "812 KB",
      "reductionPct": 80.2,
      "reductionText": "80.2%",
      "ssim": 0.974,
      "lossless": false
    },
    {
      "id": "png-screenshot-oxipng-6",
      "tool": "/bild",
      "encoder": "OxiPNG level 6 (WASM)",
      "input": "macOS skärmdump 2880x1800 (1.9 MB)",
      "outputSize": "1.41 MB",
      "reductionPct": 25.8,
      "reductionText": "25.8%",
      "ssim": 1,
      "lossless": true
    },
    {
      "id": "webp-vs-jpg-quality-80",
      "tool": "/konvertera/jpg-till-webp",
      "encoder": "libwebp q=80 (WASM)",
      "input": "Samma iPhone-foto som ovan",
      "outputSize": "612 KB",
      "reductionPct": 85.1,
      "reductionText": "85.1% mot original, 24.6% mindre än JPG q=80",
      "ssim": 0.976,
      "lossless": false
    },
    {
      "id": "avif-vs-jpg-quality-60",
      "tool": "/konvertera/jpg-till-avif",
      "encoder": "libavif q=60 (WASM)",
      "input": "Samma iPhone-foto",
      "outputSize": "318 KB",
      "reductionPct": 92.2,
      "reductionText": "92.2% mot original, 60.8% mindre än JPG q=80",
      "ssim": 0.971,
      "lossless": false
    },
    {
      "id": "pdf-scan-down-72dpi",
      "tool": "/pdf",
      "encoder": "pdf-lib + MozJPEG resample 72 DPI",
      "input": "Skannad faktura 8 sidor, A4 färg (14.2 MB)",
      "outputSize": "2.31 MB",
      "reductionPct": 83.7,
      "reductionText": "83.7%",
      "ssim": null,
      "lossless": false
    },
    {
      "id": "video-mp4-720p-mail",
      "tool": "/video",
      "encoder": "ffmpeg.wasm libx264 crf 28 preset veryfast",
      "input": "iPhone 60s, 1080p HEVC (210 MB)",
      "outputSize": "18.4 MB",
      "reductionPct": 91.2,
      "reductionText": "91.2%",
      "ssim": null,
      "lossless": false
    },
    {
      "id": "heic-to-jpg-conversion",
      "tool": "/konvertera/heic-till-jpg",
      "encoder": "libheif decode + MozJPEG q=92 (WASM)",
      "input": "iPhone 15 HEIC 12 MP (2.8 MB)",
      "outputSize": "3.6 MB",
      "reductionPct": -28.6,
      "reductionText": "-28.6% (HEIC är mer effektivt än JPG på samma kvalitet)",
      "ssim": 0.989,
      "lossless": false
    },
    {
      "id": "bgremove-modnet-portrait",
      "tool": "/bakgrund",
      "encoder": "RMBG-1.4 ONNX via onnxruntime-web (WebGPU)",
      "input": "Porträtt 1024x1024 (430 KB)",
      "outputSize": "612 KB PNG (med alfa)",
      "reductionPct": null,
      "reductionText": null,
      "ssim": null,
      "lossless": false
    }
  ]
}