NEW301637
Image upsampling is not gamma-correct
https://bugs.webkit.org/show_bug.cgi?id=301637
Summary Image upsampling is not gamma-correct
Nico Weber
Reported 2025-10-29 10:07:32 PDT
Steps to reproduce: Looked at an image while using a retina screen Actual results: Safari upsampled the image 2x (good), but didn't do take gamma into account. Expected results: Safari should use a gamma-correct image resampling algorithm. I made a demo / repro here: https://nico.github.io/hack/web/gamma-upsample.html Here's a detailed explanation: http://www.ericbrasseur.org/gamma.html Browsers fixed their downsampling in response to that page long ago, but not their upsampling.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-29 11:04:37 PDT
Note You need to log in before you can comment on or make changes to this bug.