scaling

Ashok ashokagk at gmail.com
Tue May 1 10:22:28 EDT 2007


hi,
IDL language contains a function called BYTSCL to scale all values of
Array that lie in the range (Min £ x £ Max) into the range (0 £ x £
Top). Is there a similar function available in python?

I need this to scale the pixel values of an image using PIL.

thanks in advance for any help
____
AGK




More information about the Python-list mailing list