<div dir="auto">Can you share one of the misbehaving PNGs?</div><div dir="auto"><br></div><div dir="auto">I know there’s a bug somewhere that manifests in decoding PNGs. I thought it was specific <span style="color:rgb(0,0,0)">to the SqueakJS VM though:</span></div><div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/codefrau/SqueakJS/issues/23">https://github.com/codefrau/SqueakJS/issues/23</a></div></div><div dir="auto"><br></div><div dir="auto">Vanessa</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 25, 2023 at 10:55 tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div style="line-break:after-white-space">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.<div><br></div><div>From Preview<br><div><img src="cid:1868a2aa5299d5d05101" style="width: 252px; max-width: 100%; background-color: rgba(0, 0, 0, 0) !important; border-color: rgb(255, 255, 255) !important; color: rgb(255, 255, 255) !important;"></div><div><br></div><div>Squeak 6 trunk arm</div><div><img src="cid:1868a2aa52af3fe50162" style="width: 255px; max-width: 100%; background-color: rgba(0, 0, 0, 0) !important; border-color: rgb(255, 255, 255) !important; color: rgb(255, 255, 255) !important;"></div><div>Squeak 6 mac intel update 22101</div><div><img src="cid:1868a2aa52a1d6a010f3" style="width: 253px; max-width: 100%; background-color: rgba(0, 0, 0, 0) !important; border-color: rgb(255, 255, 255) !important; color: rgb(255, 255, 255) !important;"></div><div>same mac, squeak6 trunk</div><div><img src="cid:1868a2aa52afdcd1b124" style="width: 229px; max-width: 100%; background-color: rgba(0, 0, 0, 0) !important; border-color: rgb(255, 255, 255) !important; color: rgb(255, 255, 255) !important;"></div><div><br></div><div>.. 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!</div><div><br></div><div>I have plenty of other png files that appear perfectly ok in Squeak and rescale cleanly.</div><div><br></div><div>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.</div><div><div><br>tim<br>--<br>tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" target="_blank">http://www.rowledge.org/tim</a><br>Useful random insult:- Wasn't fully debugged before being released.<br><br></div><br></div></div></div><br>
</blockquote></div></div>