On 11/03/2012 12:21 PM, Matthias Kramm
wrote:
On Sat, Nov 03, 2012 at 09:54:46AM +0100, Pablo Beltran <address@hidden> wrote:
Movieclips created by using SWFTools have a lot of children of two types:
Shape and TextBlock.
Is there any way to identify jpeg and png images?
Run
swfextract file.swf
.
It will print out lines like:
[-j] 22 JPEGs: ID(s) 237, 239, 241, 243,
[-p] 1 PNGs: ID(s) 642
Those are the IDs that contain JPEGs and PNGs.
If you run
swfdump -u file.swf
it will tell you which IDs are used by Shapes:
[002] 44 DEFINESHAPE defines id 0643
uses IDs: 642
I.e., in this case, ID 0643 is drawing a PNG.
Matthias
---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>
Time to shamelessly plug my app. If
you are using Linux, you can use Flash Extractor. It's my GUI
rapper
around swftools and ffmpeg. Select your swf and choose extract. It
will show you everything embedded in the flash file. You can also
right click on any element, a movie clip for example, and it will
show all the elements that make it up. From there, you can extract
anything you want.
Here's the link:
http://sourceforge.net/projects/flashextractor/
Chris