SV: gif-1.0.tgz ??

Peter Lund <>
Mon Feb 3 10:12:34 CET 2003


Gif seemed good since I was planning to present generated, few colour,
pictures, via an erlang inets server. Both IE6 and NS7 support png
pictures as well, so png would do as well as gif, for my purposes.

I see on http://www.boutell.com/gd/ that gd does NOT support gifs
anymore since LZW compression is patented by Unisys.

To run gif-1.0.tgz, I had to find and download GCC and Make support
and then get this to work in my environment. Nicer (for Erlang/OTP)
would have been if graphics for the web could be generated just using
Erlang/OTP. Good would also have been if it would be possible to
import a picture (gif,png,...), make modifications on it and then
publish it. Now you have to start drawing the picture from scratch.

Thanks,
Peter

> -----Ursprungligt meddelande-----
> Från: Scott Lystig Fritchie [mailto:]
> Skickat: den 3 februari 2003 07:58
> Till: Peter Lund
> Kopia: Erlang-Questions
> Ämne: Re: gif-1.0.tgz ??
>
>
> >>>>> "pl" == Peter Lund <> writes:
>
> pl> I am trying to generate gifs in Erlang for my home hobby project
> pl> on my W2K machine.
>
> Must it be GIF?  How about PNG, JPEG and WBMP images?  I've got a
> driver for libgd (see http://www.boutell.com/gd/) that's 95% done.(*)
>
> See http://www.snookles.com/erlang/edtk/edtk-1.0-rc3.tar.gz for the
> source.  The driver is extensively documented as an Erlang Driver
> Toolkit tutorial; I wrote it paragraph-for-paragraph while creating
> the driver.
>
> -Scott
>
> (*) There's an odd problem that I haven't solved with the regression
> test for the gd example driver: sometimes the linked-in style driver's
> output doesn't match byte-for-byte the pipe-style driver's output.
> However, if you convert both files to JPEG (with same
> compression/quality settings), they turn out identical.
>
> Version 1.0-rc3 also has an unfixed bug in the "sample1" driver that I
> also need to fix before a "real" 1.0 release.
>





More information about the erlang-questions mailing list