|
(PECL imagick 2.0.0)
クラス概要
bool adaptiveBlurImage
( float $radius
, float $sigma
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool adaptiveSharpenImage
( float $radius
, float $sigma
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool addNoiseImage
( int $noise_type
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
public void autoLevelImage
([ string $CHANNEL = Imagick::CHANNEL_DEFAULT
] )
bool blurImage
( float $radius
, float $sigma
[, int $channel
] )
public void brightnessContrastImage
( string $brightness
, string $contrast
[, int $CHANNEL = Imagick::CHANNEL_DEFAULT
] )
bool chopImage
( int $width
, int $height
, int $x
, int $y
)
public void clampImage
([ string $CHANNEL = Imagick::CHANNEL_DEFAULT
] )
bool clutImage
( Imagick $lookup_table
[, float $channel = Imagick::CHANNEL_DEFAULT
] )
public void colorMatrixImage
( string $color_matrix = Imagick::CHANNEL_DEFAULT
)
bool compositeImage
( Imagick $composite_object
, int $composite
, int $x
, int $y
[, int $channel = Imagick::CHANNEL_ALL
] )
bool contrastStretchImage
( float $black_point
, float $white_point
[, int $channel = Imagick::CHANNEL_ALL
] )
bool convolveImage
( array $kernel
[, int $channel = Imagick::CHANNEL_ALL
] )
public void count
([ string $mode
] )
bool cropImage
( int $width
, int $height
, int $x
, int $y
)
bool distortImage
( int $method
, array $arguments
, bool $bestfit
)
bool evaluateImage
( int $op
, float $constant
[, int $channel = Imagick::CHANNEL_ALL
] )
public array exportImagePixels
( int $x
, int $y
, int $width
, int $height
, string $map
, int $STORAGE
)
bool extentImage
( int $width
, int $height
, int $x
, int $y
)
public void filter
( ImagickKernel $ImagickKernel
[, int $CHANNEL = Imagick::CHANNEL_DEFAULT
] )
bool floodFillPaintImage
( mixed $fill
, float $fuzz
, mixed $target
, int $x
, int $y
, bool $invert
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool frameImage
( mixed $matte_color
, int $width
, int $height
, int $inner_bevel
, int $outer_bevel
)
public bool functionImage
( int $function
, array $arguments
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
Imagick fxImage
( string $expression
[, int $channel = Imagick::CHANNEL_ALL
] )
bool gammaImage
( float $gamma
[, int $channel = Imagick::CHANNEL_ALL
] )
bool gaussianBlurImage
( float $radius
, float $sigma
[, int $channel = Imagick::CHANNEL_ALL
] )
array getImageProfiles
([ string $pattern = "*"
[, bool $include_values = true
]] )
public bool importImagePixels
( int $x
, int $y
, int $width
, int $height
, string $map
, int $storage
, array $pixels
)
bool levelImage
( float $blackPoint
, float $gamma
, float $whitePoint
[, int $channel = Imagick::CHANNEL_ALL
] )
bool modulateImage
( float $brightness
, float $saturation
, float $hue
)
Imagick montageImage
( ImagickDraw $draw
, string $tile_geometry
, string $thumbnail_geometry
, int $mode
, string $frame
)
public void morphology
( int $morphologyMethod
, int $iterations
, ImagickKernel $ImagickKernel
[, string $CHANNEL
] )
bool motionBlurImage
( float $radius
, float $sigma
, float $angle
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool negateImage
( bool $gray
[, int $channel = Imagick::CHANNEL_ALL
] )
bool newImage
( int $cols
, int $rows
, mixed $background
[, string $format
] )
bool newPseudoImage
( int $columns
, int $rows
, string $pseudoString
)
bool pingImageFile
( resource $filehandle
[, string $fileName
] )
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 radialBlurImage
( float $angle
[, int $channel = Imagick::CHANNEL_ALL
] )
bool raiseImage
( int $width
, int $height
, int $x
, int $y
, bool $raise
)
bool readImageFile
( resource $filehandle
[, string $fileName = null
] )
bool resampleImage
( float $x_resolution
, float $y_resolution
, int $filter
, float $blur
)
bool resizeImage
( int $columns
, int $rows
, int $filter
, float $blur
[, bool $bestfit = false
] )
public void rotationalBlurImage
( string $angle
[, string $CHANNEL = Imagick::CHANNEL_DEFAULT
] )
bool roundCorners
( float $x_rounding
, float $y_rounding
[, float $stroke_width = 10
[, float $displace = 5
[, float $size_correction = -6
]]] )
bool scaleImage
( int $cols
, int $rows
[, bool $bestfit = false
] )
public bool segmentImage
( int $COLORSPACE
, float $cluster_threshold
, float $smooth_threshold
[, bool $verbose = false
] )
public void selectiveBlurImage
( float $radius
, float $sigma
, float $threshold
, int $CHANNEL
)
bool setImagePage
( int $width
, int $height
, int $x
, int $y
)
bool setOption
( string $key
, string $value
)
bool setPage
( int $width
, int $height
, int $x
, int $y
)
public static void setRegistry
( string $key
, string $value
)
bool setSize
( int $columns
, int $rows
)
bool shadeImage
( bool $gray
, float $azimuth
, float $elevation
)
bool shadowImage
( float $opacity
, float $sigma
, int $x
, int $y
)
bool sharpenImage
( float $radius
, float $sigma
[, int $channel = Imagick::CHANNEL_ALL
] )
bool sigmoidalContrastImage
( bool $sharpen
, float $alpha
, float $beta
[, int $channel = Imagick::CHANNEL_ALL
] )
bool sketchImage
( float $radius
, float $sigma
, float $angle
)
public Imagick smushImages
( string $stack
, string $offset
)
public bool sparseColorImage
( int $SPARSE_METHOD
, array $arguments
[, int $channel = Imagick::CHANNEL_DEFAULT
] )
bool spliceImage
( int $width
, int $height
, int $x
, int $y
)
public void statisticImage
( int $type
, int $width
, int $height
[, string $CHANNEL = Imagick::CHANNEL_DEFAULT
] )
bool thresholdImage
( float $threshold
[, int $channel = Imagick::CHANNEL_ALL
] )
bool thumbnailImage
( int $columns
, int $rows
[, bool $bestfit = false
[, bool $fill = false
]] )
bool unsharpMaskImage
( float $radius
, float $sigma
, float $amount
, float $threshold
[, int $channel = Imagick::CHANNEL_ALL
] )
bool vignetteImage
( float $blackPoint
, float $whitePoint
, int $x
, int $y
)
bool waveImage
( float $amplitude
, float $length
)
}
画像メソッドおよびグローバルメソッド
Imagick クラスには、複数の画像を同時に保持して操作する機能があります。
内部的には、この機能をスタックで実装しています。
現在の画像を保持する内部ポインタが存在します。
Imagick クラスのすべての画像に対する操作を行う関数もありますが、
大半の関数は内部ポインタが指す現在の画像に対してのみ操作を行います。
スタック内の現在の画像に対してのみ影響を及ぼす関数については、
そのメソッド名に Image という単語を含める決まりになっています。
クラスメソッド
あまりにもたくさんのメソッドがあるので、
一般的な用法に絞った簡単な一覧を示します。
目次
|
|
|