2009/5/1 Bharat Varma <[email protected]>

> 2009/5/1 Matthias Kramm <[email protected]>
>
> On Fri, May 01, 2009 at 06:58:37PM +0530, Bharat Varma <
>> [email protected]> 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