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:
2024-04-25 14:37:08 +02:00
parent 674ce8dabe
commit c642fa430e

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()