Re: Writing GIFs with LZW compression, patch
| From: | Jaap van Ganswijk | Date: | Tue, 17 Jun 2003 07:51:01 +0000 |
| Subject: | Re: Writing GIFs with LZW compression, patch | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151794@lists.php.net to get a copy of this message | ||
At 2003-06-17 09:31 +0300, Jaakko Hyvätti wrote:
>For those impatient to wait for official inclusion, I took gd_lzw_out.c
>from gd1.5.tar.gz and put it in php-4.3.2. The patch for configure script
>is not the most beautiful one, but it works for now. In case you
>developers have not yet included LZW compressed GIF support, feel free to
>use this.
>
>http://www.iki.fi/hyvatti/sw/
>http://www.iki.fi/hyvatti/sw/php-4.3.2-gif.diff
I may have missed the latest developments, but I thought that
Unisys was still trying to collect licensing fees for the use
of the encryption part of the LZW algorithm.
I noticed however that GIMP in Mandrake 9.0 can generate
.gif files, so I'm not sure.
By the way, I would expect PHP to be able to read .gif files
but not write them. You'd have to use .png instead.
Greetings,
Jaap