Closed Bug 1088049 Opened 12 years ago Closed 5 years ago

profile photo png with alpha not rendering properly

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jcaller, Assigned: nikos)

Details

(Whiteboard: [iam-debt])

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141011015303 Steps to reproduce: When creating a profile in mozillians-dev.allizom.org/ in the Basic Information area where you upload your profile picture. If you upload a png with transparency the web renders it as a black box. Actual results: The profile image shows as a black box Expected results: I should be able to see my profile picture
Would you also attach the profile PNG?
Flags: needinfo?(jcaller)
Attached image TM.png —
Flags: needinfo?(jcaller)
Nightly (FF 36.0a1) is displaying the image properly for me, no matter whether I set gfx.color_management.mode to 0, 1, or 2. pngcrush -n -v TM.png says Reading IHDR chunk, length = 13. Reading pHYs chunk, length = 9. Reading iCCP chunk, length = 2639. Reading cHRM chunk, length = 32. Reading IDAT chunk, length = 13567. Reading IEND chunk, length = 0. libpng warning: iCCP: known incorrect sRGB profile So it's probably a color management issue. If the iCCP chunk gets ignored because of the warning, we're left with cHRM but no gAMA for color management. What is your gfx.color_managment.mode in about:config? The default is 2 in FF-33, I think.
Assignee: nobody → glennrp+bmo
Yes, you are correct, the default is 2. about:config gfx.color_management.mode;2 Thanks for your help Glenn!
See if this one is displayed properly. It's the same as TM.png with the ancillary PNG chunks (iCCP, cHRM, and pHYs) removed. That wouldn't be the final fix for this bug but should work around it for you.
Version: next → other
Nikos please have a look.
Assignee: glennrp+bmo → nikos
Status: UNCONFIRMED → NEW
Ever confirmed: true

This is an issue specific to mozillians, which is decom'ed.
If this is found to pertain to people.mozilla.org then please open a new issue.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Whiteboard: [iam-debt]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: