[reportlab-users] preserveAspectRatio problem

Tim Roberts timr at probo.com
Thu May 24 16:09:53 EDT 2007


Johnson, Richard L wrote:

> I am trying to use the preserveAspectRatio attribute in the drawImage()

> method but it complains:

>

> TypeError: drawImage() got an unexpected keyword argument

> 'preserveApsectRatio'

>


If that's a cut-and-paste of the error, then you have a typo ("Apsect").


> I can't find if this works or not. The documentation says it should

> work in 2.0+ which I have. This would save me a ton of work if this

> worked out right anyway to do it?

>


Which documentation? That keyword is not present anywhere in my copy
of ReportLab 2.0.

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list