[Image-SIG] Enhancing an Image

Charlie Clark charlie at begeistert.org
Wed Feb 18 21:24:50 CET 2009


Am 18.02.2009 um 21:08 schrieb Bryan Fodness:

> I am new to PIL and I am trying to enhance an image.  Can someone tell
> me how I can get the picture from the palette?
>
>    import ImageEnhance
>
>    im = Image.open('C:\\Users\\bryan\\Desktop\\Untitled.gif')
>    im = im.crop([10,750,1000,910])
>    im.show()
>    enhancer = ImageEnhance.Sharpness(im)
>    enhancer.enhance(2.0).show()


Convert the image to RGB and then filter it.

Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226





More information about the Image-SIG mailing list