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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andreas Eibach

    #1

    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

  • Toby A Inkster

    #2
    Re: Trying out Typo3 CMS ... no LZW GIF compression?

    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
    Fast withdrawal casino UK 2025 – Play now & cash out instantly! Discover the top sites for rapid, secure payouts with no delays.

    Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux

    Comment

    • Andreas Eibach

      #3
      Re: Trying out Typo3 CMS ... no LZW GIF compression?


      "Toby A Inkster" <usenet200703@t obyinkster.co.u kwrote:
      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

      Comment

      Working...