Just a simple contrast and saturation enhancement. Nothing fancy.
Since PIL is dead for the most part. Install the Pillow fork instead, sudo pip install pillow
, and use its ImageEnhance module http://pillow.readthedocs.org/en/3.0.x/reference/ImageEnhance.html
>>> from PIL import Image, ImageEnhance
>>> image = Image.open('downloads/jcfeb2011.jpg')
>>> contrast = ImageEnhance.Contrast(image)
>>> image.show()
>>> contrast.enhance(2).show()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With