[reportlab-users] drawImage produces blank page only

Bernd Prager bernd at prager.ws
Thu Dec 29 13:45:47 EST 2005


> On Thu, 29 Dec 2005 11:05:41 -0500 (EST), "Bernd Prager"
> <bernd at prager.ws> wrote:
>
> You probably want either:
>
>     c = canvas.Canvas("pythonJpg.pdf", pagesize=im.size,
> pageCompression=1, verbosity=0)
> or
>     c.setPageSize( im.size )
>     c.setPageCompression( 1 )
> There is no method for setting verbosity.
>
> However, your test program worked perfectly for me.  It created the
> default page size (A4), and placed the image at the bottom left, as one
> would expect.
>
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
 Tim,

Thanks a lot Tim,
After choosing your first option, the PDF document now contains my image
crisp and clear.

I am so thrilled!
-- Bernd



More information about the reportlab-users mailing list