swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] PDF2SWF: Using -O1 Parameter


From: Matthias Kramm
Subject: Re: [Swftools-common] PDF2SWF: Using -O1 Parameter
Date: Tue, 20 May 2008 12:39:03 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, May 20, 2008 at 05:35:43PM +0800, Fred Chan <address@hidden> wrote:
> I would like to verify if "-s poly2bitmap" is same parameter as "-O1"?

Right now, it is: 

-O0: normal conversion (default)
-O1: convert polygons to bitmaps, text to text (-s poly2bitmap)
-O2: convert everything to bitmap (-s bitmap)

I'm thinking about shifting -O1 to -O2 however, so 
that -O1 is --flatten, so we would have:

-O0: normal conversion
-O1: normal conversion + --flatten (reduce clippings)
-O2: convert polygons to bitmaps, text to text
-O3: convert everything to bitmap

Hope this shift won't cause confusion.
Right now, however, -O1 and -s poly2bitmap is equivalent.

> If it is so, I observed that using "-O1" to convert a complex PDF page
> (using 14052008 snapshot) is rather slow (can take up to 4-5 minutes for a
> page) as compared to using "-s poly2bitmap" in an older version (using
> Dec2007 snapshot).

That's true. That's because the implementation got improved (generates
less bitmaps than the Dec2007 snapshot). If I get around to it, I'll
optimize the conversion speed. (It's possible to speed it up by factor 
3-4)

Greetings

Matthias







reply via email to

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