Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extract images from .swf viewer?

I'm wondering how it possible to extract images from .swf viewer? Note that .swf file have not images itself.

For example I'm trying extract images from AVON catalogue from this link - http://avon.com.ua/PRSuite/eBrochure.page?index=1&cmpgnYrNr=201404&pageNo=0

Any ideas?

like image 931
Oleksandr Fisun Avatar asked Jan 11 '23 23:01

Oleksandr Fisun


2 Answers

Best way is to put the .swf file in a decompiler for image extraction. Decompilers are smart enough to extract images for you and arrange them.

JPEXS Free Flash Decompiler is a more popular one http://www.free-decompiler.com/flash/
You can extract other useful content from it as well. Just download the .swf file from the website

like image 100
Nitish Sharma Avatar answered Jan 18 '23 04:01

Nitish Sharma


A while back (like around 1999) I wrote a set of tools for Flash animations.

One of the tools is swf_dump which can be used to extract objects (i.e. write the objects in a form of script that sswf can nearly recompile...)

The tool also allows for extracting images that are inline (not downloaded dynamically by the flash animation, if so, anyway, you could as well download those images manually, you'd need the URL, though.)

The command line you can use is:

swf_dump -d my-animation.swf

Then your current folder will be littered with all the images that were found in the flash file. It extracts JPEGs and PNGs. The source can be compressed (SWF or CWF are supported.)

Now, you're on your own to compile that thing... The project is here and is in great need of updating (but Flash is kind of going out too...)

https://sourceforge.net/projects/sswf/

like image 23
Alexis Wilke Avatar answered Jan 18 '23 05:01

Alexis Wilke