awesome tool, thanks alot for putting it together !
Small note: I think the logic to calc the length of the chunk IDAT has a small typo, instead of "+ 4" it should read "- 4" (probably just a typo), i.e.
As far as I can understand, the length of a chunk should only include the length of the data, not the chunk type, the length of the chunk or the CRC of the chunk (found this note here).
We stumbled across the issue because Oracle XML Publisher wouldn't render the PNG (while Oracle's BI Publisher would ;-)); after verifying the PNG file itself using pngcheck we found the issue.
Hi Anton,
awesome tool, thanks alot for putting it together !
Small note: I think the logic to calc the length of the chunk IDAT has a small typo, instead of "+ 4" it should read "- 4" (probably just a typo), i.e.
As far as I can understand, the length of a chunk should only include the length of the data, not the chunk type, the length of the chunk or the CRC of the chunk (found this note here).
We stumbled across the issue because Oracle XML Publisher wouldn't render the PNG (while Oracle's BI Publisher would ;-)); after verifying the PNG file itself using pngcheck we found the issue.
thanks alot for looking into this! Herbert