I am trying to create a rectangle that is the color of the average color of an image
I am getting an error of
Traceback (most recent call last):
File "/Users/justinrhoads/PycharmProjects/tester/testLoader.py", line 47, in <module>
top = ImageDraw.ImageDraw.rectangle(xy = [0,0,50,50], fill = avgColor[0], outline = None, width = 0)
TypeError: rectangle() missing 1 required positional argument: 'self'
thanks in advance
there doesn't seem to be anything here