[reportlab-users] Generating PNGs/JPGs instead of PDFs?
    Aaron Barlow 
    aaron.barlow at gmail.com
       
    Wed Dec 31 21:55:25 EST 2008
    
    
  
Erik
I use imagemagick to convert a PDF cover page generated via reportlab  
to a PNG thumbnail as a preview. Seems to work fairly painlessly.
However, I thought you could pass in an output type to the canvas.save  
method or even the build method of the Document Template to set the  
output to png or JPEG. You have to have PIL installed for this to  
work. I don't have the manual with me but I'm pretty sure there's a  
section in there about that. Hope this helps.
--
Aaron Barlow
On Dec 31, 2008, at 6:52 PM, "Erik Wickstrom" <erik at erikwickstrom.com>  
wrote:
> Hi all,
>
> First, Happy New Year!
>
> I need to output some reports as PNGs or JPGs in addition to PDFs.   
> Can ReportLab render to these other formats?  If not, any  
> suggestions on how I can do this?
>
> Thanks!
> Erik
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
    
    
More information about the reportlab-users
mailing list