[Top][All Lists]

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

Re: [Swftools-common] Splitting the pdf/swf in two

From: Matthias Kramm
Subject: Re: [Swftools-common] Splitting the pdf/swf in two
Date: Fri, 9 May 2008 17:52:43 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, May 09, 2008 at 04:15:07PM +0200, André Myrbråten <address@hidden> 
> Is this something the pdf2swf -c option or swfbbox can do? How would I go
> about doing this?

I'd use 
    pdf2swf -I file.pdf
to find out the page size width/height and then
    pdf2swf -c 0:0:width/2:height -m 0:0 file.pdf -o page1.swf
for the first page (substitute "width/2" and "height" by the
corresponding values) and
    pdf2swf -c 0:0:width/2:height -m -width/2:0 file.pdf -o page2.swf
for the second.

Alternatively, you can first generate a SWF of both pages, and
then use 
    swfcombine -d -X width/2 -Y height -x 0 -y 0 file.swf -o page1.swf
    swfcombine -d -X width/2 -Y height -x -width/2 -y 0 file.swf -o page2.swf
The latter produces bigger SWF files, though, so the former method is



reply via email to

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