Prev
MagickWand For PHP
Manual


Next

MagickRecolorImage

MagickRecolorImage -- translate, scale, shear, or rotate image colors. Although you can use variable sized matrices, typically you use a 5 x 5 for an RGBA image and a 6x6 for CMYKA. Populate the last row with normalized values to translate.

Description

bool MagickRecolorImage( MagickWand mgck_wnd, array kernel_array )

Although you can use variable sized matrices, typically you use a 5 x 5 for an RGBA image and a 6x6 for CMYKA. Populate the last row with normalized values to translate. Returns TRUE on success, FALSE if an error occurred.


A description of each parameter follows:

mgck_wnd A MagickWand resource
kernel_array An array of doubles representing the color matrix; it's length MUST be
perfectly square, i.e. it must contain 4, 9, 16, 25, or 36, ... elements


Prev
MagickReadImages
Up Next
MagickReduceNoiseImage