Mobile app version of vmapp.org
Login or Join
Si6392903

: How can I export png layers to flash? (GIMP) I am a GIMP user and I would like to create a flash animated image from PNG in order to preserve the colour quality that otherwise gif fails

@Si6392903

Posted in: #Export #Swf

I am a GIMP user and I would like to create a flash animated image from PNG in order to preserve the colour quality that otherwise gif fails to deliver. I've searched the web but I am having problems since I cannot find a step by step "tutorial" how to install the script/plug in.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Si6392903

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL875

Gimp does not natively support export to SWF animations.

However ther is a Python plugin which claims to be able to create a SWF Flash animation of PNG layers. This plugin makes use of the tool png2swf available through the SWFTOOLS collection of flash utilities.

Linux users may get png2swf through their software repositories. For Windows users there are binaries from the project's download page.

It may be more convenient howveer to just run the png2swf tool from a folder containing a numbered set of png frames to stitch them together to a SWF animation. This requires exporting each layer as a numbered PNG from Gimp to the designated animation folder.

From there we can run the tool in a command line with the following syntax:

png2swf -o file.swf -r <rate> *.png


Where the (optional) option -r specifies the resulting framerate per second.

More options can be found on the manpage for png2swf.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme