Add commented code to crop image

It is commented as it does not seem to be finally what we are looking
for.
This commit is contained in:
Benjamin Loison 2024-04-25 14:37:08 +02:00
parent 674ce8dabe
commit c642fa430e
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -15,6 +15,8 @@ def getColor(colorIntensity, colorIndex):
def getHistogram(fileName):
image = Image.open(fileName)
#image = image.crop((1, 1, 2, 2))
#print(image.size)
histogram = image.histogram()