WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
301637
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-10-29 11:04:37 PDT
<
rdar://problem/163655580
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug