<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Not quite. That produces a header. I'm looking for a "raw" image.
However, I solved that with a .tostring().<br>
<br>
Lucas wrote:
<blockquote
cite="mid:194b7da00904111238g3bc9aaa5i9e35de019cac45a1@mail.gmail.com"
type="cite">
<pre wrap="">Hello,
Just a simple call to img.save("filename" [, "extension"])
regards,
Lucas
On Sat, Apr 11, 2009 at 12:08 PM, Wayne Watson
<a class="moz-txt-link-rfc2396E" href="mailto:sierra_mtnview@sbcglobal.net"><sierra_mtnview@sbcglobal.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I have an image of described as:
Img Info---------------->: {}
size: (640, 480)
format: None
mode: P
palette: <ImagePalette.ImagePalette instance at 0x02393378>
bands: ('P',)
type: <type 'instance'>
I'd like to write it to a file. Apparently, I need to convert it to a string
first. How do I do that?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)****
"In arithemtic as in politics, the importance of one is
determined by the number of zeros behind it." -- Anon
_______________________________________________
Image-SIG maillist - <a class="moz-txt-link-abbreviated" href="mailto:Image-SIG@python.org">Image-SIG@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/image-sig">http://mail.python.org/mailman/listinfo/image-sig</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="76">--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
"In arithemtic as in politics, the importance of one is
determined by the number of zeros behind it." -- Anon
</pre>
</body>
</html>