Open Bug 1997150 Opened 10 months ago Updated 2 months ago

Image upsampling is not gamma-correct

Categories

(Core :: Graphics, defect, P3)

Firefox 144
defect

Tracking

()

People

(Reporter: thakis, Unassigned)

Details

Steps to reproduce:

Looked at an image while using a retina screen

Actual results:

Firefox upsampled the image 2x (good), but didn't do take gamma into account.

Expected results:

Firefox 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.

Component: Untriaged → Graphics
Product: Firefox → Core

The severity field is not set for this bug.
:bhood, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(bhood)
Severity: -- → S3
Component: Graphics → Graphics: ImageLib
Flags: needinfo?(bhood)
Priority: -- → P3

I am not sure what to do with a report like this, but I'd prefer to not lose track of it such that we could fit it into upcoming projects. Not sure how we track bugs like this.

Flags: needinfo?(tnikkel)

Imagelib only handles downscaling of images. Any upsampling would happen else where in the graphics pipeline.

Component: Graphics: ImageLib → Graphics
Flags: needinfo?(tnikkel)
You need to log in before you can comment on or make changes to this bug.