Re: [Image-SIG] PIL: Can't open saved BMP image
by Sheila King other posts by this author
Aug 4 2003 6:46PM messages near this date
[Image-SIG] PIL: Can't open saved BMP image
|
[Image-SIG] PATCH: Group 4 TIFF compression support
--On Monday, August 04, 2003 11:06 AM -0700 Sheila King
<sheila@[...].net> wrote:
>
> graph.save(open("graphout2.bmp", "w"))
>
OK, I appear to have found the problem:
NEED TO SAVE IN BINARY MODE.
should be:
graph.save(open("graphout2.bmp", "wb"))
Sorry for bothering y'all for something this ditzy. :/
_______________________________________________
Image-SIG maillist - Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
Thread:
Sheila King
Sheila King
|