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:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user