[Image-SIG] 16 Grayscale tiff

Fredrik Lundh fredrik at pythonware.com
Thu Jun 9 09:22:16 CEST 2005


Andrew Wilson wrote:

>     I'm trying to save load an unsigned 16 bit array from numarray into
> a grayscale 16-bit tiff, I tried using  Image.fromstring("I;16",...),
> but I get an error  "illegal conversion" within img.convert('RGB').  So
> it looks like only 16 bit RGB files are supported?

does img.convert("I").convert("RGB") work better?

</F>





More information about the Image-SIG mailing list