REGR: in 10.6 gamma information in PNG is ignored

Originator:lebpierre
Number:rdar://7349777 Date Originated:29 october 2009
Status:Open Resolved:
Product:Mac OS X Product Version:10.6.1
Classification:Serious Bug Reproducible:Always
 
Summary:
in Mac OS X 10.6, gamma information in PNG files (in the gAMA chunk) is ignored and the images do not display as intended.

Steps to Reproduce:
Visit http://www.w3.org/Graphics/PNG/all_seven.html (and download the PNGs and open them with Preview to confirm it's not just in Safari)

Expected Results:
The test images looks like the correct result

Actual Results:
The test images look like the incorrect result

Regression:
New in Mac OS X 10.6, confirmed as behaving correctly in 10.5.

Notes:
Firefox always behaves correctly even on 10.6, probably because it uses its own embedded libpng.
iPhoneOS 3.0 seems affected as well, but regression unknown for that platform.
PNG files with a full icc or other color matching profile seem to work, only PNG files having only the gAMA information seem affected.
Confirmed on two completely different machines with two different monitors, and occurs regardless of calibration.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!