From 4956d958e54996c562dcbfc1d62ef41108570cd0 Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 24 Nov 2004 09:13:13 +0000 Subject: [PATCH] Brought up to date --- ChangeLog | 17 +++++++++++++++++ FAQ | 37 ++++++++++++++++--------------------- TODO | 1 - 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77f3a8d..426fed9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -218,3 +218,20 @@ * avi2swf: Is now ported to Win32, too. * pdf2swf: Upgraded to xpdf 3.00 +0.6.3: + * lib/modules/swfrender.c: New module, for shape->bitmap conversion + * lib/rfxswf.c: Several small bugfixes + * lib/modules/swftools.c: New function swf_Optimize() + * src/swfc.c: .outline and .textshape support line drawings now, too + * src/swfc.c: added -O option + * src/swfc.c: added support for including actionscript + * src/swfc.c: frames now start at 1 + * src/swfextract.c: Objects extracted with -i are now scaled to width 512 + * src/swfextract.c: Fixed jpeg extraction bug + * src/wav2swf.c: Big endian fixes + * lib/modules/swfshape.c: too long lines are now split automatically + * configure: Several Mac OS X fixes + * pdf2swf/SWFOutputDev: refactored interface to pdf2swf.cc + * src/png2swf.c: added -z option + * src/jpeg2swf.c: added -z option + diff --git a/FAQ b/FAQ index 84e0a20..7757458 100644 --- a/FAQ +++ b/FAQ @@ -5,22 +5,17 @@ 2.) How to compile/link swftools on Unix/Linux/BSD? - Download swftools-0.x.x.tar.gz and t1lib-1.3.1.tar.gz. + Download swftools-0.x.x.tar.gz. Then type, on the + command-line: - gzip -d swftools-0.x.x.tar.gz - gzip -d t1lib-1.3.1.tar.gz - tar -xf t1lib-1.3.1.tar - cd t1lib-1.3.1 - ./configure - make - make install - cd .. - tar -xf swftools-0.x.x.tar + tar -zvxf swftools-0.x.x.tar cd swftools-0.x.x ./configure make make install + (you will have to be root for the last step) + 3.) What libraries do I need to compile swftools on Unix/Linux/BSD? You need t1lib, freetype and jpeglib to compile pdf2swf. @@ -78,7 +73,7 @@ If this doesn't work, especially if you want to use the python library and get weird exceptions, try to remove all versions of jpeglib, freetype and - lame from /usr/lib and /usr/local/lib, and then run configure/make/make install + lame from /usr/lib and /usr/local/lib, and then run configure / make / make install again. 7.) Is there a pdf2swf/avi2swf for Windows? @@ -113,13 +108,13 @@ Provided you actually own the font in question (here: Myriad-Roman.ttf), you can copy that fonts into your current directory and pass the "-F ./" (--fontpath ./) option to pdf2swf. - If you use a page in several PDFs, you can also simply copy it + If you use a font in several PDFs, you can also simply copy it to (on Windows) C:\SWFTools\Fonts\, or (on Unix) /usr/local/share/swftools/fonts to make it work all the time. 10.) Can png2swf handle transparency? - It supports PNG mode 2 transparency (256 color palettes with alpha) since version 0.4.2. + Yes. It supports PNG mode 2 transparency (256 color palettes with alpha) since version 0.4.2. Mode 6 (32 bit RGBA truecolor) is also supported since version 0.4.4. 11.) How to do Flash MX compression with SWFTools? @@ -148,14 +143,14 @@ The result is something like: Objects in file myfile.swf: - 3 Shapes: ID(s) 1-3 - 5 MovieClips: ID(s) 4, 5, 8, 10, 12 - 3 JPEGs: ID(s) 69, 116, 447 - 1 PNG: ID(s) 318 - 3 Sounds: ID(s) 28-30 - 10 Frames: ID(s) 0-10 - - Not you can extract a shape using + [-i] 3 Shapes: ID(s) 1-3 + [-i] 5 MovieClips: ID(s) 4, 5, 8, 10, 12 + [-j] 3 JPEGs: ID(s) 69, 116, 447 + [-p] 1 PNG: ID(s) 318 + [-s] 3 Sounds: ID(s) 28-30 + [-f] 10 Frames: ID(s) 0-10 + + Now you can extract a shape using swfextract -i 2 myfile.swf -o shape.swf diff --git a/TODO b/TODO index 1f90214..3daccc2 100644 --- a/TODO +++ b/TODO @@ -32,7 +32,6 @@ avi2swf: swfcombine: - * allow "combining" Actionscript and SWF. * "swfcombine -mT file.swf -x 300 file2.swf" doesn't work * "swfcombine file.swf -s 200 box1=file1.swf" doesn't work if file1.swf contains sprites * "swfcombine file.swf -x 200 -y 200 -s 200 box1=file1.swf" doesn't work? -- 1.7.10.4