[SciPy-user] Adding support for 16 bits images to scipy.fromimage
David M. Cooke
cookedm at physics.mcmaster.ca
Fri Jul 14 18:26:22 EDT 2006
On Jul 14, 2006, at 10:43 , Pierre Barbier de Reuille wrote:
> Hi,
>
> I just noticed that scipy.fromimage was unable to handle 16 bits
> images.
> However, here is a patch to apply to scipy/misc/pilutil.py to
> correct that:
>
> 74a75,76
>> if mode == 'I;16':
>> type = numpy.uint16
applied.
--
|>|\/|<
/------------------------------------------------------------------\
|David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca
More information about the SciPy-User
mailing list