I would like to decompile a .swf file and get all the images from it, in python.
Are there any libraries that do this?
I would like to decompile a .swf file and get all the images from it, in python.
Are there any libraries that do this?
I don't think there are any libraries available for python, but maybe you can have an offline process to decompile swf using sothink flash decompiler Also I did not come across any decompiler so far that is 100% accurate.
There are no public swf decompiler libraries for Python.
Use a 3rd party program and the Python subprocess module to execute it.
The SWFTools distribution has a command line program, SWFExtract, that can do this. You could call that from python to do what you want: