How to "GIF to thumbnail"?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

How to "GIF to thumbnail"?

Post by patrikG »

How do you resize a GIF since that format isn't supported by GD anymore?
User avatar
Heavy
Forum Contributor
Posts: 478
Joined: Sun Sep 22, 2002 7:36 am
Location: Viksjöfors, Hälsingland, Sweden
Contact:

Post by Heavy »

If you can. You are encouraged to try the PNG format http://www.libpng.org/.
PNG supports 24-bit bitmaps as well as 8-bit indexed bitmaps.

PNG has an alpha channel (allowing partly or complete transparency) that is REALLY nice when correctly displayed. Most browsers support PNG nowadays, but IE has some bugs related to the alpha channel though.

Aswell, the PNG format compresses VERY well.

This post is definetily not the solution to your specific problem, but I recommend you to play with PNG.
axishift
Forum Newbie
Posts: 1
Joined: Mon May 12, 2003 1:04 am

Post by axishift »

Try using ImageMagick to resize ur images.
Post Reply