swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Crop to visible Text


From: Matthias Kramm
Subject: Re: [Swftools-common] Crop to visible Text
Date: Mon, 10 May 2010 12:01:27 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, May 10, 2010 at 01:27:39PM +0200, Reinhard Sacher <address@hidden> 
wrote:
> >From MS-Word, I print a document via PDF-Creator to a PDF.
> >From there I convert it, using swftools
> 
> I need to cut the white space (crop) above, below, left and right of the
> text.
> And maybe add a small percentage again, to to trim the SWF to the
> text-portion only.

If you know the amount of whitespace you want to crop, you can 
use
    pdf2swf -c <x1>:<y1>:<x2>:<y2> file.pdf -o file.swf

with 
<x1> = left whitespace
<x2> = page width - right whitespace
<y1> = top whitespace
<y2> = page height - bottom whitespace

HTH,

Matthias



reply via email to

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