png2swf(1)

png2swf1

Takes a number of png files and converts them to a swf movie, one picture per frame.

Usage

png2swf [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png ...]

Overview

This tools converts png image files into an SWF animation. It takes any number of input pictures, and converts them to SWF one-by-one, where every converted picture is a separate frame in the target SWF.

The way the images are encoded in SWF is very similar to PNG (in that a zlib-based, lossless compression algorithm is used).

Options

-r, --rate framerate

Set movie framerate (frames per second)

-o, --output filename

Explicitly specify output file. (Otherwise, output will go to stdout / output.swf)

-j, --jpeg quality

Generate a lossy jpeg bitmap inside the SWF, with a given quality (1-100)

-z, --zlib zlib

Use Flash MX (SWF 6) Zlib encoding for the output. The resulting SWF will be
smaller, but not playable in Flash Plugins of Version 5 and below.

-T, --flashversion

Set the flash version to generate

-X, --pixel width

Force movie width to width (default: autodetect)

-Y, --pixel height

Force movie height to height (default: autodetect)

-v, --verbose level

Set verbose level (0=quiet, 1=default, 2=debug)

-q, --quiet

Omit normal log messages, only log errors

-C, --cgi

For use as CGI- prepend http header, write to stdout

-V, --version

Print version information and exit

-s, --scale percent

Scale image to percent% size.

Releases

4 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 7
  3. 8–9

--cgi since Debian 7 (Wheezy); --flashversion since Debian 7 (Wheezy); --jpeg since Debian 7 (Wheezy); --output since Debian 7 (Wheezy); --pixel since Debian 7 (Wheezy); --quiet since Debian 7 (Wheezy); --rate since Debian 7 (Wheezy); --scale since Debian 7 (Wheezy); --verbose since Debian 7 (Wheezy); --version since Debian 7 (Wheezy); --zlib since Debian 7 (Wheezy); -C since Debian 7 (Wheezy); -T since Debian 7 (Wheezy); -V since Debian 7 (Wheezy); -X since Debian 7 (Wheezy); -Y since Debian 7 (Wheezy); -j since Debian 7 (Wheezy); -o since Debian 7 (Wheezy); -q since Debian 7 (Wheezy); -r since Debian 7 (Wheezy); -s since Debian 7 (Wheezy); -v since Debian 7 (Wheezy); -z since Debian 7 (Wheezy).

--help until Debian 4.0 (Etch); -h until Debian 4.0 (Etch).

Author

Matthias Kramm <[email protected]>

From swftools 0.9.2+git20130725-4.1 in Debian 9 (Stretch). Parsed by carta from the page's man source.