Varsha purohit wrote:

>        I have written a program using ImageEnhance module of pil where i 
> am controlling brightness and contrast of the image but i  am unable to 
> use im.save method to save the file. My code is here :
> 
> import Image
> import ImageFilter
> import ImageEnhance
> 
> file2 = "xyz.jpg"
> img2 = Image.open(file2)
> ench = ImageEnhance.Brightness(img2)

this creates an enhancement object that can be used to create enhanced 
images.  you need to call the "enhance" method to actually get an image 
object.  see the documentation for details:

   http://www.pythonware.com/library/pil/handbook/imageenhance.htm

</F>

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to