xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48693] PNG generated by batik doesn't open in IE7
Date Wed, 10 Feb 2010 02:20:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48693

jeremy.bethmont@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #8 from jeremy.bethmont@gmail.com 2010-02-09 18:20:07 UTC ---
I wrote a small Python script (attached) that shows the chunks of a PNG file.

Here is the output with a PNG file generated by batik SVN:

chunk IHDR,    length 13,    md5 d2da018c3994bfb3e53315d832aa5c90
chunk cHRM,    length 32,    md5 e4d16d0c3e4564d029f8877a181ff7cb
chunk gAMA,    length 4,    md5 84f9762215ca22a918a8ce4836984145
chunk sRGB,    length 1,    md5 93b885adfe0da089cdf634904fd59f71
chunk bKGD,    length 6,    md5 6aae5f5580123f99090c5338ce4e65ee
chunk pHYs,    length 9,    md5 79488bba00d8eec19f396b1d366073fd
chunk IDAT,    length 2636,    md5 f56e05afda2506561a91e27de88dd3b7
chunk IDAT,    length 0,    md5 d41d8cd98f00b204e9800998ecf8427e
chunk IDAT,    length 0,    md5 d41d8cd98f00b204e9800998ecf8427e
chunk IEND,    length 0,    md5 d41d8cd98f00b204e9800998ecf8427e

And bellow with batik 1.7:

chunk IHDR,    length 13,    md5 d2da018c3994bfb3e53315d832aa5c90
chunk cHRM,    length 32,    md5 e4d16d0c3e4564d029f8877a181ff7cb
chunk gAMA,    length 4,    md5 84f9762215ca22a918a8ce4836984145
chunk sRGB,    length 1,    md5 93b885adfe0da089cdf634904fd59f71
chunk bKGD,    length 6,    md5 6aae5f5580123f99090c5338ce4e65ee
chunk pHYs,    length 9,    md5 79488bba00d8eec19f396b1d366073fd
chunk IDAT,    length 2636,    md5 f56e05afda2506561a91e27de88dd3b7
chunk IEND,    length 0,    md5 d41d8cd98f00b204e9800998ecf8427e

As you can see, the PNG file generated by batik SVN contains 2 empty IDAT
chunks. Otherwise the files are identical (you can check the md5 hashs).
Again, the PNG generated by batik 1.7 displays well on IE7 but not the one
generated by batik SVN.

I believe this is a bug and PNG files shouldn't contain any empty IDAT chunks
so I reopen the ticket.

Best,

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message