Closed
Bug 756877
Opened 13 years ago
Closed 9 months ago
Firefox cannot display images with bogus color profiles
Categories
(Core :: Graphics: Color Management, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: gcp, Unassigned)
Details
Attachments
(2 files)
http://4walled.cc/show-729990
Gives a black square in Firefox. Works correctly in IE, Chrome and Opera.
Windows Image Viewer also fails on it, so it may be corrupted or strange. Nevertheless, we're the only browser that can't display it.
| Reporter | ||
Updated•13 years ago
|
Component: General → ImageLib
Product: Firefox → Core
QA Contact: general → imagelib
| Reporter | ||
Updated•13 years ago
|
Summary: Firefox cannot display particular images → Firefox cannot display particular JPEG images
Comment 2•13 years ago
|
||
Works fine in OS X Preview, as well as in Firefox 12 with gfx.color_management.mode set to 0 (disabled).
(Looks like an otherwise normal RGB JPEG from a quick glance. Also, in both cases I mention the image looks fine -- no edge smearing as in attachment 625499 [details])
Component: ImageLib → GFX: Color Management
QA Contact: imagelib → color-management
| Reporter | ||
Comment 3•13 years ago
|
||
Another example:
http://4walled.cc/show-740608
Comment 4•13 years ago
|
||
Could be a regression of bug 752254. Is this nightly only?
| Reporter | ||
Comment 5•13 years ago
|
||
It's broken already in:
http://hg.mozilla.org/mozilla-central/rev/357da346ceb7
| Reporter | ||
Comment 6•13 years ago
|
||
Was already broken in Firefox 3.7:
http://hg.mozilla.org/mozilla-central/rev/b2f7bc2aa0bc
Comment 7•13 years ago
|
||
This image has an A2B0 LUT but otherwise the color profile is "bogus". The image loads fine when color_management mode is set to 2. If you wanted this to work with color_management set to 1, you would need to add a check for bogus profile in image decoding and you would need to only short-circuit the bogus check when A2B0 exists and v4 is enabled. Since A2B0 is ignored unless v4 is enabled, it doesn't make sense to consider all profiles with A2B0 as valid.
Comment 8•13 years ago
|
||
(In reply to Tony Payne from comment #7)
Thanks for investigating this.
Summary: Firefox cannot display particular JPEG images → Firefox cannot display images with bogus color profiles
Updated•3 years ago
|
Severity: normal → S3
Comment 11•9 months ago
|
||
Out of the box this seems to work on Firefox 141 and probably has for some time.
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•