Hi,
I know that GD2 don't have gif-support due to licens issues but I know that there should be a hack for it somewhere but I really can't find it. I tried an old hack but it didn't seem to work. Or do anyone have the old patched GD1 .dll file with gif-support..I am running under windows and need .dll files. Would be great, all my designwork is gifs..
And do anyone have experience with running .png files in explorer, what are the limitations? Is there any?
Thanks,
Greetings from Snobba
GD2 with gif-support
I have used pngs and they are better IMHO than gifs on IE. They also work well in linux. The transparency can be set to a percentage which is very cool but mozilla is the only browser that I know of that displays it correctly. IE will just make it solid. You can use a png for anything you use a gif for and IE will display it fine. It also does better for making a jpeg have a tranparent area where a gif would make it look really crappy and the file would be way bigger than it should be.
The only problem with png transparency is when you are trying to use it to make something "see through" or tinted. If you are just wanting to use it to set a color transparent or even better a background then the transparency works just fine.
An example of where I used it was with a store which sold ear rings that had one part that went in the ear and the other part hung off the part that went in the ear. This allowed for "tops" and "drops" to be mixed so they wanted to make it possible to mix the two to see what it would look like with different tops and drops. I used pngs and css to make the images fall on top of each other. If I had used a gif a color would have been transparent but since I used pngs I could make the whole background transparent which made it work really well.
If you really want the gif support you have to use a 1.6 version of gd I believe. Check out the php.net docs and the image functions to see what people say about it. There are a ton of comments that can help you use the gifs if need be but... I am much more of a fan of pngs
Good Luck!
An example of where I used it was with a store which sold ear rings that had one part that went in the ear and the other part hung off the part that went in the ear. This allowed for "tops" and "drops" to be mixed so they wanted to make it possible to mix the two to see what it would look like with different tops and drops. I used pngs and css to make the images fall on top of each other. If I had used a gif a color would have been transparent but since I used pngs I could make the whole background transparent which made it work really well.
If you really want the gif support you have to use a 1.6 version of gd I believe. Check out the php.net docs and the image functions to see what people say about it. There are a ton of comments that can help you use the gifs if need be but... I am much more of a fan of pngs

Good Luck!
Just read that gif support is restored in the latest version. See also http://www.boutell.com/gd/faq.html