pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
GIFImage

GIFImage - 0.9c

RB[0] (roebros)

Tags:

Description

This library provides functionality to load and play GIF animations in pygame.
Also provided are ways to manipulate the animation playback, by setting regions to play, reversing etc.

ATM there is a potential bug where some gif's may not have their palette's set correctly (either some/all frames will be completely black, or they will be jarbled)
If you encounter this, please post here, with a link to the gif (if possible)


Also note, the gifs included are not mine, the football one was a free one from some site, and the hulk is from a tutorial I found on using PIL gifs.

Requires PIL.

Changes

Added a bunch of new images (got these from google and various free emoticon sites, will replace later...) and got all but one to work. The one that won't work I have no clue how to handle, as PIL's gif-player example won't even play any of these gifs really well - and this one it does the exact same thing on (it is the violin one, it has no palette and won't animate). Anyone who would like to try and figure out what is going on here would be really appreciated :)

Links

Home Page: http://ajaxvm.com/downloads/GIFImage.py
Source: http://www.mediafire.com/download.php?jmjmxyzn1wm

Releases

GIFImage - 0.9c - Feb 13, 2009
GIFImage - 0.9b - Feb 13, 2009
GIFImage - 0.9a - Feb 13, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

No user comments have been submitted.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Dec 16, 2014


Dec 14, 2014

Dec 9, 2014

Dec 6, 2014

Dec 5, 2014

Dec 3, 2014

Nov 27, 2014


Nov 13, 2014

Nov 11, 2014


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)