[reportlab-users] Using reportlab for generating graphics

Robin Becker robin at reportlab.com
Tue Apr 1 12:56:42 EDT 2008


Adrián Ribao Martínez wrote:

> El Martes, 1 de Abril de 2008, Rich Shepard escribió:

>> On Tue, 1 Apr 2008, Adrián Ribao Martínez wrote:

>>> I'd like to know if I can generate png graphics using other library like

>>> PIL.

>> ReportLab uses PIL; I thought that it required it.

>>

>> Rich

>

> But when I do d.asString() it requires renderPM, is there any workaround?

.......
_renderPM is a C extension that is used by the reportlab.graphics.renderPM.py
module. If you can bear to do so you can hand build or get someone friendly to
do so.

The source of our extensions is in

http://www.reportlab.co.uk/svn/public/reportlab/trunk/rl_addons

I know that it's possible to build the extensions fairly easily as Andy Robinson
has just done it with xubuntu and he's normally a windows person.

It should be possible to use PIL directly if that's what you want, but our
library doesn't have a direct PIL canvas as yet.
--
Robin Becker


More information about the reportlab-users mailing list