<font face="arial" size="2"><p style="margin:0;padding:0;">On Thursday, December 29, 2011 7:31am, auto11436877@hushmail.com said:<br /><br /></p>
<div id="SafeStyles1325787388"><span style="font-family: Arial; font-size: 13px;"><strong>Hi, I wanted to get the actual bmp data without writting the content to disk.</strong>
<div><strong><br /></strong></div>
<div><strong>Example:</strong></div>
<div><strong>
<div>im = Image.new("RGB", (16, 16) )</div>
<div>im.save('image.bmp')</div>
<div>I want to avoid im.save, and just get the actual BMP file data for further processing.</div>
<div></div>
</strong>
<div>Do you mean you want to get at the pixels? See Image.getdata() and putdata(), Image.getpixel() and putpixel(), and Image.load()&nbsp; (fastest way), all of which provide pixel-level access in varying ways.</div>
<div></div>
<div>Dan</div>
<strong>
<div></div>
</strong></div>
</span></div></font>