brendan-duncan / image

Dart Image Library for opening, manipulating, and saving various different image file formats.
MIT License
1.17k stars 265 forks source link

APNG decomposition into frames doesn't work #646

Closed yegor-pelykh closed 4 months ago

yegor-pelykh commented 5 months ago

I tried your test decodeAnimation from the PNG test set, but using a different animation:

world-cup-2014-42

This image has 42 frames.

In decodeAnimation test, the APNG animation is parsed into individual frames, and each frame is saved in a folder as a PNG image.

This test showed a successful result, but the output folder contains incorrect frame images. The general view of the frameset is as follows:

scr1

Every frame except the first has a defect, something like this:

scr2

Could you please look at this problem? Thank you!

brendan-duncan commented 5 months ago

I'll take a look as soon as I get a chance.

brendan-duncan commented 5 months ago

It's fixed in the git main branch now. I'll publish at some point soon.

yegor-pelykh commented 5 months ago

Really works. Thanks a lot!