Skip to content

Embedded null support on all text chunks#211

Open
ReallyNiceGuy wants to merge 2 commits intolvandeve:masterfrom
ReallyNiceGuy:embedded_null_support
Open

Embedded null support on all text chunks#211
ReallyNiceGuy wants to merge 2 commits intolvandeve:masterfrom
ReallyNiceGuy:embedded_null_support

Conversation

@ReallyNiceGuy
Copy link

Although tEXt, zTXt and iTXt are all supposed to have only strings, some applications use them with embedded NULL.
Added info.text_sizes and info.itext_sizes to keep track of the full size of the decoded strings.
Exported lodepng_add_text_sized and lodepng_add_itext_sized to allow the creation of strings with embedded null characters.

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