[Image-SIG] Adding endianess support in PIL

Fredrik Lundh fredrik at pythonware.com
Mon Sep 25 15:43:14 CEST 2006

Pierre Barbier de Reuille wrote:

> Well, what version are you referring to ? Because when I load 16-bits
> TIFF images with PIL and convert them to NumPy (using thee tostring
> method of the image), the result is not the same if the image was little
> endian or big endian.

does it work better if you convert mode "I" before passing the data to NumPy ?


More information about the Image-SIG mailing list