etemesi254 / zune-image

A fast and memory efficient image library in Rust
Other
332 stars 30 forks source link

`0.5.0-rc1` Animated png panics #210

Open woelper opened 4 months ago

woelper commented 4 months ago

Opening an apng image panics with

thread '<unnamed>' panicked at .cargo/registry/src/index.crates.io-6f17d22bba15001f/zune-png-0.5.0-rc1/src/apng.rs:269:28:
range end index 400 out of range for slice of length 100

(This is 0.5.0-rc1)

Image to reproduce:

Animated_PNG_example_bouncing_beach_ball

etemesi254 commented 4 months ago

Hi, animated png has been a thorn after the first issue you reported, and even more because I can't find a simple existing codebase to explain how to handle some things, kindly bear with me, this is an issue I'm well aware of

woelper commented 4 months ago

Thank you so much. No rush, and thank you for your great work!