update : 2015.11.03
php.shukuma.com검색:
|
Imagick::evaluateImage(PECL imagick 2.0.0) Imagick::evaluateImage — Applies an expression to an image 설명
bool Imagick::evaluateImage
( int
$op
, float $constant
[, int $channel = Imagick::CHANNEL_ALL
] )Applys an arithmetic, relational, or logical expression to an image. Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image. 인수
예제
Example #1 Using Imagick::evaluateImage() Using evaluateImage to reduce opacity in an image.
<?php 반환값
성공시에 오류/예외오류시에 ImagickException이 발생합니다. |