In the PIL (Python Imaging Library) source code file "Image.py", line 937, in function "merge", the error message is incorrect. Here is the code: for im in bands[1:]: if im.mode != getmodetype(mode) or im.size != bands[0].size: raise ValueError, "wrong number of bands" Thanks, Ed Jones