etemesi254 / zune-image

A fast and memory efficient image library in Rust
Other
289 stars 29 forks source link

`0.5.0-rc1` Animated png panics #210

Open woelper opened 3 weeks ago

woelper commented 3 weeks 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 3 weeks 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 2 weeks ago

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