[reportlab-users] Image from MySQL table and drawImage

Robin Becker robin at reportlab.com
Thu Sep 6 05:38:42 EDT 2007


dimitri pater wrote:

> Sorry that I keep replying to myself, but this might be helpful to

> someone in the future. Anyway I fixed the drawImage problem (which was

> a rather silly of me...):

> c.drawImage("temp.jpg", 35*mm, PAGE_HEIGHT-220*mm, width=None,

> height=None, mask=None)

>

.......
I saw that you switched to using an intermediate file; can drawImage not take an
ImageReader instance? If not it's a buglet and should be fixed. The problem with
using intermediates (at least on windows is knowing when to delete them).
--
Robin Becker


More information about the reportlab-users mailing list