[reportlab-users] Generating JPG images

Robin Becker robin at reportlab.com
Wed Jul 6 04:50:31 EDT 2005


George wrote:
> Near the end of section 2.3 in graphguide.pdf, I find
> 
> Many other bitmap formats, like GIF, JPG, TIFF, BMP and PPN are genuinely available, making it unlikely
> 
> you'll need to add external postprocessing steps to convert to the final format you need.
> 
> But I've been unable to find the approprate renderJPG.saveToFile.  
> 
> What am I overlooking?
> 
> 
> 
> george
> 
.... you need to use renderPM.drawToFile(drawing,filename,fmt='jpg')

-- 
Robin Becker


More information about the reportlab-users mailing list