removed outdated section about jpeg.
[swftools.git] / src / png2swf.doc
index dc2a572..090172e 100644 (file)
@@ -1,6 +1,6 @@
 Usage: %s [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png...]
 
 Usage: %s [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png...]
 
-Takes a number of png files and converts them to a swf movie, one
+Takes a number of gif 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
 picture per frame.
 
 This tools converts png image files into an SWF animation. It takes any
@@ -9,15 +9,17 @@ 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
 .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).
 
 -r, --rate <framerate>
     Set movie framerate (frames per second)
 -o, --output <filename>
     Set name for SWF output file.
     Explicitly specify output file. (Otherwise, output will go to stdout / output.swf)
 
 -r, --rate <framerate>
     Set movie framerate (frames per second)
 -o, --output <filename>
     Set name for SWF output file.
     Explicitly specify output file. (Otherwise, output will go to stdout / output.swf)
+-z  --zlib    <zlib>        
+    Enable Flash 6 (MX) Zlib Compression
+    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.
 -X, --pixel <width>
     Force movie width to <width> (default: autodetect)
 -Y, --pixel <height>
 -X, --pixel <width>
     Force movie width to <width> (default: autodetect)
 -Y, --pixel <height>