fixed bug in jpeg2000 decoding
[swftools.git] / src / png2swf.1
index c3ed59b..e69679f 100644 (file)
@@ -1,4 +1,4 @@
-.TH png2swf "1" "February 2004" "png2swf" "swftools"
+.TH png2swf "1" "April 2009" "png2swf" "swftools"
 .SH NAME
 png2swf - Takes a number of png files and converts them to a swf movie, one
 picture per frame.
@@ -13,9 +13,7 @@ converted picture is a seperate frame in the target SWF.
 .PP
 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.
+compression algorithm is used).
 
 .SH OPTIONS
 .TP
@@ -25,6 +23,16 @@ though, to preserve the alpha, which can't be encoded in any other way in the SW
 \fB\-o\fR, \fB\-\-output\fR \fIfilename\fR
     Explicitly specify output file. (Otherwise, output will go to stdout / output.swf)
 .TP
+\fB\-j\fR, \fB\-\-jpeg\fR \fIquality\fR
+    Generate a lossy jpeg bitmap inside the SWF, with a given quality (1-100)
+.TP
+\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\-T\fR, \fB\-\-flashversion\fR 
+    Set the flash version to generate
+.TP
 \fB\-X\fR, \fB\-\-pixel\fR \fIwidth\fR
     Force movie width to \fIwidth\fR (default: autodetect)
 .TP
@@ -34,8 +42,17 @@ though, to preserve the alpha, which can't be encoded in any other way in the SW
 \fB\-v\fR, \fB\-\-verbose\fR \fIlevel\fR
     Set verbose level (0=quiet, 1=default, 2=debug)
 .TP
+\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 <kramm@quiss.org>