[reportlab-users] make tiff files

Robin Becker reportlab-users@reportlab.com
Wed, 4 Sep 2002 19:49:52 +0100


In article <7EC8CF2954F5D411A5B400508B957E000708BB76@MSGBOS679NTS.fmr.co
m>, Johnson, Patricia <Patricia.Johnson@FMR.COM> writes
.....
>            
>    from reportlab.graphics import renderPM
>    renderPM.drawToFile(drawing, 'horzBar.tif')
>
>Thanks to all!
>
>-Pat
....
It's likely you need to specify the format that's to be used using
fmt='TIFF'. The default value is set as 'gif', but I think we guess from
the name if you set it to None.
-- 
Robin Becker