"Ray" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> > image = Image.Image() > > Anybody has any idea why this is the case? > Image.Image() isn't the way to get a new image object in PIL. Try Image.new(), which needs at least mode and size arguments. You can get those from your original image... >>> from PIL import Image (skip me loading an image into im) >>> im <PIL.JpegImagePlugin.JpegImageFile instance at 0x00A8A170> >>> im.mode 'RGB' >>> im.size (510, 800) >>> im2=Image.new(im.mode,im.size) >>> seq=im.getdata() >>> im2.putdata(seq) Then do im2.show() and everything should be ok. max -- http://mail.python.org/mailman/listinfo/python-list