mriale/PyDPainter

Screen size panel trigger a bug with current PNG picture.

Closed this issue · 5 comments

  1. Load this PNG https://www.mobygames.com/game/7515/project-x/screenshots/amiga/118158/
  2. Look at Screen Size to check - the png is hires and the pic is intended to be med-res, but it's ok.
  3. Cancel the Screen Size panel. Picture disapears or something weird happens with palette and size.

Checked it in 2.0.1 and dev with other PNG. Won't happen with IFF.

That was weird! I think I fixed it in the develop branch.

Yes. Thanks you, I'll have a look.

Okay, can you check the cycling ball on this file ? It's fine on 2.0.1. and there is a anomaly on cycling now on last dev.
https://www.randelshofer.ch/animations/anims/karl_bihlmeier/ABCK.ilbm.html

I got it working again it by reverting a change by @hsk to make color conversion faster by caching colors. Looks like it broke pictures where the color palette has duplicate entries. It's on develop now.

Thanks for finding that, @Sleuthgame!

Time for a bugfix and maintenance release ? It's always good to show that the software lives.