[Image-SIG] writing 16-bit rgb images?
mark.wendell at gmail.com
Fri Jun 22 17:03:00 CEST 2007
I'm using PIL to do some color image processing that requires more
precision than the default 8bit rgb provides. To that end, I've been
able to convert images to numpy arrays and do the math in long ints.
The problem is that the Image.fromarray method seems to require that I
convert back to 8-bits. This introduces quantization artifacts I'm
trying to avoid.
Any way to write out a 16-bit RGB tiff (for example) from a numpy array?
More information about the Image-SIG