Skip to content

Try rendering damaged PNG files. #762

@HT-7

Description

@HT-7

Currently, libpng (and by extension tools that rely on it, like xviewer and ffmpeg), are completely unable to render damaged PNG files, where as on Windows, the built-in image viewer and Microsoft Paint do try rendering a damaged PNG file.

Of course, the PNG file will appear with glitches, as would be expected from a damaged file, but that's still far better than showing nothing at all.

If the damage is near the end of a PNG file, most of the PNG file should still be able to be shown, but libpng doesn't try rendering the image at all.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @HT-7

        Issue actions

          Try rendering damaged PNG files. · Issue #762 · pnggroup/libpng