Open GoogleCodeExporter opened 8 years ago
Not sure, but what's the point of creating an array of bytes that gets
compressed bytes from PngProperty that returns null, and then trying to add 1
to a NULL length array of byte before writing it to the file? Isn't it better
just to check to see if the array of bytes is null, and IF so, then write 1 as
the length and 00 as the byte data?
Original comment by vangphe...@gmail.com
on 28 Nov 2010 at 8:02
The point is that the array should NOT be null, not that the library is having
problems dealing with the possibility of a null array. Writing a data of 00
with length one would indeed save the file but corrupt the PNGs in it. I'm
currently looking into it; expect a fix soon.
Original comment by haha01ha...@gmail.com
on 27 Jan 2011 at 11:37
Thanks for the reply, I'll checkout the latest rev from the SVN repo and see
how it goes.
Original comment by vangphe...@gmail.com
on 2 Feb 2011 at 9:06
Original issue reported on code.google.com by
vangphe...@gmail.com
on 26 Nov 2010 at 5:03Attachments: