[ENH] PNG for WWW

sam at rfc1149.net sam at rfc1149.net
Mon Mar 29 21:06:53 UTC 2004


SeaSide uses  "asWebImage" on a Form object to return it to the viewer.
By
default, "asWebImage" returns the image as a GIF file in 8 bits mode.
This
makes images sent from Squeak very ugly.

This changeset makes the default type PNG, which offers the same
lossless
compression and features as GIF (such as transparency, although PNG has
even a full alpha channel) but does not suffer from colormap
limitations.

I wonder whether the default change can cause trouble in existing
applications.
In mine, the benefit was immediate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PNG for WWW.cs.gz
Type: application/octet-stream
Size: 337 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040329/a28d6c2e/PNGforWWW.cs.obj


More information about the Squeak-dev mailing list