[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: Help with Imagemagick



On Sat, 28 Jan 2006 11:12:53 -0500, "David Mikesell"
<dave_mikesell@xxxxxxxxxxx> said:
> Got it to work by converting the image to GIF...
 
FYI, here is my Imagemagick script (.bat file).  It's called like this:

createsprite starship_explosion 125 125 70

to create a 70x1 filmstrip of 125x125 images.  The source images are of
the format starship_explosion0001.png...

montage +frame +shadow +label -tile %4x1 -geometry %2x%3+0+0
images\render\%1????.png images\%1.png
mogrify -format GIF images\%1.png
mogrify -transparent black images\%1.gif
mogrify -format PNG images\%1.gif
del images\%1.gif