[reportlab-users] Converting PIL.Image to platypus.Image
andy at reportlab.com
Mon Apr 12 02:59:07 EDT 2010
On 10 April 2010 16:09, Anneline Sweetnam <anneline at bikalabs.com> wrote:
> The question was posed 5 months ago, but no response.
> Trying to add a PIL.Image object into a platypus flowable.
> Is there a way to convert it?
There is nothing in reportlab to do it at the moment. You could write
the image out to a temporary file or a StringIO - or write a small
flowable which accesses PIL.Image.size in wrap() and writes it to a
StringIO in draw()
More information about the reportlab-users