hi Alec, > I'm trying to rotate an image and have the expanded background be transparent.
The image you get from opening a JPG won't have an alpha channel. You
need to add it yourself with the .convert() method.
This ought to work:
im = Image.open("pic1.jpg").convert('RGBA')
im2 = im.rotate(32, expand = 1)
im2.show()
Douglas Bagnall
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig
