SitePoint Sponsor

User Tag List

Results 1 to 17 of 17
  1. #1
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)

    GIF support added back to the GD Library!!

    http://www.boutell.com/gd/

    The Unisys LZW patent expired on the 20th of June 2003 for the U.S. and it will expire world-wide on July 7th, 2004 which means it will be able to be supported in the GD library!! woo hoo!!

  2. #2
    Free your mind Toly's Avatar
    Join Date
    Sep 2001
    Location
    Panama
    Posts
    2,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool!
    Community Guidelines | Community FAQ

    "He that is kind is free, though he is a slave;
    he that is evil is a slave, though he be a king." - St. Augustine

  3. #3
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actually do not understand why people are excited about this. PNG is a far superior format (greater potential color depth, better compression, open source etc.). Only the most antiquated of browsers do not support PNG, why mess around with GIF these days?
    Jason Sweat ZCE - jsweat_php@yahoo.com
    Book: PHP Patterns
    Good Stuff: SimpleTest PHPUnit FireFox ADOdb YUI
    Detestable (adjective): software that isn't testable.

  4. #4
    SitePoint Enthusiast
    Join Date
    Jun 2003
    Location
    Singapore
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IE doesn't support transparency for PNG.

  5. #5
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    But from what I read on their site the GIF isn't to be added until July next year; they're waiting until the world wide patent ends first before continueing with the GIF support. Do not know why the patent owners started all this in the first place; what a mess they've made of things... But it's good news in any case, the wait is almost over.

  6. #6
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by biggulp
    IE doesn't support transparency for PNG.
    Agreed, but isn't it better to pester MS into fixing their bug rather than standardizing on antiquated technology?

  7. #7
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sweatje
    Agreed, but isn't it better to pester MS into fixing their bug rather than standardizing on antiquated technology?
    Well, are you going to pester MS? And how much pestering will it take? I understand your point and all but how long do we wait? Might as well use something we know works

  8. #8
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Hartmann
    Well, are you going to pester MS? And how much pestering will it take? I understand your point and all but how long do we wait? Might as well use something we know works
    Well...hopefully they would have it fixed by the time LZW goes off patent next year worldwide

  9. #9
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sweatje
    Well...hopefully they would have it fixed by the time LZW goes off patent next year worldwide [img]images/smilies/wink.gif[/img]
    There is always hope

  10. #10
    Free your mind Toly's Avatar
    Join Date
    Sep 2001
    Location
    Panama
    Posts
    2,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by sweatje
    I actually do not understand why people are excited about this. PNG is a far superior format (greater potential color depth, better compression, open source etc.). Only the most antiquated of browsers do not support PNG, why mess around with GIF these days?
    I got one simple reason, Users. I use GD to allow uploading of images to my website in PNG and JPEG formats. So far no one has uploaded a PNG file and I have received a bunch of emails asking what PNG is. I just took PNG off.
    Community Guidelines | Community FAQ

    "He that is kind is free, though he is a slave;
    he that is evil is a slave, though he be a king." - St. Augustine

  11. #11
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Toly
    I got one simple reason, Users.
    The dreaded "Terminate User Error" My sympathies.

  12. #12
    Free your mind Toly's Avatar
    Join Date
    Sep 2001
    Location
    Panama
    Posts
    2,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, I forgot to add probably the obvious question of all "Why can't I upload gifs?".
    Community Guidelines | Community FAQ

    "He that is kind is free, though he is a slave;
    he that is evil is a slave, though he be a king." - St. Augustine

  13. #13
    eschew sesquipedalians silver trophy sweatje's Avatar
    Join Date
    Jun 2003
    Location
    Iowa, USA
    Posts
    3,749
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IIRC, the LZW patent only applied to the creation of GIFs, not reading or displaying them. I thought the existing GD library allowed for reading GIFs (for img size and such), but writing was disabled. I wonder if you could get creative and read the uploaded GIF into an img handle and write out a PNG for later use??

  14. #14
    Free your mind Toly's Avatar
    Join Date
    Sep 2001
    Location
    Panama
    Posts
    2,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I'm not very creative. It ain't a big deal anyways.
    Community Guidelines | Community FAQ

    "He that is kind is free, though he is a slave;
    he that is evil is a slave, though he be a king." - St. Augustine

  15. #15
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, you can use GD to read and resize GIF images, just not write to GIF.

    Side Note: IE supports transparency on 8-bit PNGs.
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.

  16. #16
    SitePoint Evangelist
    Join Date
    Nov 2001
    Location
    UK
    Posts
    466
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    actually the patent did apply to both reading and writing though unisys never bothered chasing applications that read file compressed using the LZW algorythm. (which incidentally includes a lot more than just gif - .tiff [tagged information file format] for example)

    as mentioned above Thomas Boutell has opted to not support gif writing within GD until July next year (same as imageMagick btw)

    you may also note that version 2.0.12 of the libraries finally allows a third parameter within the PNG create calls - for compression
    version 2.0.15 has some better antialiasing on lines and such

    wtg Thomas - keep up the good work I say.
    teckis - that's news to me.

  17. #17
    SitePoint Addict seanmayhew's Avatar
    Join Date
    Aug 2002
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •