# GD Graphics Library now supports .gif

**URL:** <https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003>\
**Category:** Uncategorized\
**Created:** [July 23, 2004, 7:25am UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003 "2004-07-23T07:25:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![andr\_in](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/andr_in/32/37_2.png) [@andr\_in](https://forum.kirupa.com/u/andr_in)\
**Post date:** [July 23, 2004, 7:25am UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/1 "2004-07-23T07:25:13Z")

</div>

> Version 2.0.28 restores support for GIF images, thanks to the recent expiration of several patents.  
> although i never use gifs and don’t recommend them… still good to know =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 23, 2004, 7:32am UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/2 "2004-07-23T07:32:27Z")

</div>

well… it’s about time that the pattents are expired, but I never use them either, thanks 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 23, 2004, 10:15am UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/3 "2004-07-23T10:15:11Z")

</div>

Aren’t gifs much more useful when it comes to simple, crips graphics ? (ie pixel buttons / smileys etc…) ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 23, 2004, 10:38am UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/4 "2004-07-23T10:38:50Z")

</div>

> [@mlk](#):
>
> Aren’t gifs much more useful when it comes to simple, crips graphics ? (ie pixel buttons / smileys etc…) ?

actually it’s always better to use png instead of gif but if u want to use pixel fonts with gd the tehy’re useful (although 'd still use png) 😉

---

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [July 28, 2004, 7:53pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/5 "2004-07-28T19:53:06Z")

</div>

GIF allows you to control how many color channels there are. GIF also allows you to control how many color hexes there are out of 256. I don’t know why people think PNG is better, since PNG just gives transparency, along with a huge size boost.

GIF is extremely useful to control size. That’s what I used for my footer and I got the gif to save the footer at 14.97 kb.

---

<div class="post-metadata">

**Author:** ![andr\_in](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/andr_in/32/37_2.png) [@andr\_in](https://forum.kirupa.com/u/andr_in)\
**Post date:** [July 28, 2004, 8:08pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/6 "2004-07-28T20:08:48Z")

</div>

Some ppl who use linux and all that kinds of stuff can’t view gifs

---

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [July 28, 2004, 8:12pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/7 "2004-07-28T20:12:09Z")

</div>

Ah, gotcha :).

---

<div class="post-metadata">

**Author:** ![LoungeActx](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@LoungeActx](https://forum.kirupa.com/u/LoungeActx)\
**Post date:** [July 29, 2004, 12:46pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/8 "2004-07-29T12:46:03Z")

</div>

Still, GIF is still useful, especially for file size.

PNG are awesome because they support semi-transarent items. But again, the file sizes are insane. When everyone joins the 21st century (or is it the 22nd now?) and gets the high speed connection PNG will definately phase out the GIF. But as long as dial-up is still around, GIF will definately be around.

:cap:

---

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [July 29, 2004, 1:01pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/9 "2004-07-29T13:01:37Z")

</div>

8-bit PNGs are very similar to gifs and can rival gif in file size with similar settings (often much better, but not always).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 29, 2004, 1:45pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/10 "2004-07-29T13:45:48Z")

</div>

> [@LoungeActx](#):
>
> When everyone joins the 21st century (or is it the 22nd now?) and gets the high speed connection PNG will definately phase out the GIF. But as long as dial-up is still around, GIF will definately be around.

So basically GIF will be around forever 😛

---

<div class="post-metadata">

**Author:** ![eyezberg](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eyezberg](https://forum.kirupa.com/u/eyezberg)\
**Post date:** [August 1, 2004, 4:51pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/11 "2004-08-01T16:51:16Z")

</div>

Where’s that info from?  
Would be cool to finally get gif support back into GD!  
IE is still the most used browser, and no matter how many of ya are gonna start the “I use Firefox and it rox” song, IE is what it is: a bad browser not correctly supporting png’s:  
[http://homepage.ntlworld.com/bobosola/pngtest.htm](http://homepage.ntlworld.com/bobosola/pngtest.htm)  
You need workarounds to get the transparency right, so gif’s ARE still usefull… and then, make me an animated png… 😉

---

<div class="post-metadata">

**Author:** ![andr\_in](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/andr_in/32/37_2.png) [@andr\_in](https://forum.kirupa.com/u/andr_in)\
**Post date:** [August 1, 2004, 5:09pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/12 "2004-08-01T17:09:48Z")

</div>

hm I thought I posted a link too but meh… [Short Term Loans | Boutell.co.uk | Borrow £50 - £2500 Instantly](http://www.boutell.com/gd/)  
who uses animated gifs these days? Flash all the way man 😉 🍺

---

<div class="post-metadata">

**Author:** ![955](https://avatars.discourse-cdn.com/v4/letter/9/4bbf92/32.png) [@955](https://forum.kirupa.com/u/955)\
**Post date:** [August 1, 2004, 5:15pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/13 "2004-08-01T17:15:52Z")

</div>

Actually, 8-bit PNGs have exactly the same level of support in IE as GIFs do (ie, binary transparency) 😉

---

<div class="post-metadata">

**Author:** ![GW02](https://avatars.discourse-cdn.com/v4/letter/g/c0e974/32.png) [@GW02](https://forum.kirupa.com/u/GW02)\
**Post date:** [August 1, 2004, 11:56pm UTC](https://forum.kirupa.com/t/gd-graphics-library-now-supports-gif/117003/14 "2004-08-01T23:56:59Z")

</div>

Yeah, but unfortunately to use its futher enhancements (semi-transparency) you have to use a long list of style effects that seem to involve DirectX.

Way to go Microsoft.
