<br><br><div class="gmail_quote">On Mon, Jan 25, 2010 at 5:04 PM, Peter Chant <span dir="ltr"><peteRE@mpeteozilla.vco.uke></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Does anyone know whether PIL can handle 16 bit per channel RGB images?<br>
PyPNG site (<a href="http://packages.python.org/pypng/ca.html" target="_blank">http://packages.python.org/pypng/ca.html</a>) states PIL uses 8 bits<br>
per channel internally.<br>
<br>
Thanks,<br>
<br>
Pete<br>
<br>
<br>
--<br>
<a href="http://www.petezilla.co.uk" target="_blank">http://www.petezilla.co.uk</a><br>
<font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br><div><span class="Apple-style-span" style="font-family: Georgia, serif; font-size: medium; "><h2 id="mode" style="font-family: Verdana, sans-serif; color: rgb(4, 68, 132); font-weight: bold; font-style: italic; ">
Mode</h2><p>The mode of an image defines the type and depth of a pixel in the image. The current release supports the following standard modes:</p><ul><li><p><b>1</b> (1-bit pixels, black and white, stored with one pixel per byte)</p>
</li><li><p><b>L</b> (8-bit pixels, black and white)</p></li><li><p><b>P</b> (8-bit pixels, mapped to any other mode using a colour palette)</p></li><li><p><b>RGB</b> (3x8-bit pixels, true colour)</p></li><li><p><b>RGBA</b> (4x8-bit pixels, true colour with transparency mask)</p>
</li><li><p><b>CMYK</b> (4x8-bit pixels, colour separation)</p></li><li><p><b>YCbCr</b> (3x8-bit pixels, colour video format)</p></li><li><p><b>I</b> (32-bit signed integer pixels)</p></li><li><p><b>F</b> (32-bit floating point pixels)</p>
<p><br></p><p><a href="http://www.pythonware.com/library/pil/handbook/concepts.htm">http://www.pythonware.com/library/pil/handbook/concepts.htm</a></p><p><br></p><p><br></p><p><br></p></li></ul></span></div><div><br></div>