Original ticket http://projects.scipy.org/scipy/ticket/1781 on 2012-11-29 by trac user ecuzzillo, assigned to unknown.
Line 247 of scipy/misc/pilutil.py reads
data32 = data.astype(numpy.uint32)
and should read
data32 = data.astype(numpy.int32)
because http://www.pythonware.com/library/pil/handbook/concepts.htm
says 'I' means SIGNED integers.
This caused a fair amount of consternation.
Original ticket http://projects.scipy.org/scipy/ticket/1781 on 2012-11-29 by trac user ecuzzillo, assigned to unknown.
Line 247 of scipy/misc/pilutil.py reads
data32 = data.astype(numpy.uint32)
and should read
data32 = data.astype(numpy.int32)
because http://www.pythonware.com/library/pil/handbook/concepts.htm
says 'I' means SIGNED integers.
This caused a fair amount of consternation.