What I had been doing was first using
fp = open("test.bmp","w")
im.save(fp, "BMP")
fp.close()
This caused the image to save skew. Just using a string in the argument to save instead of a filepointer works. I thought you had to use a file pointer since the function definition is:
im.save(self, fp, format = None, **params)
Cheers!
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig