Can you share one of the misbehaving PNGs?
I know there’s a bug somewhere that manifests in decoding PNGs. I thought it was specific to the SqueakJS VM though:
https://github.com/codefrau/SqueakJS/issues/23
Vanessa
On Sat, Feb 25, 2023 at 10:55 tim Rowledge tim@rowledge.org wrote:
I have a stack of png file to read. They appear fine in Preview and various other image handling programs. In Squeak (both 5.3 release and the trunk, on both ARM and intel VMs) they look rather odd - almost as if every other line is missing.
From Preview
Squeak 6 trunk arm Squeak 6 mac intel update 22101 same mac, squeak6 trunk
.. but those last two are artefacts of the size of the FileList and resizing it larger - so the preview in the bottom pane gets larger - returns the displayed image to match the arm system. Evidently the resizing is a bit messed up too. Ah, and on a Pi resizing the FileList does the same things, so at least we're platform consistently messed up!
I have plenty of other png files that appear perfectly ok in Squeak and rescale cleanly.
Before I start whacking at things in a debugger I thought I'd ask if anyone else plays with PNGs right now and has been fixing things.
tim
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Useful random insult:- Wasn't fully debugged before being released.