Learn Before
Concept
Color Balance (Pillow)
ImageEnhance.Color() returns an object of the Color class when giving an image as an argument. enhance() can then be called on this object to return the enhanced image. Color balance controls the intensities of colors. A factor of 0.0 will give a black and white image.
colorobj = ImageEnhance.Color(image) newimage = colorobj.enhance(factor)
0
1
Updated 2021-08-07
Tags
Python Programming Language
Data Science