[EMAIL PROTECTED] wrote:

> I am having difficulty using the Image.fromstring(args) command.  My data is
> little endian 16 bit unsigned int.  When I try to use the correct decoder 
> "F;16"
> idle fails.  Here is an example:
> 
> img2=Image.fromstring("L",(512,512), buffed, "raw", "F;16")

the image mode must match the raw mode type; "F;16" expects 16-bit 
integers on input, and wants to store the result in a floating point 
image.  try using "L;16" instead, or change the image mode to "F".

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to