Skip to content

Reading of tEXt chunks containing null byte #202

@DexrnZacAttack

Description

@DexrnZacAttack

I have seen (on a few occasions) PNGs with a tEXt chunk that contains null bytes...
A popular but not well known example would be Minecraft: Legacy Console Edition's thumbnails, which stores world info alongside the image.
said thumbnails are written using libPNG

Image

When trying to read the same file with lodepng, I only get the first string out of the entire chunk.

Image

Would there be any way around this without forking and fixing it myself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions