Results of 1 - 2 of about 2 for tint (0.002 sec.)
- Imagick::tintImage — 色ベクトルを画像の各ピクセルに適用する | PHP 8.3 11228
- Imagick::tintImage (PECL imagick 2, PECL imagick 3) Imagick::tintImage — 色ベクトルを画像の各ピクセルに適用する 説明 public function Imagick::tintImage ( mixed $tint , mixed $opacity , bool $legacy = false ): bool 色ベクトルを画像の各ピクセ
... 黒および白のときに 0、中間色のときに最大となります。 ベクトルの重み関数は f(x)=(1-(4.0*((x-0.5)*(x-0.5)))) です。 パラメータ tint opacity 戻り値 成功した場合に true を返します。 エラー / 例外 エラー時に ImagickException をスローします。 変更履歴 バージ ... て指定できるようになりました。 これまでのバージョンでは ImagickPixel オブジェクトしか指定できませんでした。 例 例1 Imagick::tintImage() <?php function tintImage ( $r , $g , $b , $a ) { $a = $a / 100 ; $imagick = new \Imagick (); $imagick -> newPseudoI ... mage ( 400 , 400 , 'gradient:black-white' ); $tint = new \ImagickPixel ( "rgb( $r , $g , $b )" ); $opacity = new \ImagickPixel ( "rgb(128, 128, 128, $a )" ); $imagick -> tin ...
-
https://man.mtool.work/php/8.3/imagick.tintimage.html
- Imagick クラス | PHP 8.3 7485
- Imagick クラス (PECL imagick 2, PECL imagick 3) クラス概要 class Imagick implements Iterator { public function __construct ( mixed $files = ? ) public function adaptiveBlurImage ( float $radius , float $sigma , int $channel = Imagick::CHANN
... alPixelMethod (): int public function getImageWhitePoint (): array public function getImageWidth (): int public function getInterlaceScheme (): int public function getIteratorIndex (): int public function getNumberImages (): int public function getOp ... irtualPixelMethod ( int $method ): bool public function setImageWhitePoint ( float $x , float $y ): bool public function setInterlaceScheme ( int $interlace_scheme ): bool public function setIteratorIndex ( int $index ): bool public function setLastI ... age ( int $columns , int $rows , bool $bestfit = false , bool $fill = false , bool $legacy = false ): bool public function tintImage ( mixed $tint , mixed $opacity , bool $legacy = false ): bool public function __toString (): string public function t ...
-
https://man.mtool.work/php/8.3/class.imagick.html
PREV
1
NEXT