[reportlab-users] Report lab tables

Tim Smith reportlab-users@reportlab.com
Tue, 05 Oct 2004 09:04:26 +1000


nope i get the same error

Johan Paul Glutting wrote:

> Try giving it width and height arguments:
>
> logo = Image('logo.jpg', width=100, height=50) [or whatever]
>
> I have had to adjust width and height by hand for the canvas drawImage 
> function to get it right.
>
> Cheers,
>
> JP
>
> En/na Tim Smith ha escrit:
>
>> if i try use that  get this error
>> AttributeError: ImageReader instance has no attribute '_width'
>>
>> here is a snip of my code
>>
>> logo = Image('logo.jpg')
>> Invoice = []
>> Invoice.append(Paragraph('Tax Invoice', styles['Heading1']))
>> Invoice.append(logo)
>>
>>
>
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
>
>