implemented --framerate.
[swftools.git] / FAQ
1 1.) What's the cost of swftools?
2
3     SWFTools is free of charge, and is released under the GPL
4     (http://www.gnu.org/licenses/gpl.html).
5
6 2.) How to compile/link swftools?
7
8     Download swftools-0.4.2.tar.gz and t1lib-1.3.1.tar.gz.
9
10     gzip -d swftools-0.4.2.tar.gz
11     gzip -d t1lib-1.3.1.tar.gz
12     tar -xf t1lib-1.3.1.tar
13     cd t1lib-1.3.1
14     ./configure
15     make 
16     make install
17     cd ..
18     tar -xf swftools-0.4.2.tar
19     cd swftools-0.4.2
20     ./configure
21     make 
22     make install
23
24 3.) Is there a pdf2swf for Windows?
25
26     No. pdf2swf only runs on Unix platforms, like Linux, *BSD, MacOS X, etc.
27     There have been some reports on more or less successfully compling pdf2swf on Win32 using
28     Cygwin (http://sources.redhat.com/cygwin), however, there's no working version
29     yet.
30     If you want to use pdf2swf, find a Unix machine.
31
32 4.) Is there *going to* be a pdf2swf for Windows?
33
34     Probably. As soon as we find the time to look into the Cygwin compile issues.
35
36 5.) Can png2swf handle transparency?
37
38     It supports PNG mode 2 transparency (alpha palettes) since version 0.4.2. 
39     Mode 6 (32 bit RGBA truecolor) is also supported since version 0.4.3, however
40     it seems most Flash players don't handle the alpha channel in the resulting 
41     32 bit images correctly.
42
43 6.) How to get Flash MX compression with SWFTools?
44
45     Most tools support the -z flag for outputting compressed SWF.
46     Furthermore you can compress/uncompress SWF files using swfcombine:
47
48         swfcombine -dz file.swf -o file_new.swf
49
50     compresses, while
51
52         swfcombine -d file.swf -o file_new.swf
53
54     decompresses.
55
56 7.) avi2swf converts my avi files upside down!
57
58     Try using the -p (--flip) switch.
59
60 8.) How to extract images/sounds from myfile.swf using swfextract?
61
62     First list all extractable items:
63
64         swfextract myfile.swf
65     
66     The result is something like:
67
68         Objects in file myfile.swf:
69         Shapes: 1, 2, 3
70         MovieClips: 4, 5, 8, 10, 12
71         JPEGs: 69, 116, 447
72         PNGs: 318
73         Sounds: 28, 29, 30
74         Frames: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
75
76     Not you can extract a shape using
77
78         swfextract -i 2 myfile.swf -o shape.swf
79
80     a sound using
81         
82         swfextract -s 28 myfile.swf -o sound.wav
83
84     a PNG image file using
85         
86         swfextract -p 318 myfile.swf -o file.png
87
88     etc.
89
90 9.) Is there a mailing list for SWFTools?
91
92     There used to be, however it was shut down due to lack of traffic. The archive
93     is available as raw INBOX file on http://www.quiss.org/swftools/list.tar.gz.
94