View Full Version : Still Gifs
04-29-2008, 07: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?
04-29-2008, 08:05 PM
Save the .gif as a .png file.
If that doesnt work, jpg. BUT NOT A BMP file.
04-29-2008, 08: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.
04-29-2008, 08:25 PM
Here's my solution ....
Use GD to convert to PNG ...
That only grabs the first frame.
View HTML and PHP script is shown.
04-29-2008, 08:32 PM
That's fantastic. Thanks a million. Just what I needed =D.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.