Open Bug 1574049 Opened 2 years ago Updated 2 years ago

PNG lib change colors

Categories

(Core :: GFX: Color Management, defect, P3)

68 Branch
Desktop
All
defect

Tracking

()

Tracking Status
firefox68 --- affected
firefox69 --- affected
firefox70 --- affected

People

(Reporter: jimy, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Attached image content_12345.jpg

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

compare 2 PNG and JPG images, the "bright" 5 on the black background is missing

color: #040404

original PNG:
https://geekbrains-uploads.s3.amazonaws.com/geekbrains/public/ckeditor_assets/pictures/1798/content_12345.png

attach converted JPG

Actual results:

the "bright" 5 on the black background is missing

Expected results:

"light" 5 on a black background is present

Attached image PNG_bug.jpg

Hi,

I tried to replicate this with the provided link as an example but i can´t see the #5 on the black background.
I tried not only firefox, i also tried on Chrome and Opera and i can´t see the number5 on the black background.

Do you have any other example for me to check?

Also please download Firefox Nightly from here: https://nightly.mozilla.org/ and retest the problem.

If you still have the issue please create a new profile, you have the steps here:https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager

Lastly test if the issue is reproducible in safe mode, here is a link that can help you:
https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode

Regards
Pablo

Attached image FirefoxPNG.jpg

Compare Firefox Nightly, Google Chrome, IE 11

perhaps this problem is affected by the fact that the driver is twisted gamma or color profile for the monitor

#5 do not need to see, you can find the "Eyedropper Tool" or "Magic Wand Tool" in photoshop

I tested the issue using the link provided:
https://geekbrains-uploads.s3.amazonaws.com/geekbrains/public/ckeditor_assets/pictures/1798/content_12345.png

Tested On windows10 64bit + Ubunu 18.02 64bit + MacOs 10.14
Using all current firefox versions:
Firefox Nightly 70.0a1
Firefox Beta 69.0b15
Firefox Release 68.0.2

I was able to replicate the problem on all versions

The #4 on black background is not visible using firefox.
I do see the #4 on black background when using other browsers on windows10.

Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → Desktop

:aosmond, can you comment to the bug?

Flags: needinfo?(aosmond)
Priority: -- → P3

added the original file so as not to get lost

If I disable color management, I can see the 4. This is not a regression (or at least not one in the last 5 years...). The PNG has cHRM and gAMA chunks. Presumably this is a bug in our ICCv2 implementation; we do see oversaturation on Macs, I wonder if it is related.

Component: Graphics → GFX: Color Management
Flags: needinfo?(aosmond)
Blocks: 1602453
You need to log in before you can comment on or make changes to this bug.