Preview images strip ICC profiles instead of keeping or converting it to sRGB

(#4628) Bug Closed: Fixed embeds media

Reproduction steps

  1. Upload an image with an ICC profile, ideally one that's extremely different to make spotting the difference easy.
  2. Observe the uploaded image having the incorrect colours, along with it's blurhash.
  3. Click on the image to see the full resolution popup display the correct colours.

Expected behaviour

The preview image along with the blurhash should take ICC profiles into account.

Actual behaviour

ICC profiles appear to be stripped or ignored prior to processing.

Build information

Stable Desktop 2026.1101.102918, Web 2026.1104.31729, Linux 7.3.1-2-t2-resolute (x64), Electron 44.10.0, Chrome 152.0.7977.169, Node 24.22.1, Locale en-US

Evidence

Attached is a screenshot containing an icc profile that flips the hue. Note that the image must be downloaded, right clicking and selecting "copy image" can cause the browser to convert it to regular sRGB.
  1. Tarek changed the status from Awaiting confirmation to Fixed
  1. The pull request fluxer#4193 mentions this post Merged

1 comment

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Needs triage to Awaiting confirmation
Fixed in fluxer#4193. The fix is live in media proxy release 2026.1115.225630.