Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Andreas Eibach
May 22, 2007, 5:01 am
rate this thread
does anyone of you guys use Typo3?
I simply do not understand that there is no LZW GIF compression possible
in the GD dll shipped with PHP 5.2.2 (win32).
I assumed this DLL is newer than GDLib 2.0.33 but obviously I was wrong.
Typo3 detects the compression used as RLE, not LZW.
I know there were legal reasons in the past; but they did reimplement
GIF support back in 2.0.28.
This is what Typo3 writes:
"Your GDLib appears to have RLE compression
This assessment is based on the filesize from 'Create image from file'
test, which were 17002 bytes
If the image was LZW compressed you would expect to have a size of less
than 9000 bytes. If you open the image with Photoshop and saves it from
Photoshop, you'll a filesize like that.
The good news is (hopefully) that your [GFX][im_path_lzw] path is
correctly set so the gif_compress() function will take care of the
compression for you!"
Re: Trying out Typo3 CMS ... no LZW GIF compression?
True, but this is not the point.
The point is that I do expect the (optional?) usage of the LZW algorithm
for GIFs inside the DLL shipped with PHP5 packages.
Why should they consider removing it when it is available in the
package available at the web site? (which is useless for PHP though)