X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=src%2Fpng2swf.1;h=e69679f530e762faeff4a05a0b4c14a3503865b1;hp=d9e4789d5ccfee60fee4bd96f1d4ef2c301235f5;hb=f29d8006b1d8253c50808d6eb4941bdeb808c601;hpb=b6b262206550e7308da43d4ebdfd35d52ac2e1a3 diff --git a/src/png2swf.1 b/src/png2swf.1 index d9e4789..e69679f 100644 --- a/src/png2swf.1 +++ b/src/png2swf.1 @@ -1,37 +1,58 @@ -.TH png2swf "1" "January 2003" "png2swf" "swftools" +.TH png2swf "1" "April 2009" "png2swf" "swftools" .SH NAME -png2swf - convert one or more PNG pictures to swf +png2swf - Takes a number of png files and converts them to a swf movie, one +picture per frame. + .SH Synopsis .B png2swf [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png...] + .SH DESCRIPTION -Takes a number of png files and converts them to a swf movie, one -picture per frame. +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 seperate frame in the target SWF. .PP -(SWF files are animation files which can be displayed in Web Browsers using -the Flash Plugin) +The way the +images are encoded in SWF is very similar to PNG (in that a zlib-based, lossless +compression algorithm is used). + .SH OPTIONS .TP -\fB\-h\fR, \fB\-\-help\fR -Print short help message and exit +\fB\-r\fR, \fB\-\-rate\fR \fIframerate\fR + Set movie framerate (frames per second) .TP -\fB\-V\fR, \fB\-\-version\fR -Print version info and exit +\fB\-o\fR, \fB\-\-output\fR \fIfilename\fR + Explicitly specify output file. (Otherwise, output will go to stdout / output.swf) .TP -\fB\-X\fR, \fB\-\-width\fR \fIscale\fR -Force movie width to \fIscale\fR (default: autodetect) +\fB\-j\fR, \fB\-\-jpeg\fR \fIquality\fR + Generate a lossy jpeg bitmap inside the SWF, with a given quality (1-100) .TP -\fB\-Y\fR, \fB\-\-height\fR \fIscale\fR -Force movie height to \fIscale\fR (default: autodetect) +\fB\-z\fR, \fB\-\-zlib\fR \fIzlib\fR + 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. .TP -\fB\-o\fR, \fB\-\-output\fR \fIfilename\fR -Explicitly specify output file. (Otherwise, output will go to stdout / output.swf) +\fB\-T\fR, \fB\-\-flashversion\fR + Set the flash version to generate .TP -\fB\-r\fR, \fB\-\-framerate\fR \fIrate\fR -Set movie framerate (100/sec) - -.SH AUTHORS - -Matthias Kramm +\fB\-X\fR, \fB\-\-pixel\fR \fIwidth\fR + Force movie width to \fIwidth\fR (default: autodetect) +.TP +\fB\-Y\fR, \fB\-\-pixel\fR \fIheight\fR + Force movie height to \fIheight\fR (default: autodetect) +.TP +\fB\-v\fR, \fB\-\-verbose\fR \fIlevel\fR + Set verbose level (0=quiet, 1=default, 2=debug) .TP -Rainer Böhme +\fB\-q\fR, \fB\-\-quiet\fR + Omit normal log messages, only log errors +.TP +\fB\-C\fR, \fB\-\-cgi\fR + For use as CGI- prepend http header, write to stdout +.TP +\fB\-V\fR, \fB\-\-version\fR + Print version information and exit +.TP +\fB\-s\fR, \fB\-\-scale\fR \fIpercent\fR + Scale image to \fIpercent\fR% size. +.SH AUTHOR +Matthias Kramm