| Pngtools 0.3 released |
On the suggestion of Sven from the Gimp project I have added offset display to the features of pnginfo. It's bundled in the 0.3 release. [tags: release opensource]
posted at: 04:40 | path: /pngtools | permanent link to this entry
-
#1
403 error on pngtools_0.3.tgz.
-
#2
Michael Still
Fixed. Sorry.
-
#5
Pierre Hanser
hello
seems there is a problem in pngchunks.c
on line 167:
printf(" Chunk CRC: %d\n", ntohl(*((long *) offset)));
on some images, on specific architectures (sparc solaris)
if offset is odd, ((long*)offset) makes a bus error.
I think the value must be calculated byte after byte: the
cast is legal only if value is aligned on word boundary.
-
#6
Pierre Hanser
in fact, there is a general problem with odd offsets
i've an awfully modified version which works better
Contact me if interested
