ImageChops.darker () is used to compare two images pixel by pixel and returns a new image containing darker values.
Syntax: ImageChops.darker (image1, image2)
image1: It is the image object or image path of first image.
image2: It is the image object or image path of second image.
Return Value: An Image
Note: Both images should be of same MODE.
Code # 1:
Code # 2:
Note: Not to be confused with
Image.blend () method. This method is completely different