swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] unable to use poly2bitmap in gfx module on windows


From: Bharat Varma
Subject: [Swftools-common] unable to use poly2bitmap in gfx module on windows
Date: Fri, 1 May 2009 18:58:37 +0530

Hi,

I am on Windows, with swftools version 0.9.0. I tried the following with python 2.5.4 -

>>> import sys
>>> sys.path.append('C:\\swftools\\python25')
>>> import gfx
>>> gfx.setparameter("poly2bitmap", "1")
>>> doc = gfx.open("pdf", "sample.pdf")
>>> swf = gfx.SWF()
>>> page = doc.getPage(1)
>>> swf.startpage(page.width, page.height)
>>> page.render(swf)


This causes a crash (brings down the python process also) with ID Table overflow and 65536 shapes error.
However, If i use the command line as 'pdf2swf -s poly2bitmap sample.pdf -p 1 1.swf', it works fine.

I also tried this with python 2.6.2 and the corresponding .pyd

Is there anything that I could be missing ?

Thank you.

Bharat Varma


reply via email to

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