Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: delancie on Thu 29/10/2009 23:13:28

Title: Animated GIF w/ frames w/ different widths
Post by: delancie on Thu 29/10/2009 23:13:28
I'm working on some sprites of Star Trek TNG folks, and I would like to create an animated GIF of my progress so I can share with my friends.  I'm running into a problem, though, because the frames that constitute the animation have varying widths.  This GIF program I'm using (UnFreez) is left justifying all the frames, so the result is choppy (see below).


(http://www.thesequelpolice.com/PICARDSPRITE.gif)

Does anyone know of a way to take a bunch of frames like this and create a "centered" animated GIF?

Thanks!
Ian
Title: Re: Animated GIF w/ frames w/ different widths
Post by: TerranRich on Thu 29/10/2009 23:50:36
You have to manually resize the canvas (background) of each image so they match each other.

Also, this is not an AGS question so it doesn't belong here. :)
Title: Re: Animated GIF w/ frames w/ different widths
Post by: Snarky on Fri 30/10/2009 13:33:25
You can easily create a Photoshop macro that centers each frame on a certain-size canvas. Then batch-process all the images with that macro. That should save you some time.
Title: Re: Animated GIF w/ frames w/ different widths
Post by: TerranRich on Fri 30/10/2009 15:21:25
Also, on one of the down-right frames, there is a line of white pixels in the bottom-right corner. Might want to look at the frames for that loop to fix that. :)