I want to get a channel (Red, for example) from an Image using Wand in Python.
I already know how to get channel using ImageMagick itself but I want to do the same but using Wand
It seems to me that it is not implemented in Wand, or I miss something?
Found a workaround using color_matrix
:
img.color_matrix([
[1, 0, 0],
[1, 0, 0],
[1, 0, 0],
])
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.