Method definition https://www.imagemagick.org/api/magick- ... atrixImage.
Code: Select all
MagickBooleanType MagickColorMatrixImage(MagickWand *wand, const KernelInfo *color_matrix)
https://imagemagick.org/api/MagickCore/ ... tml#l00102
https://imagemagick.org/api/MagickCore/ ... lInfo.html
for example I have below command. How can I pass the color-matrix parameter in MagickColorMatrixImage method ?
Code: Select all
convert rose: -color-matrix
' 0 0 1
0 1 0
1 0 0 ' matrix_red_blue_swap.png