added new options
authorkramm <kramm>
Sun, 13 Jan 2008 09:39:48 +0000 (09:39 +0000)
committerkramm <kramm>
Sun, 13 Jan 2008 09:39:48 +0000 (09:39 +0000)
src/png2swf.1
src/png2swf.doc
src/swfdump.1
src/swfdump.c

index d566ffb..84cc957 100644 (file)
@@ -1,4 +1,4 @@
-.TH png2swf "1" "January 2007" "png2swf" "swftools"
+.TH png2swf "1" "January 2008" "png2swf" "swftools"
 .SH NAME
 png2swf - Takes a number of png files and converts them to a swf movie, one
 picture per frame.
@@ -23,6 +23,9 @@ compression algorithm is used).
 \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.
index bd02f84..b57e020 100644 (file)
@@ -16,6 +16,8 @@ compression algorithm is used).
 -o, --output <filename>
     Set name for SWF output file.
     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>        
     Enable Flash 6 (MX) Zlib Compression
     Use Flash MX (SWF 6) Zlib encoding for the output. The resulting SWF will be
index a261abe..57c85a4 100644 (file)
@@ -1,4 +1,4 @@
-.TH swfdump "1" "January 2007" "swfdump" "swftools"
+.TH swfdump "1" "January 2008" "swfdump" "swftools"
 .SH NAME
 swfdump - Display an SWF file's content.
 
@@ -38,6 +38,9 @@ display placement information about objects.
 \fB\-s\fR, \fB\-\-shapes\fR 
     Show shape coordinates/styles
 .TP
+\fB\-F\fR, \fB\-\-fonts\fR 
+    Show font information
+.TP
 \fB\-p\fR, \fB\-\-placements\fR 
     Show placement information
 .TP
index a16f873..99917eb 100644 (file)
@@ -70,6 +70,7 @@ static struct options_t options[] = {
 {"a", "action"},
 {"t", "text"},
 {"s", "shapes"},
+{"F", "fonts"},
 {"p", "placements"},
 {"b", "bbox"},
 {"X", "width"},
@@ -176,6 +177,7 @@ void args_callback_usage(char *name)
     printf("-a , --action                  Disassemble action tags\n");
     printf("-t , --text                    Show text fields (like swfstrings).\n");
     printf("-s , --shapes                  Show shape coordinates/styles\n");
+    printf("-F , --fonts                   Show font information\n");
     printf("-p , --placements              Show placement information\n");
     printf("-b , --bbox                    Print tag's bounding boxes\n");
     printf("-X , --width                   Prints out a string of the form \"-X width\".\n");