digital_image_processing.change_contrast

Changing contrast with PIL

This algorithm is used in https://noivce.pythonanywhere.com/ Python web app.

psf/black: True ruff : True

Attributes

cont_img

Functions

change_contrast(→ PIL.Image)

Function to change contrast

Module Contents

digital_image_processing.change_contrast.change_contrast(img: PIL.Image, level: int) PIL.Image

Function to change contrast

digital_image_processing.change_contrast.cont_img