|
|
|
The Imagick class
Class synopsis
Imagick
class Imagick
implements
Iterator
,
Traversable
{
bool blurImage
( float $radius
, float $sigma
[, int $channel
] )
bool chopImage
( int $width
, int $height
, int $x
, int $y
)
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
] )
bool frameImage
( mixed $matte_color
, int $width
, int $height
, int $inner_bevel
, int $outer_bevel
)
Imagick fxImage
( string $expression
[, int $channel
] )
bool gammaImage
( float $gamma
[, int $channel
] )
bool levelImage
( float $blackPoint
, float $gamma
, float $whitePoint
[, int $channel
] )
bool modulateImage
( float $brightness
, float $saturation
, float $hue
)
Imagick montageImage
( ImagickDraw $draw
, string $tile_geometry
, string $thumbnail_geometry
, int $mode
, string $frame
)
bool newImage
( int $cols
, int $rows
, mixed $background
[, string $format
] )
bool newPseudoImage
( int $columns
, int $rows
, string $pseudoString
)
bool paintFloodfillImage
( mixed $fill
, float $fuzz
, mixed $bordercolor
, int $x
, int $y
)
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 raiseImage
( int $width
, int $height
, int $x
, int $y
, bool $raise
)
bool readImageFile
( resource $filehandle
[, string $fileName
] )
bool resampleImage
( float $x_resolution
, float $y_resolution
, int $filter
, float $blur
)
bool resizeImage
( int $columns
, int $rows
, int $filter
, float $blur
[, bool $fit
] )
bool roundCorners
( float $x_rounding
, float $y_rounding
[, float $stroke_width
[, float $displace
[, float $size_correction
]]] )
bool scaleImage
( int $cols
, int $rows
[, bool $fit
] )
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
)
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
] )
bool sketchImage
( float $radius
, float $sigma
, float $angle
)
bool spliceImage
( int $width
, int $height
, int $x
, int $y
)
bool unsharpMaskImage
( float $radius
, float $sigma
, float $amount
, float $threshold
[, int $channel
] )
bool vignetteImage
( float $blackPoint
, float $whitePoint
, int $x
, int $y
)
bool waveImage
( float $amplitude
, float $length
)
}
Image methods and global methods
The Imagick class has the ability to hold and operate on multiple
images simultaneously. This is achieved through an internal stack. There
is always an internal pointer that points at the current image. Some
functions operate on all images in the Imagick class, but most operate
only on the current image in the internal stack. As a convention, method
names can contain the word Image to denote they affect only the current
image in the stack.
Class Methods
Because there are so many methods, here is a handy list of methods,
somewhat reduced to their general purpose:
Table of Contents
|
|
|
|
|