I'm wondering if it is possible to calculate the average rgb value in with wand?
I know how to do it with PIL, but in the docs of wand I can't really find how to get the image data.
The only thing I could find was this:
for row in image:
for col in row:
assert isinstance(col, wand.color.Color)
print(col)
But then col
is a Color
object and I'm not really sure how to extract the values from there.
Any ideas?