pngj icon indicating copy to clipboard operation
pngj copied to clipboard

write text chunks before IDAT

Open Firenox89 opened this issue 5 years ago • 0 comments

Some readers expect the text chunks to be written before the IDAT chunk. This also allows to parse them without the need to skip to the end of the file. Apache commons imaging also writes them before IDAT.

So this PR adapts this behavior. The custom chunk test needed to be adapted since the chunk order changed.

Firenox89 avatar Feb 16 '20 20:02 Firenox89