2007/7/6, Henry Minsky <[EMAIL PROTECTED]>:
I have a bunch of individual swf files which contain more or less static
images, which I would like to render as png files
Gnash is the wriong tool for this, but there is swfextract in the
swftools package
that will do exactly what you want. apt-get install swftools && man swfextract
You'll need to know the object IDs of the jpeg images. For example, to
barf the first 10 objects you can use
for a in 1 2 3 4 5 6 7 8 9 10
do
swfextract --jpegs $a --output image-$a.jpg inputfile.swf
done
This will complain about non-jpeg objects but hey.
Similarly there is a --pngs flag if they images are stored as PNGs in
the SWF file.
For an automated error-free dump I guess you'd want to generate the
right JPEG and PNG object numbers from the output of some tools like
swfdump or swf_dump
Also, I'm having trouble compiling gnash on a debian linux system, I did
a
clean checkout but autoconf is barfing at me
Run
./autogen.sh
rather than running autoconf manually.
There is a specific guide to building on Debian in the Gnash wiki.
See http://gnash.lulu.com/wiki/index.php/Gnash#Building
Let us know if you still have problems
M
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev