Imagick::sparseColorImage
(No version information available, might only be in SVN)
Imagick::sparseColorImage — Interpolates 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. 이 메쏘드는 Imagick을 ImageMagick 6.4.5 이상으로 컴파일 했을 때만 사용할 수 있습니다.
인수
- SPARSE_METHOD
-
Refer to this list of sparse method constants
- arguments
-
An array containing the coordinates. The array is in format array(1,1, 2,45)
- CHANNEL
-
채널 모드에 유효한 채널 상수를 제공합니다. 둘 이상의 채널을 적용하려면, 비트 연산자를 이용해서 채널 상수를 조합하십시오. 기본값은 Imagick::CHANNEL_DEFAULT. 채널 상수 목록을 참고하십시오.
반환값
성공시에 TRUE를 반환합니다.
오류/예외
오류시에 ImagickException이 발생합니다.
There are no user contributed notes for this page.
