Closed Bug 78860 Opened 24 years ago Closed 23 years ago

JPEGs without 1 or 3 components don't load

Categories

(Core :: Graphics: ImageLib, defect, P4)

defect

Tracking

()

VERIFIED DUPLICATE of bug 44781
Future

People

(Reporter: pavlov, Assigned: pavlov)

References

()

Details

JPEGs with 4 components for example do not load.
They don't load in IE 5.5 and they did not draw correctly in Mozilla with the 
old imagelib.
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → mozilla0.9.3
also, one cannot insert a jpg image into a composer
Severity: minor → critical
jpg/composer is a different bug.  Restoring previous severity.
Severity: critical → minor
is this bug related to the fact that I cannot see any jpg's in the browser since
2001-05-04, win98?
-> 0.9.4
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Target Milestone: mozilla0.9.5 → Future
bug for 4 component jpegs is bug 44781 afaict

*** This bug has been marked as a duplicate of 44781 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Are CMYK images the only case of JPEGs "without 1 or 3 components"? pavlov said
"JPEGs with 4 components for example" - so are there others?
From the libjpeg documentation:

 The JPEG standard itself is "color blind" and doesn't specify any particular
 color space.  It is customary to convert color data to a luminance/chrominance
 color space before compressing, since this permits greater compression.  The
 existing de-facto JPEG file format standards specify YCbCr or grayscale data
 (JFIF), or grayscale, RGB, YCbCr, CMYK, or YCCK (Adobe).  For special
 applications such as multispectral images, other color spaces can be used,
 but it must be understood that such files will be unportable.

CMYK and YCCK are both handled by the 44781 patch.
ok, verifying
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.