[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] help for workflow
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] help for workflow |
Date: |
Wed, 30 Jul 2008 16:58:12 +0200 |
User-agent: |
Mutt/1.5.6i |
On Wed, Jul 30, 2008 at 01:59:58PM +0200, Benedikt Quirmbach <address@hidden>
wrote:
> pdf2swf:
> It looks like I get a pagex.swf out of pdf2swf that is much larger
> than 424 X 600 px.
You can use "-s zoom=x" (default:72) to specify the page width.
You can get the (original) page width/height using "pdf2swf -I", so the
formula should be something like this:
x = 72 * width / 424
with "width" the page width as returned by "pdf2swf -I", and
x the value for "-s zoom=".
Notice that scaling like this always mains the aspect ratio. If
you need different scaling factors for vertical and horizontal,
you'll need to use use swfcombine --scalex/y.
Greetings
Matthias