From dc9b35f738dc7d93b219c120523e91021dbf2439 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 13 Jan 2008 09:39:48 +0000 Subject: [PATCH] added new options --- src/png2swf.1 | 5 ++++- src/png2swf.doc | 2 ++ src/swfdump.1 | 5 ++++- src/swfdump.c | 2 ++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/png2swf.1 b/src/png2swf.1 index d566ffb..84cc957 100644 --- a/src/png2swf.1 +++ b/src/png2swf.1 @@ -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. diff --git a/src/png2swf.doc b/src/png2swf.doc index bd02f84..b57e020 100644 --- a/src/png2swf.doc +++ b/src/png2swf.doc @@ -16,6 +16,8 @@ compression algorithm is used). -o, --output Set name for SWF output file. Explicitly specify output file. (Otherwise, output will go to stdout / output.swf) +-j, --jpeg + Generate a lossy jpeg bitmap inside the SWF, with a given quality (1-100) -z --zlib Enable Flash 6 (MX) Zlib Compression Use Flash MX (SWF 6) Zlib encoding for the output. The resulting SWF will be diff --git a/src/swfdump.1 b/src/swfdump.1 index a261abe..57c85a4 100644 --- a/src/swfdump.1 +++ b/src/swfdump.1 @@ -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 diff --git a/src/swfdump.c b/src/swfdump.c index a16f873..99917eb 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -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"); -- 1.7.10.4