Closed
Bug 66291
Opened 24 years ago
Closed 24 years ago
weird warning "libpng warning: Incomplete compressed datastream in iCCP chunk"
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
VERIFIED
INVALID
Future
People
(Reporter: bugzilla, Assigned: pavlov)
References
()
Details
I'm not sure if this is a bug or not, but going to:
http://www.mcafee.dk/dat/
put this in the console:
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Incomplete compressed datastream in iCCP chunk
Document http://www.mcafee.dk/dat/ loaded successfully
Is that because of corrupted images?
Build 20010122
Sorry but I can't confirm with build 2001012205 on WinNT4, what build are you
using? (I'm missing the build time)
Reporter | ||
Comment 2•24 years ago
|
||
using build 2001012304 on Win2k
Some of the PNGs are, indeed, corrupt. For example,
File: s020h.png (2835 bytes)
chunk IHDR at offset 0x0000c, length 13
1 x 20 image, 24-bit RGB, non-interlaced
chunk iCCP at offset 0x00025, length 2615
profile name = Photoshop ICC profile, compression method = 0
(deflate)
compressed profile = 2592 bytes
chunk gAMA at offset 0x00a68, length 4: 0.45454
chunk cHRM at offset 0x00a78, length 32
White x = 0.31269 y = 0.32899, Red x = 0.63999 y = 0.32998
Green x = 0.29998 y = 0.59999, Blue x = 0.14999 y = 0.05999
chunk IDAT at offset 0x00aa4, length 91
zlib: deflated, 32K window, default compression
chunk IEND at offset 0x00b0b, length 0
No errors detected in s020h.png (-4625.0% compression).
has a bad iCCP chunk.
The message comes from deep within libpng (pngrutil.c). Whether you see
it would depend on whether your Mozilla uses its own libpng or the
system one. In addition, there are many options for building the
standard library.
FWIW, libpng-1.0.9beta10 introduces an additional warning for this
image:
libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Ignoring truncated iCCP profile.
This might be more informative or might be more scary to the typical
user.
This isn't really a Mozilla bug. The only question is whether to change
Mozilla's libpng warning messages.
BTW, notice all the overhead in the file for a 1x20 image.
Assignee | ||
Comment 4•24 years ago
|
||
can this be marked invalid since the images are corrupt?
The images aren't corrupt, only an ancillary chunk. If mozilla renders the image
anyway then the warnings are just that and the only real issue is whether the warning
messages could be better.
If mozilla won't render the image, it's a bug.
All pnunn bugs reassigned to Pav, who is taking over
the imglib.
Assignee: pnunn → pavlov
Status: ASSIGNED → NEW
Assignee | ||
Comment 7•24 years ago
|
||
the error comes directly from libpng.. not a whole lot I can do about the error
message.
Keywords: qawanted
Target Milestone: mozilla1.0 → Future
Comment 8•24 years ago
|
||
pavlov, should we close this as invalid then?
Assignee | ||
Comment 9•24 years ago
|
||
sure
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•