-r prints the correct framerate now
[swftools.git] / pdf2swf / pdf2swf.1
1 .TH pdf2swf "1" "January 2003" "pdf2swf" "swftools"
2 .SH NAME
3 pdf2swf - convert PDF files into SWF
4 .SH Synopsis
5 .B pdf2swf
6 [\fIoptions\fR] \fIfile.pdf\fR [-o \fIfile.swf\fR]
7 .SH DESCRIPTION
8 This tools converts Acrobat PDF files into Flash SWF Animation
9 files.
10 .SH OPTIONS
11 .TP
12 \fB\-h\fR, \fB\-\-help\fR
13 Print short help message and exit
14 .TP
15 \fB\-V\fR, \fB\-\-version\fR
16 Print version info and exit
17 .TP
18 \fB\-p\fR, \fB\-\-pages\fR \fIrange\fR
19 Convert only pages in \fIrange\fR with \fIrange\fR e.g. 1-20 or 1,4,6,9-11 or
20 3-5,10-12
21 .TP
22 \fB\-v\fR, \fB\-\-verbose\fR
23 Be verbose. Use more than one -v for greater effect.
24 .TP
25 \fB\-z\fR, \fB\-\-zlib\fR
26 Use Flash 6 (MX) zlib compression.
27 \fBThe resulting SWF will not be playable in browsers with Flash Plugins 5 and below!\fR
28 .TP
29 \fB\-i\fR, \fB\-\-ignore\fR
30 Allows pdf2swf to change the draw order of the pdf. This may make the generated
31 SWF files a little bit smaller, but it may also cause the images in the pdf to look funny.
32 .TP
33 \fB\-j\fR, \fB\-\-jpegquality\fR \fIquality\fR
34 Set quality of embedded jpeg pictures to \fIquality\fR. 0 is worst (small), 100 is best (big). (default:85)
35 .TP
36 \fB\-s\fR, \fB\-\-set\fR \fIparam=value\fR
37 Set a SWF encoder specific parameter. See pdf2swf \-\-help for more information.
38 .TP
39 \fB\-w\fR, \fB\-\-samewindow\fR
40 When converting pdf hyperlinks, don't make the links open a new window when clicked on,
41 but open the page they point to in the window the SWF is displayed.
42 .TP
43 \fB\-t\fR, \fB\-\-stop\fR
44 Insert a stop() command in each page. The resulting SWF file will not turn pages automatically.
45 .TP
46 \fB\-T\fR, \fB\-\-flashversion\fR \fInum\fR
47 Set Flash Version in the SWF header to \fInum\fR.
48 .TP
49 \fB\-F\fR, \fB\-\-fontdir\fR \fIdirectory\fR
50 Add \fIdirectory\fR to the font search path.
51 .TP
52 \fB\-b\fR, \fB\-\-defaultviewer\fR 
53 Link a standard viewer to the swf file. Therefore the swf file will be "browseable", i.e.
54 display some buttons for turning pages.
55 The viewer swf to be used is determined by a symlink named "default_viewer.swf" in
56 the swftools data directory.
57 .TP
58 \fB\-l\fR, \fB\-\-defaultloader\fR
59 Link a standard preloader to the swf file which will be displayed while the main swf is
60 loading.
61 The loader swf to be used is determined by a symlink named "default_loader.swf" in
62 the swftools data directory.
63 .TP
64 \fB\-B\fR, \fB\-\-viewer\fR \fIfilename\fR
65 Link viewer \fIfilename\fR to the swf file. See http://www.quiss.org/swftools/pdf2swf_usage.html
66 for information on how to create your own viewers.
67 .TP
68 \fB\-L\fR, \fB\-\-loader\fR \fIfilename\fR
69 Link preloader \fIfilename\fR to the swf file, where \fIfilename\fR
70 is an arbitrary swf animation.
71 .SH BUGS
72 .PP
73 dashed lines don't work.
74
75 .SH AUTHOR
76
77 Matthias Kramm <kramm@quiss.org>