-
Notifications
You must be signed in to change notification settings - Fork 2
Home
suzumura-ss edited this page Sep 13, 2010
·
4 revisions
Welcome to the flashtojpeg wiki.
Copyright 2009, Toshiyuki Suzumura. under GPL license.
- Mar 7 2009: version 0.0.1 … first commit.
“flashtojpeg” is console utility, it render JPEG from Flash-anmination (SWF).
- Rendering frame by sec.
- Quality of JPEG compression.
- Write JPEG stream to “file” or “stdout”.
“stdout” is useful to use with image prosessor, e.g. “ImageMagick”.
- libfad – “Flash Animation Decode library”
http://sourceforge.net/projects/fad/ - cairo-devel
- SDL-devel
- libjpeg-devel
It install into “/usr/local/bin” by default.
See “flashtojpeg -h” for command-line options.
$ flashtojpeg foo.swf bar.jpg
=> Render “bar.jpg” from “foo.swf”, frame at 0sec(first), JPEG quality is 100(BEST).
$ flashtojpeg foo.swf -q 50 -t 10 bar.jpg
=> Render “bar.jpg” from “foo.swf”, frame at 10 sec, JPEG quality is 50.
$ flashtojpeg foo.swf
=> Print “foo.swf” information that image width(px), height(px) and frame rate.
$ flashtojpeg foo.swf -- | convert - -resize "200x200>" thumb.jpg
=> Write JPEG stream to stdout, and resize with ImageMagick.