...

View Full Version : Still Gifs



flynch01
04-29-2008, 06:29 PM
Ok I have no idea what section I should post this but. Is there any way to only display the first frame of an animated gif? Like... I'm guessing this would be something involving the GD library or would I have to just make an extra file of just the first frame?

BabyJack
04-29-2008, 07:05 PM
Save the .gif as a .png file.
If that doesnt work, jpg. BUT NOT A BMP file.

flynch01
04-29-2008, 07:07 PM
May as well just make a copy of the file, no point. I wanted to only have one file but ok. Thanks anyway.

mlseim
04-29-2008, 07:25 PM
Here's my solution ....

http://www.catpin.com/arts.php

Use GD to convert to PNG ...
That only grabs the first frame.

View HTML and PHP script is shown.

flynch01
04-29-2008, 07:32 PM
That's fantastic. Thanks a million. Just what I needed =D.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum