[reportlab-users] PNG to PDF

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Apr 3 15:59:59 EDT 2007

On Tuesday 03 April 2007 16:46, Grant Kelly wrote:

> I need to convert a PNG to PDF. The PNG is being dynamically created

> with PIL, but I would like a PDF output option as well. I'm looking at

> using pythonpoint with a fixedimage on a single slide, but was wondering

> if there was a better way to go about this.

You can create a simple canvas and call the drawImage() function on it. SAve
and you are done.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training

More information about the reportlab-users mailing list