Re: [Image-SIG] bug in PIL 1.1.7 Image.split()

2009-12-10 Thread Fredrik Lundh
Good catch. The breakage is caused by a 1.1.7 fix that treats single-band images as a special case; unfortunately, the fix checks that attribute before actually loading the image... I'll provide a patch later, but you can of course work around it by adding an explicit load to your code. Thanks /F

[Image-SIG] bug in PIL 1.1.7 Image.split()

2009-12-10 Thread Bill Janssen
Just stumbled over this bug. Shouldn't split() do a load() first? This used to work in 1.1.6. Bill % python Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import Image >>>