[reportlab-users] make tiff files

Johnson, Patricia reportlab-users@reportlab.com
Wed, 4 Sep 2002 13:51:06 -0400

I have created a horizontal bar table using reportlab.  I want to create a
tif output file that can be imported into QUARK.  The following code makes a
nice .pdf file, but the format of the .tif file is not correct.  QUARK can
not recognize the format of the .tif file created this way.  I'm not even
sure if I should be using the renderPM to draw to a file.  Does anyone have
any suggestions?

    from reportlab.graphics import renderPDF
    renderPDF.drawToFile(drawing, 'horzBar.pdf')
    from reportlab.graphics import renderPM
    renderPM.drawToFile(drawing, 'horzBar.tif')

Thanks to all!