Because of the constant attack by the wiki spam bots, accounts that are created and not used will be deleted. If you are a legitimate user, and your IP was blocked, please contact any active administrator - look at Special:RecentChanges and see who is busy fighting spam.

Pdf2swf -s parameters

From SWFTools
Jump to: navigation, search

The −s, −−set param=value - SWF encoder specific parameter options. ( from 'pdf2swf -s help' )

PDF Parameters:

PDF device global parameters:
fontdir=<dir>     a directory with additional fonts
font=<filename>   an additional font filename
pages=<range>     the range of pages to convert (example: pages=1-100,210-)
zoom=<dpi>        the resolution (default: 72)
languagedir=<dir> Add an xpdf language directory
multiply=<times>  Render everything at <times> the resolution
poly2bitmap       Convert graphics to bitmaps
bitmap            Convert everything to bitmaps
SWF Parameters:

SWF layer options:
jpegsubpixels=<pixels>      resolution adjustment for jpeg images (same as jpegdpi, but in pixels)
ppmsubpixels=<pixels        resolution adjustment for  lossless images (same as ppmdpi, but in pixels)
subpixels=<pixels>          shortcut for setting both jpegsubpixels and ppmsubpixels
drawonlyshapes              convert everything to shapes (currently broken)
ignoredraworder             allow to perform a few optimizations for creating smaller SWFs
linksopennewwindow          make links open a new browser window
linktarget                  target window name of new links
linkcolor=<color)           color of links (format: RRGGBBAA)
linknameurl		    Link buttons will be named like the URL they refer to (handy for iterating through links with actionscript)
storeallcharacters          don't reduce the fonts to used characters in the output file
enablezlib                  switch on zlib compression (also done if flashversion>=7)
bboxvars                    store the bounding box of the SWF file in actionscript variables
dots                        Take care to handle dots correctly
reordertags=0/1             (default: 1) perform some tag optimizations
internallinkfunction=<name> when the user clicks a internal link (to a different page) in the converted file, this actionscript function is called
externallinkfunction=<name> when the user clicks an external link (e.g. on the converted file, this actionscript function is called
disable_polygon_conversion  never convert strokes to polygons (will remove capstyles and joint styles)
caplinewidth=<width>        the minimum thichness a line needs to have so that capstyles become visible (and are converted)
insertstop                  put an ActionScript "STOP" tag in every frame
protect                     add a "protect" tag to the file, to prevent loading in the Flash editor
flashversion=<version>      the SWF fileversion (6)
framerate=<fps>		    SWF framerate
minlinewidth=<width>        convert horizontal/vertical boxes smaller than this width to lines (0.05) 
simpleviewer                Add next/previous buttons to the SWF
animate                     insert a showframe tag after each placeobject (animate draw order of PDF files)
jpegquality=<quality>       set compression quality of jpeg images
splinequality=<value>       Set the quality of spline convertion to value (0-100, default: 100).
disablelinks                Disable links.