[reportlab-users] Image Sizes

Mark Saward msaward at bigpond.net.au
Thu Sep 1 03:39:25 EDT 2005


Hi,

I was wondering what's the best way to determine the size of an image?  I have 
a text file that specifies data which my python app then uses to create a 
pdf.  Part of that input text file includes an image name.  Since this could 
change, I need to know the size of the image in order to center it/lay it out 
appropriately, and maybe even shrink if it's too large.

Does reportlab have any functions for this?

Thanks
Mark Saward


More information about the reportlab-users mailing list