new parameter addspacechars
[swftools.git] / src / pdf2swf.1
1 .TH pdf2swf "1" "June 2008" "pdf2swf" "swftools"
2 .SH NAME
3 pdf2swf - Converts Acrobat PDF files into Flash SWF Animation files.
4
5 .SH Synopsis
6 .B pdf2swf [-options] file.pdf -o file.swf
7
8 .SH DESCRIPTION
9 Converts a PDF file to a SWF file.
10
11 .SH OPTIONS
12 .TP
13 \fB\-h\fR, \fB\-\-help\fR 
14     Print short help message and exit
15 .TP
16 \fB\-V\fR, \fB\-\-version\fR 
17     Print version info and exit
18 .TP
19 \fB\-o\fR, \fB\-\-output\fR file.swf
20     will go into a seperate file.
21 .TP
22 \fB\-p\fR, \fB\-\-pages\fR range
23     3-5,10-12
24 .TP
25 \fB\-P\fR, \fB\-\-password\fR password
26     Use password for deciphering the pdf.
27 .TP
28 \fB\-v\fR, \fB\-\-verbose\fR 
29     Be verbose. Use more than one -v for greater effect.
30 .TP
31 \fB\-z\fR, \fB\-\-zlib\fR 
32     The resulting SWF will not be playable in browsers with Flash Plugins 5 and below!
33 .TP
34 \fB\-i\fR, \fB\-\-ignore\fR 
35     SWF files a little bit smaller, but it may also cause the images in the pdf to look funny.
36 .TP
37 \fB\-j\fR, \fB\-\-jpegquality\fR quality
38     Set quality of embedded jpeg pictures to quality. 0 is worst (small), 100 is best (big). (default:85)
39 .TP
40 \fB\-s\fR, \fB\-\-set\fR param=value
41     Set a SWF encoder specific parameter.  See pdf2swf -s help for more information.
42 .TP
43 \fB\-w\fR, \fB\-\-samewindow\fR 
44     When clicked on, the page they point to will be opened in the window the SWF is displayed.
45 .TP
46 \fB\-t\fR, \fB\-\-stop\fR 
47     The resulting SWF file will not turn pages automatically.
48 .TP
49 \fB\-T\fR, \fB\-\-flashversion\fR num
50     Set Flash Version in the SWF header to num.
51 .TP
52 \fB\-F\fR, \fB\-\-fontdir\fR directory
53     Add directory to the font search path.
54 .TP
55 \fB\-b\fR, \fB\-\-defaultviewer\fR 
56     Therefore the swf file will be "browseable", i.e.  display some buttons for turning pages.
57     The viewer swf to be used is determined by a symlink named "default_viewer.swf" in
58     the swftools data directory.
59 .TP
60 \fB\-l\fR, \fB\-\-defaultloader\fR 
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 filename
65     See http://www.quiss.org/swftools/pdf2swf_usage.html for information on how to create your own viewers.
66 .TP
67 \fB\-L\fR, \fB\-\-preloader\fR filename
68     filename is an arbitrary swf animation.
69 .TP
70 \fB\-q\fR, \fB\-\-quiet\fR 
71     Suppress normal messages.  Use -qq to suppress warnings, also.
72 .TP
73 \fB\-S\fR, \fB\-\-shapes\fR 
74     Don't use SWF Fonts, but store everything as shape.
75 .TP
76 \fB\-f\fR, \fB\-\-fonts\fR 
77     Store full fonts in SWF. (Don't reduce to used characters).
78 .TP
79 \fB\-G\fR, \fB\-\-flatten\fR 
80     This usually makes the file faster to render and also usually smaller, but will increase
81     conversion time.
82 .TP
83 \fB\-I\fR, \fB\-\-info\fR 
84     Don't do actual conversion, just display a list of all pages in the PDF.
85 .TP
86 \fB\-Q\fR, \fB\-\-maxtime\fR n
87     Abort conversion after n seconds. Only available on Unix.