On Thursday, December 29, 2011 7:31am, auto11436...@hushmail.com said:
Hi, I wanted to get the actual bmp data without writting the content to disk. Example: im = Image.new("RGB", (16, 16) ) im.save('image.bmp') I want to avoid im.save, and just get the actual BMP file data for further processing. Do you mean you want to get at the pixels? See Image.getdata() and putdata(), Image.getpixel() and putpixel(), and Image.load() (fastest way), all of which provide pixel-level access in varying ways. Dan
_______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig