[Image-SIG] Problem using crop.

Manik Bali bali at dkrz.de
Wed Jun 2 15:55:07 EDT 2004


Hi 
The problem that i am facing now is the followng..
I have an image that has pixel values that range from 0 to 23
But when I take a peice( subset ) of this image 
interior=im.crop((2890,79851,473,3202))
and give interior.getextrema() it shows that the interior has values from
(0,255). interior is supposed to be a subset of the original image how
does it have more pixel values than  0 to 23.
The list(im.getdata()) shows a list of 256 non zero elements
Can you please help
Manik





More information about the Image-SIG mailing list