Learn Before
Concept

Brightness (Pillow)

ImageEnhance.Brightness() returns an object of the Brightness class when giving an image as an argument. enhance() can then be called on this object to return the enhanced image. Brightness controls the overall lightness or darkness of an image. A factor of 0.0 returns a black image.

brightnessobj = ImageEnhance.Brightness(image) newimage = brightnessobj.enhance(factor)

0

1

Updated 2021-08-07

Contributors are:

Who are from:

Tags

Python Programming Language

Data Science

Related