X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=src%2Fpng2swf.1;h=c3ed59be3130d28d4b5cb39db1aa63fdb34ff2e3;hp=9e3619f06690ebdc6d21765bf3e607295b626ed9;hb=6f3e9add89a0157ef6552bc154475b43b371e615;hpb=7133cc0e1e4d1be5d8a04b39e75ab6cd1b3ee3a0 diff --git a/src/png2swf.1 b/src/png2swf.1 index 9e3619f..c3ed59b 100644 --- a/src/png2swf.1 +++ b/src/png2swf.1 @@ -1,37 +1,41 @@ -.TH png2swf "1" "January 2003" "png2swf" "swftools" +.TH png2swf "1" "February 2004" "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). Under special circumstances, when the image +is 32 bpp with alpha information, it is converted to (lossy) jpeg compression +though, to preserve the alpha, which can't be encoded in any other way in the SWF. + .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\-X\fR, \fB\-\-pixel\fR \fIwidth\fR + Force movie width to \fIwidth\fR (default: autodetect) .TP -\fB\-Y\fR, \fB\-\-height\fR \fIscale\fR -Force movie height to \fIscale\fR (default: autodetect) +\fB\-Y\fR, \fB\-\-pixel\fR \fIheight\fR + Force movie height to \fIheight\fR (default: autodetect) .TP -\fB\-o\fR, \fB\-\-output\fR \fIfilename\fR -Explicitly specify output file. (Otherwise, output will go to stdout / output.swf) +\fB\-v\fR, \fB\-\-verbose\fR \fIlevel\fR + Set verbose level (0=quiet, 1=default, 2=debug) .TP -\fB\-r\fR, \fB\-\-framerate\fR \fIrate\fR -Set movie framerate (frames per second). - -.SH AUTHORS - -Matthias Kramm +\fB\-C\fR, \fB\-\-cgi\fR + For use as CGI- prepend http header, write to stdout .TP -Rainer Böhme - +\fB\-V\fR, \fB\-\-version\fR + Print version information and exit