[reportlab-users] problem with PIL 1.1.7 and ReportLab 2.2

Robin Becker robin at reportlab.com
Fri Dec 11 05:58:05 EST 2009


On 10/12/2009 18:57, Andy Robinson wrote:

> 2009/12/10 Bill Janssen<janssen at parc.com>:

>> Apparently in 1.1.6, PIL used to do a "load()" on the Image before

>> "split()", and in 1.1.7 it doesn't. Looks like the workaround is to

>> call load() on the image before using it with ReportLab. Or RL could

>> do this, too, just to be safe.

>

> Does anyone happen to know if calling load() before split() works in

> all the older versions of PIL out there? I don't want to fix 1.1.7

> and simultaneously break support for some earlier 1.1.x...

>

perhaps we should just check the version or for actual existence of the loaded
part before issuing an unwanted load.
--
Robin Becker


More information about the reportlab-users mailing list