PaulsCode Forum

General => Paul's Projects => Topic started by: Paul on June 20, 2009, 08:12:21 PM

Title: Animated GIFs
Post by: Paul on June 20, 2009, 08:12:21 PM
-- This slot is reserved for the most recent working releases --

(http://www.paulscode.com/images/animations/3d_cd.gif)(http://www.paulscode.com/images/animations/Black_computer.gif)(http://www.paulscode.com/images/animations/Blue_folder.gif)(http://www.paulscode.com/images/animations/Cat_cook.gif)(http://www.paulscode.com/images/animations/Angry_shark.gif)

Downloads:

GIFImage Source Code (http://www.paulscode.com/source/GIFImage/GIFImageSource.zip)  Version date:  July 7, 2009
The base class for loading information from GIF files.  Supports most versions of the GIF format, including single frame (87a), animated (89a), interleaving, transparent color, LZW compression, and "clr" non-compressed data.

GIFLoader Source Code (http://www.paulscode.com/source/GIFLoader/GIFLoaderSource.zip)  Version date:  July 7, 2009
Library for using animated GIFs as textures in jPCT.  Provides methods for loading GIF files into "mosaic textures", animating, checking for current animation frame, and determining the UV coordinates of the current frame.  TODO: add methods for blitting.  This download includes the above GIFImage class.


Demos:

Animated GIF inside an applet (http://www.paulscode.com/demos/GIFImage/)  (download the Source Code (http://www.paulscode.com/source/GIFImage/07JUL2009/GIFAppletSource.zip))
Demonstrates loading and animating a multi-frame GIF image via the GIFImage class.

GIF Box (http://www.paulscode.com/demos/jpct/GIFLoader/)  (download the Source Code (http://www.paulscode.com/source/GIFLoader/07JUL2009/jPCTGIFTestSource.zip))
Demonstrates using animated GIFs as textures in jPCT.


Documentation:

GIFImage and GIFLoader JavaDoc (http://www.paulscode.com/docs/GIFLoader/)  Version date:  July 7, 2009
Title: Re: Animated GIFs
Post by: Paul on June 20, 2009, 08:13:12 PM
Project Overview:

This project is designed to allow developers to use animated GIFs in their jPCT projects.  It will provide simple interface methods for placing GIFs into textures, using them in overlays, or blitting them.

Be sure to let me know if you run into bugs or exceptions, or if you have any suggestions for the library.
Title: Re: Animated GIFs
Post by: Paul on July 07, 2009, 07:57:07 PM
I did some more work on this project.  I created a library for using animated GIFs as textures in jPCT.  Currently, the library is useful for texturing roughly square Object3Ds (i.e. quads).  I still need to add methods for blitting, since that is probably the main thing developers will use GIFs for.  I posted some demo applets and the source code.  If anyone has problems getting them to run, let me know.
Title: Animated GIFs
Post by: WarnerVal on December 24, 2018, 03:01:18 AM
Hmm, the animated textures animated gifs would be more what I'm looking for yes.  I guess a software only wouldn't be necessary just on my account, then.  It looks like there is one there for animated GIF's.
Title: Animated GIFs
Post by: Marvinfum on February 15, 2019, 02:51:05 AM
Old topic, I know.

Theres a little video utility program called "Virtual Dub". Its a decent converting utility, for creating animated .gifs from most video formats. You can tweak the frame rate, and the dimensions of the exported .gif file.