[reportlab-users] (no subject)

Jerome Alet reportlab-users@reportlab.com
Mon, 28 Jul 2003 13:23:57 +0200


On Mon, Jul 28, 2003 at 10:53:35AM +0100, Proboscis Admin wrote:
> 
> how do you import an image saved in a file onto the canvas, could some 
> 1 tell me the basic code for that?

    image = PIL.Image.open("logo.gif")
    (width, height) = image.size
    c.drawImage(image, 300, 300, width, height)
    
 hoping this helps   
 
 bye,
 
Jérôme Alet