PHP 5.6.18 is available


(No version information available, might only be in SVN)

Imagick::sparseColorImageInterpolates colors


public bool Imagick::sparseColorImage ( int $SPARSE_METHOD , array $arguments [, int $channel = Imagick::CHANNEL_DEFAULT ] )

Given the arguments array containing numeric values this method interpolates the colors found at those coordinates across the whole image using sparse_method. Ta metoda jest dostępna, jeśli rozszerzenie Imagick zostało skompilowane z ImageMagick w wersji 6.4.5 lub nowszej.



Refer to this list of sparse method constants


An array containing the coordinates. The array is in format array(1,1, 2,45)


Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.


Zgłasza wyjątek ImagickException w przypadku błędu.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top