[reportlab-users] Report lab tables
Mon, 4 Oct 2004 08:10:15 +0100
> There seems to be an Image class in platypus - why don't you try using
> that the same way you would use a Paragraph? Just add it to the list of
> elements, and build it into the document.
from reportlab.playpus import Image
i = Image('myfile.gif')
The Image object takes these arguments:
def __init__(self, filename, width=None, height=None, kind='direct',
"""If size to draw at not specified, get it from the image."""
This and most other flowables are covered int he test scripts. Run
the suite, look at the PDF files in the temp directory with 'platypus'
in the name, then look at the scripts that made them if there's a
feature you want...