swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] unable to use poly2bitmap in gfx module on window


From: Bharat Varma
Subject: Re: [Swftools-common] unable to use poly2bitmap in gfx module on windows
Date: Wed, 6 May 2009 14:22:09 +0530

2009/5/1 Bharat Varma <address@hidden>
2009/5/1 Matthias Kramm <address@hidden>

On Fri, May 01, 2009 at 06:58:37PM +0530, Bharat Varma <address@hidden> wrote:
> This causes a crash (brings down the python process also) with ID Table
> overflow and 65536 shapes error.

Yes, this is a known problem in 0.9.0.
A workaround is to set the poly2bitmap option on
the document instead:

>>> import gfx
>>> doc = gfx.open("pdf", "sample.pdf")
>>> doc.setparameter("poly2bitmap", "1")

Matthias





Works like a charm. Thank you. Hoping to see support for > 65535 shapes soon :)


Bharat Varma

Hi,

I think I found another issue with regard to poly2bitmap in API on Windows.

document.setparameter("poly2bitmap", "1") and document.setparameter("bitmap", "1") - both of them give the same output, which corresponds to "bitmap". I am able to get "poly2bitmap" output using the command line though. Both pdf2swf.exe -s poly2bitmap and pdf2swf.exe -O1 seem to work.

Bharat Varma


reply via email to

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