downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Imagick::optimizeImageLayers> <Imagick::oilPaintImage
[edit] Last updated: Sat, 07 Jan 2012

view this page in

Imagick::opaquePaintImage

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

Imagick::opaquePaintImageChanges the color value of any pixel that matches target

설명

bool Imagick::opaquePaintImage ( mixed $target , mixed $fill , float $fuzz , bool $invert [, int $channel = Imagick::CHANNEL_DEFAULT ] )

Changes any pixel that matches color with the color defined by fill. 이 메쏘드는 Imagick을 ImageMagick 6.3.8 이상으로 컴파일 했을 때만 사용할 수 있습니다.

인수

target

ImagickPixel object or a string containing the color to change

fill

The replacement color

fuzz

fuzz 양. 예를 들면, fuzz를 10으로 설정했을 때 붉은색의 농도를 100과 102로 설정한 것은 같은 색으로 취급합니다.

invert

If TRUE paints any pixel that does not match the target color.

channel

채널 모드에 유효한 채널 상수를 제공합니다. 둘 이상의 채널을 적용하려면, 비트 연산자를 이용해서 채널 상수를 조합하십시오. 기본값은 Imagick::CHANNEL_DEFAULT. 채널 상수 목록을 참고하십시오.

반환값

성공시에 TRUE를 반환합니다.



add a note add a note User Contributed Notes Imagick::opaquePaintImage - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites