[reportlab-users] drawImage and PIL

Tim Roberts timr at probo.com
Thu Dec 3 14:46:23 EST 2009

Kevin D Smith wrote:

> What are the requirements for using PIL images with drawImage? I haven't been able to get it to work at all.

The thing you pass to drawImage has to be either a file name or an
ImageReader instance. Wrap your PIL image in a lib.utils.ImageReader
instance and all will be well.

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

More information about the reportlab-users mailing list