473,394 Members | 1,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Trying out Typo3 CMS ... no LZW GIF compression?

Hi there,

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!"

-Andreas

May 22 '07 #1
2 2453
Andreas Eibach wrote:
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.
An 8-bit PNG would probably be 8000 bytes.

--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux
May 22 '07 #2

"Toby A Inkster" <us**********@tobyinkster.co.ukwrote:
Andreas Eibach wrote:
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.

An 8-bit PNG would probably be 8000 bytes.
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
"regular" GDLib
package available at the web site? (which is useless for PHP though)

-Andreas

May 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steve | last post by:
Hello I hope that this is ok posted to this group. I am looking for developers / consultants who have an excellent working knowledge of PHP. The primary requirement would be to work on...
0
by: Niels Berkers | last post by:
Hi Group, TROS a dutch broadcasting company recently join the typo3 community. The saw the community was lacking a good english forum so they started hosting one of their own. ...
0
by: HokuS | last post by:
Hi, Are they available and if yes where are any TYPO3 web site templates? You know, to quickly create my first TYPO3 enabled site. Thanks
1
by: DV | last post by:
Hello group, Does anyone of you use the CMS "Typo3"? If so: it seems that it can parse XML for import or for doint other interesting stuff (i.e. building flash movies according to...
1
by: Frieder Schlönz | last post by:
Hi there, does anybody know a good TYPO3 newsgroup, web boards or easy tutorials? Many thanks for your help! Frieder
0
by: nick78 | last post by:
hi, i want to create a web form where someone can do some input or pick strings from select boxes. after that the person can click a preview button and a website will be generated dynamically....
1
by: nishac | last post by:
I am using the Content Management tool typo3 to create my website.In that I am including several menus and sub menus.I need the main menus to drop down and show its submenus.Does anyone know how this...
4
by: nishac | last post by:
Friends I have been working with typo3 for a week.I have encountered a problem which needs a fast efficient solution. The contact us form I created shows some bad format with the validation...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.