[reportlab-users] Memory consumption of a "simple" document seems excessive
Andy Robinson
reportlab-users@reportlab.com
Wed, 7 Jan 2004 15:21:23 -0000
Looks like we have a bug somewhere when we try to size
images. The following works fine so there is nothing
wrong with your GIF or our streaming to disk...
import reportlab.pdfgen.canvas
c = reportlab.pdfgen.canvas.Canvas('fullsize.pdf')
c.drawImage('fullsize.gif',0,0,800,500)
c.save()
print 'done'
I'll let you know as soon as we have a fix.
- Andy
> -----Original Message-----
> From: reportlab-users-admin@reportlab.com
> [mailto:reportlab-users-admin@reportlab.com]On Behalf Of Hancock, David
> (DHANCOCK)
> Sent: 07 January 2004 14:21
> To: 'reportlab-users@reportlab.com'
> Subject: RE: [reportlab-users] Memory consumption of a "simple" document
> seems excessive
>
>
> I'll send Andy the .gif and .py files. The GIF is under 70K (very sparse
> black and white image--a US weather synopsis). If the list is interested,
> I'll post here also; let me know.
>
> Cheers!
> --
> David Hancock | dhancock@arinc.com | 410-266-4384
>
>
> -----Original Message-----
> From: Andy Robinson [mailto:andy@reportlab.com]
> Sent: Wednesday, January 07, 2004 9:13 AM
> To: reportlab-users@reportlab.com
> Subject: RE: [reportlab-users] Memory consumption of a "simple" document
> seems excessive
>
>
> > If anybody has a nice magic bullet for me, that would be great, too.
>
> We don't get problems like this and I routinely make 'albums'
> out of big JPEGs. How big is the underlying GIF file? If less
> than a few hundred k, please email it to me and I'll try it.
>
> - Andy
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
> _______________________________________________
> reportlab-users mailing list
> reportlab-users@reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
>