Page 1 of 1

Converting Flash assets into Images

PostPosted: Sat Jun 13, 2020 10:51 pm
by Onimiv
Say you want to convert some assets from Flash animations/games into images you can use anywhere. (make sure you have the rights to said assets or they are freely available)

For example, I'll use Adobe Flash CS6 and JPEXS-Decompiler to get a tail from Playshapes Katt.fla. Each "character" (in this case, Katt) can have one, or more, shape/image per body-part if they are digital cutout animations.

Publish FLA files with Adobe Flash, to create SWF files.

You have 2 options to export to images:
  • Use Adobe Flash (for exporting to Raster Images, like PNG)
    Spoiler (click to show/hide):

    export1.png
    Export using Adobe Flash CS6

  • Use a Flash Decompiler (for exporting assets from SWF files as Raster or Vector Images, as in SVG)
    Spoiler (click to show/hide):

    export2.png
    Export using JPEXS-Decompiler

If you export as SVG you can see it in a vector graphics editor (such as Inkscape) and some image viewers.
Spoiler (click to show/hide):

export3.png
SVG in Inkscape
export3.png (64.15 KiB) Viewed 2873 times

Or, if you export to a raster image, any image viewer. However these are not independent from the resolution and can't scale.
Spoiler (click to show/hide):

Katt.png
PNG
Katt.png (15.88 KiB) Viewed 2863 times


And now you can use those assets outside of Flash. Since Adobe Flash was replaced by Adobe Animate it should be able to do the same.
Note that you can use these methods for other file types (sound, etc) but it is easier as there is no need to worry about the format.

Re: Converting Flash assets into Images

PostPosted: Sat Nov 28, 2020 11:19 pm
by Waffle
I found that sometimes... gamemaker can convert swf files to images. It does this by "importing" them, and then re-rendering them out ... tricky, but can be done it you don't have flash.

Re: Converting Flash assets into Images

PostPosted: Mon Nov 30, 2020 1:28 pm
by Onimiv
Waffle Wrote:I found that sometimes... gamemaker can convert swf files to images. It does this by "importing" them, and then re-rendering them out ... tricky, but can be done it you don't have flash.

Godot does the same (always). It's a way to support vector graphics (SVG) while maintaining the speed of using raster graphics (ex: PNG). Of course its converter may not handle some things (newgrounds).

Re: Converting Flash assets into Images

PostPosted: Sun Apr 10, 2022 1:15 am
by Waffle
cool, I just started learning godot this year, I'll have to add that to my experiment list ;)