[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Detecting number of objects
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] Detecting number of objects |
Date: |
Mon, 27 Oct 2008 19:07:44 +0100 |
User-agent: |
Mutt/1.5.11 |
On Mon, Oct 27, 2008 at 02:43:29PM +0100, Eric Friethoff | Modern Media
<address@hidden> wrote:
> Currently the process of such a file will be terminated (Too many
> objects).
>
> I would like the conversion to be an automatic procedure that knows how
> to deal with certain circumstances.
I see.
You can get a rough estimate on whether the file contains more
than 64k objects by doing a test run:
pdf2swf -s zoom=1 file.pdf
The test run will be slightly faster than the "real" pdf2swf
because of the "-s zoom=1", however this will not detect
files which may require more than 64k shapes with
100% certainty, as at lower resolutions e.g. bitmaps might be
re-used more often. It will work for the majority of cases,
though.
Greetings
Matthias