Skip to content

APNG corruption #63

Description

@f2d

Hi.

As APNG is explicitly supported here, I tried leanify -v on some of my files.
It appears to work and does not report anything suspicious:

Processing: 4_frames_good_from_gif2apng.png
PNG detected.
tEXt chunk removed, 36 bytes.
Filter strategy zero: 2409 bytes
4.57 KB -> 4.37 KB      Leanified: 203 B (4.34%)
Processing: 4_frames_bad_edges_left.png
PNG detected.
Filter strategy zero: 2407 bytes
24.08 KB -> 20.15 KB    Leanified: 3.93 KB (16.31%)
Processing: 4_frames_bad_edges_right.png
PNG detected.
Filter strategy zero: 2409 bytes
24.12 KB -> 20.17 KB    Leanified: 3.95 KB (16.37%)

But result either shows areas of garbled pixels after the first frame, or is completely not animated, depending on specific file.
XnView says that unplayable file is "multipage" instead of simply playing animation, and selecting its pages does not show any change.

Identical results with Leanify build 244, 243, and the last v0.4.3 release from the GitHub page.
Edit: Also identical results with build from latest source on a Linux server.

All files from gif2apng v1.9 (this was the best result I got back then, when I tried various ways to create APNG) become garbled.
Other files are probably from paint.net with plugins. They become unplayable.

I'm attaching the original and result files here.
apng_corruption.zip

I'm thinking to try creating APNG files with more recent software sometime later.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions