[reportlab-users] Output graphics file

Tim Roberts timr at probo.com
Mon Apr 2 13:48:41 EDT 2007


george wrote:

> Can I output small graphics files say 2 inch by 3 inch in gif or png

> format? If so how?


To a certain extent, yes, you can. By using
reportlab.graphics.renderPM, you can use a subset of the ReportLab API
and render the result to any bitmap type that PIL can generate. It's
described in the documentation.

What are you actually trying to put into your graphics files?

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list