Skip to content

write text chunks before IDAT#47

Open
Firenox89 wants to merge 1 commit into
leonbloy:masterfrom
Firenox89:master
Open

write text chunks before IDAT#47
Firenox89 wants to merge 1 commit into
leonbloy:masterfrom
Firenox89:master

Conversation

@Firenox89

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant