swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] pdf2swf - list of -s parameters


From: Matthias Kramm
Subject: Re: [Swftools-common] pdf2swf - list of -s parameters
Date: Sun, 17 Jun 2007 18:40:06 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, May 30, 2007 at 05:32:48PM +0200, Olaf van der Grijspaarde wrote:
> Since I am using pdf2swf I seem to stumble upon new interesting -s
> parameters for pdf2swf on a regular basis, mostly for trouble solving.
> ...
> Does anyone have a list of the available encoder options?

Good question. These probably should be documented somewhere.

Here you go:

fontdir - a directory with additional fonts
font - an additional font filename
pages - the range of pages to convert (same as -p)
zoom - the resultion (default: 72)
jpegdpi - resolution adjustment for jpeg images
jpegsubpixels - resolution adjustment for jpeg images (same as jpegdpi, but in 
pixels)
ppmdpi - resolution adjustment for lossless images
ppmsubpixels - resolution adjustment for  lossless images (same as ppmdpi, but 
in pixels)
subpixels - 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 of links (format: RRGGBBAA)
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
reordertags - (default: on) perform some tag optimizations
internallinkfunction - when the user clicks a internal link (to a different 
page) in the converted file, this actionscript function is called
externallinkfunction- when the user clicks an external link (e.g. 
http://www.foo.bar/) on the converted file, this actionscript function is called
diable_polygon_conversion - never convert strokes to polygons (will remove 
capstyles and joint styles)
caplinewidth - 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 - the SWF fileversion (6)
minlinewidth - convert horizontal/vertical boxes smaller than this width to 
lines (0.05) 
animate - insert a showframe tag after each placeobject (animate draw order of 
PDF files)
jpegquality - set compression quality of jpeg images






reply via email to

[Prev in Thread] Current Thread [Next in Thread]