Results of 1 - 1 of about 1 for barycentricPoints (0.001 sec.)
- Imagick::sparseColorImage — 色を補間する | PHP 8.3 9414
- Imagick::sparseColorImage (PECL imagick 2 >= 2.3.0, PECL imagick 3) Imagick::sparseColorImage — 色を補間する 説明 public function Imagick::sparseColorImage ( int $SPARSE_METHOD , array $arguments , int $channel = Imagick::CHANNEL_DEFAULT ):
... { $imagick = new \Imagick (); $imagick -> newImage ( $width , $height , "white" ); $imagick -> setImageFormat ( "png" ); $barycentricPoints = array(); foreach ( $colorPoints as $colorPoint ) { if ( $absolute == true ) { $barycentricPoints [] = $colorPoint [ 0 ]; ... $barycentricPoints [] = $colorPoint [ 1 ]; } else { $barycentricPoints [] = $colorPoint [ 0 ] * $width ; $barycentricPoints [] = $colorPoint ... ckPixel -> getColorValue ( \Imagick :: COLOR_BLUE ); $alpha = $imagickPixel -> getColorValue ( \Imagick :: COLOR_ALPHA ); $barycentricPoints [] = $red ; $barycentricPoints [] = $green ; $barycentricPoints [] = $blue ; $barycentricPoints [] = $alpha ; } $imagick - ...
-
https://man.mtool.work/php/8.3/imagick.sparsecolorimage.html
PREV
1
NEXT