Should we remove compressed GIF generation from Squeak 3.7?
goran.krampe at bluefish.se
goran.krampe at bluefish.se
Fri Feb 20 07:26:15 UTC 2004
Ned Konz <ned at squeakland.org> wrote:
[SNIP]
> Now that PNG writing is working quite well, I think that we should remove the
> generation of compressed GIFs from the distribution version of Squeak
> (perhaps moving the offending parts to SqueakMap or somewhere else if someone
> needs to have them).
>
> PNG is a better format than GIF in many ways (for instance, supporting gamma,
> truecolor images, and better compression)
>
> All modern browsers support PNG images (and have for some years; see
> http://www.libpng.org/pub/png/pngapbr.html ); if you're writing a web server
> that must generate GIF images you can either generate uncompressed ones, or
> go get the replacement code from SqueakMap or wherever it lives.
>
> We could still generate uncompressed GIF images (this is what GNU/Linux has
> done with libungif), or use run-length encoding.
>
> I believe that the only impact to code in the image would be the substitution
> of the non-compressing write logic. However, the Project saving currently
> saves GIF images (as thumbnails) and for some other forms (in the
> ResourceCollector); these would probably be better saved as PNG images so we
> don't lose image information (via JPEG compression or GIF pallette
> reduction), but we would have to phase this change in for backwards
> compatibility.
>
> Any thoughts on this?
I tend to agree. And just put the GIF stuff on SM.
regards, Göran
More information about the Squeak-dev
mailing list
|