[Gimp-user] Create layered animation from a tiled animation.
Brian Vanderburg II
BrianVanderburg2 at aim.com
Thu Aug 30 11:06:21 PDT 2007
Out of need I created a script and finally got it working even on 2.3.18.
Normally an animation is either done as one layer for each frame or
using GIMP Animation Package one file per frame. With the first method,
it is not possible to have multiple layers per frame since a layer is a
frame. With the second, multiple files must be kept. While GAP is
good, for simple animations it would be easier to just store each frame
in one image side by side.
This script makes it where the animation is actually in a single file,
each frame tiled horizontally across. The script itself simply converts
the tiled animation into layers. For example, a 32x32 animation with 10
frames would be created as a 320x32 image, and the frames would be at
(0,0)-(31,31),(32,0)-(63,31),etc where the left most part is the first
frame. The animation can have layers. It is possible to have a certain
item appear on each frame simply by creating it in one area and tiling
it across with the Map->Tile plugin. When desired to export the
animation, this script will simply copy the visible part of the image
and cut it based on the frame size into layers automatically.
I don't know where to send this script or if it would be useful to
anyone else, so it is included in this email as an attachment.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tile2anim.scm
Url: /lists/gimp-user/attachments/20070830/c7200188/attachment.pl
More information about the Gimp-user
mailing list