[PYTHON IMAGE-SIG] PIL bands

Seth Coe Seth_Coe@brown.edu
Fri, 08 Nov 1996 19:45:52 -0500


I'm trying to separate a mode = 'RGB' image into its component bands. I've
tried 'imageBands = img.split()' but I get an error:
        for c in self.im.bands:
AttributeError: attributeless object

It seems that PIL doesn't know about im.bands, though it should. Anybody
know what my problem is?

Thanks in advance,
Seth Coe


=================
IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
=================