Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decompile .swf file to get images in python

Tags:

python

flash

I would like to decompile a .swf file and get all the images from it, in python.

Are there any libraries that do this?

like image 836
quilby Avatar asked Jul 04 '09 00:07

quilby


1 Answers

The SWFTools distribution has a command line program, SWFExtract, that can do this. You could call that from python to do what you want:

http://www.swftools.org/

http://www.swftools.org/swfextract.html

like image 185
ars Avatar answered Sep 23 '22 09:09

ars