[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] python gfx module problem
From: |
Ricardo Pedroso |
Subject: |
Re: [Swftools-common] python gfx module problem |
Date: |
Wed, 16 Sep 2009 14:43:10 +0100 |
On Wed, Sep 16, 2009 at 1:28 PM, Ricardo Pedroso <address@hidden> wrote:
> 2009/9/16 phystar <address@hidden>:
>>
>> I have a pdf file.When I use python gfx to convert it to swf,I get the
>> error:
>> ERROR ID Table overflow
>> ERROR This file is too complex to render- SWF only supports 65536 shapes
>> at once
>>
>> I have setted the poly2bitmap parameter like this:
>> gfx.setparameter("poly2bitmap", "1")
>>
>
> Try using the setparameter from the doc instance, eg:
> doc = gfx.open("pdf", "file.pdf")
> doc.setparameter("poly2bitmap", "1")
>
or the swf instance:
swf = gfx.SWF()
swf.setparameter("poly2bitmap", "1")
Ricardo