[reportlab-users] Problem with importing Image from PIL

Christoph Zwerschke cito at online.de
Thu Feb 12 11:38:53 EST 2009


I noticed that in reportlab.lib.utils, the main "import PIL.Image" is
done with a fallback to "import Image" if it was installed top-level.
That's good.

However, there are two more places in the same file which only try
"import PIL.Image" and do not try "import Image". These places should
use the same fallback or even simpler just use the Image that has
already been imported as a global variable.

-- Christoph


More information about the reportlab-users mailing list