画像処理 (ImageMagick)
phpdoc:classrefImagick クラス
クラス概要
Imagick
class Imagick
implements
Iterator
,
Traversable
{
bool annotateImage
( ImagickDraw $draw_settings
, float $x
, float $y
, float $angle
, string $text
)
bool compositeImage
( Imagick $composite_object
, int $composite
, int $x
, int $y
[, int $channel
] )
bool frameImage
( mixed $matte_color
, int $width
, int $height
, int $inner_bevel
, int $outer_bevel
)
Imagick montageImage
( ImagickDraw $draw
, string $tile_geometry
, string $thumbnail_geometry
, int $mode
, string $frame
)
bool quantizeImage
( int $numberColors
, int $colorspace
, int $treedepth
, bool $dither
, bool $measureError
)
bool quantizeImages
( int $numberColors
, int $colorspace
, int $treedepth
, bool $dither
, bool $measureError
)
bool roundCorners
( float $x_rounding
, float $y_rounding
[, float $stroke_width
[, float $displace
[, float $size_correction
]]] )
bool unsharpMaskImage
( float $radius
, float $sigma
, float $amount
, float $threshold
[, int $channel
] )
}画像メソッドおよびグローバルメソッド
Imagick クラスには、複数の画像を同時に保持して操作する機能があります。 内部的には、この機能をスタックで実装しています。 現在の画像を保持する内部ポインタが存在します。 Imagick クラスのすべての画像に対する操作を行う関数もありますが、 大半の関数は内部ポインタが指す現在の画像に対してのみ操作を行います。 スタック内の現在の画像に対してのみ影響を及ぼす関数については、 そのメソッド名に Image という単語を含める決まりになっています。
クラスメソッド
あまりにもたくさんのメソッドがあるので、 一般的な用法に絞った簡単な一覧を示します。
