{
  "title": "Why an image changes colour after its profile is removed",
  "article": "https://bitinz.com/guides/icc-color-profile-test",
  "environment": {
    "measuredOn": "2026-11-16",
    "os": "macOS 27.0.1",
    "browser": "Google Chrome 157.0.8103.78, headless",
    "imagemagick": "7.1.1-47 Q16-HDRI",
    "libjpegTurbo": "3.2.0",
    "libwebp": "1.6.0",
    "exiftool": "12.57"
  },
  "sources": [
    {
      "path": "/samples/beach.jpg",
      "bytes": 284392,
      "sha256": "adf78689e4d0e348d47c942d724dfa8d92e85b82ca11824e05f3fdb92d84d8ec",
      "width": 1400,
      "height": 933,
      "description": "1400 × 933 copy of Pexels photo 292442 (https://www.pexels.com/photo/brown-drift-woods-beside-water-292442/), used under the Pexels License (https://www.pexels.com/license/)."
    }
  ],
  "omittedForSize": [
    {
      "name": "p3-source.png",
      "bytes": 1561429,
      "sha256": "3a51d15db67f3167ba7ad317dd71a1126365a67755f4260d5f803691b94fec72",
      "description": "The tagged Display P3 intermediate; commands.sh recreates it from the source."
    }
  ],
  "results": {
    "photo": {
      "p3ProfileBytes": 536,
      "p3ProfileInJpegBytes": 554,
      "savedPercent": 0.181,
      "exports": {
        "photo-p3-kept.jpg": "Display P3",
        "photo-profile-removed.jpg": null,
        "photo-srgb-converted.jpg": null
      }
    },
    "chart": {
      "profileChunkBytes": 353,
      "canvasColorSpace": "srgb",
      "centreReadingsRGB": [
        {
          "block": "red",
          "profileKept": [
            217,
            56,
            51
          ],
          "profileRemoved": [
            200,
            70,
            60
          ],
          "convertedFirst": [
            217,
            56,
            51
          ]
        },
        {
          "block": "green",
          "profileKept": [
            0,
            183,
            90
          ],
          "profileRemoved": [
            70,
            180,
            100
          ],
          "convertedFirst": [
            0,
            183,
            90
          ]
        },
        {
          "block": "orange",
          "profileKept": [
            234,
            124,
            36
          ],
          "profileRemoved": [
            220,
            130,
            60
          ],
          "convertedFirst": [
            234,
            124,
            36
          ]
        },
        {
          "block": "purple",
          "profileKept": [
            162,
            64,
            186
          ],
          "profileRemoved": [
            150,
            70,
            180
          ],
          "convertedFirst": [
            162,
            64,
            186
          ]
        },
        {
          "block": "blue-green",
          "profileKept": [
            0,
            173,
            193
          ],
          "profileRemoved": [
            70,
            170,
            190
          ],
          "convertedFirst": [
            0,
            173,
            193
          ]
        },
        {
          "block": "grey",
          "profileKept": [
            128,
            128,
            128
          ],
          "profileRemoved": [
            128,
            128,
            128
          ],
          "convertedFirst": [
            128,
            128,
            128
          ]
        }
      ]
    },
    "bitinzCheck": "Compressing photo-p3-kept.jpg with the Bitinz engine, and converting it to WebP, kept the Display P3 profile (local run, 2026-11-16)."
  },
  "figures": [
    {
      "path": "/research/2026-11/icc-color-profile-test/figures/preview-inspector.png",
      "bytes": 44099,
      "sha256": "c85129dc124ed4161e109c8c8ae7fcb628b063dd73952dcf923179ec3ab68d8b",
      "width": 256,
      "height": 410,
      "method": "The Inspector panel cut from a macOS Preview screenshot."
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/figures/sky-p3-kept.png",
      "bytes": 42285,
      "sha256": "08de33a01359206415924ab65b0bbe24697032521cf2c4deac4226a79f8f73d6",
      "width": 360,
      "height": 240,
      "madeFrom": "photo-p3-kept.jpg",
      "method": "Decoded in Chrome, region [600, 120, 180, 120] (x, y, width, height) drawn into an sRGB canvas, enlarged 2× without smoothing; lossless PNG."
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/figures/sky-profile-removed.png",
      "bytes": 39897,
      "sha256": "a143abf8697488bed6b8dd83b229564bd6aa7fb2720c594b159c5f445b52f6b7",
      "width": 360,
      "height": 240,
      "madeFrom": "photo-p3-stripped.jpg",
      "method": "Decoded in Chrome, region [600, 120, 180, 120] (x, y, width, height) drawn into an sRGB canvas, enlarged 2× without smoothing; lossless PNG."
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/figures/sky-srgb-converted.png",
      "bytes": 42213,
      "sha256": "2b8fea8c1bc997914f771d5cc5c6095c6203fc120c883ea9af8a76cceb81bdf6",
      "width": 360,
      "height": 240,
      "madeFrom": "photo-srgb-converted.jpg",
      "method": "Decoded in Chrome, region [600, 120, 180, 120] (x, y, width, height) drawn into an sRGB canvas, enlarged 2× without smoothing; lossless PNG."
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/figures/sunset-p3-kept.png",
      "bytes": 39485,
      "sha256": "229daaf8e457a1f980cdb8d38def46f02dd6695c8c38d830c7a715eeafd45fec",
      "width": 360,
      "height": 240,
      "madeFrom": "photo-p3-kept.jpg",
      "method": "Decoded in Chrome, region [880, 420, 180, 120] (x, y, width, height) drawn into an sRGB canvas, enlarged 2× without smoothing; lossless PNG."
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/figures/sunset-profile-removed.png",
      "bytes": 38276,
      "sha256": "6c1b2dc13d762c911ceed479111bea4a2a2af92a621529e2ab05ba404f1d0f77",
      "width": 360,
      "height": 240,
      "madeFrom": "photo-p3-stripped.jpg",
      "method": "Decoded in Chrome, region [880, 420, 180, 120] (x, y, width, height) drawn into an sRGB canvas, enlarged 2× without smoothing; lossless PNG."
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/figures/sunset-srgb-converted.png",
      "bytes": 39541,
      "sha256": "737d8653305efc6daa1b732046bc52abeace99d2a1f27de6151bad0fce3f879f",
      "width": 360,
      "height": 240,
      "madeFrom": "photo-srgb-converted.jpg",
      "method": "Decoded in Chrome, region [880, 420, 180, 120] (x, y, width, height) drawn into an sRGB canvas, enlarged 2× without smoothing; lossless PNG."
    }
  ],
  "commands": "/research/2026-11/icc-color-profile-test/commands.sh",
  "files": [
    {
      "path": "/research/2026-11/icc-color-profile-test/files/chart-converted-srgb.png",
      "bytes": 1226,
      "sha256": "46d5ac865dfcd69fc46c11810392649861bebb842f488858bdddbc143c52873d"
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/files/chart-p3-tagged.png",
      "bytes": 1574,
      "sha256": "6f9db7822db7ccf8200fbb2197846ee859e668423f9f7c44d62fc1b1e9e3871e"
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/files/chart-profile-removed.png",
      "bytes": 1221,
      "sha256": "208e4326602883e4dbff7bc5c909d871c7a5d8009e842c61f0a94b2faf7f7d69"
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/files/photo-p3-kept.jpg",
      "bytes": 306323,
      "sha256": "27fb9802ce39f7bf48a98e2c4ee6695da386fa48627e1e91964fb6d930101c61"
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/files/photo-profile-removed.jpg",
      "bytes": 305769,
      "sha256": "7a6bf7c1253deefef6d71b9450dcd9fc5b2d6b997638e5209176839dc4b9aad5"
    },
    {
      "path": "/research/2026-11/icc-color-profile-test/files/photo-srgb-converted.jpg",
      "bytes": 315109,
      "sha256": "365f565956b30eb71eb346ba12c57d71d0810f9ee9fa5fcab824eb33e42b6b8b"
    }
  ],
  "scripts": [
    {
      "path": "/research/2026-11/icc-color-profile-test/make-chart.py",
      "bytes": 1622,
      "sha256": "b1a68972a77104b7e6bfb80b0cbe850b2b4e7e725d3b4c94f443c0b09c0dd641"
    }
  ]
}
