[squeak-dev] PNGReadWriter buglet

Vanessa Freudenberg vanessa at codefrau.net
Sat Feb 25 20:06:05 UTC 2023


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 at 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 at rowledge.org; http://www.rowledge.org/tim
> Useful random insult:- Wasn't fully debugged before being released.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20230225/b374e57d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2023-02-25 at 10.40.52 AM.png
Type: image/png
Size: 83742 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20230225/b374e57d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2023-02-25 at 10.31.17 AM.png
Type: image/png
Size: 69662 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20230225/b374e57d/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2023-02-25 at 10.37.44 AM.png
Type: image/png
Size: 76436 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20230225/b374e57d/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2023-02-25 at 10.41.18 AM.png
Type: image/png
Size: 83007 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20230225/b374e57d/attachment-0007.png>


More information about the Squeak-dev mailing list