The Imagick class
Class synopsis
Imagick
bool adaptiveBlurImage
( float $radius
, float $sigma
[, int $channel= Imagick::CHANNEL_ALL
] )
bool addNoiseImage
( int $noise_type
[, int $channel= Imagick::CHANNEL_ALL
] )
bool blurImage
( float $radius
, float $sigma
[, int $channel
] )
bool chopImage
( int $width
, int $height
, int $x
, int $y
)
bool clutImage
( Imagick $lookup_table
[, float $channel= Imagick::CHANNEL_ALL
] )
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
] )
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
] )
bool frameImage
( mixed $matte_color
, int $width
, int $height
, int $inner_bevel
, int $outer_bevel
)
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
] )
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
)
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 paintFloodfillImage
( mixed $fill
, float $fuzz
, mixed $bordercolor
, int $x
, int $y
[, int $channel= Imagick::CHANNEL_ALL
] )
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
] )
bool resampleImage
( float $x_resolution
, float $y_resolution
, int $filter
, float $blur
)
bool resizeImage
( int $columns
, int $rows
, int $filter
, float $blur
[, bool $fit= false
] )
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 $fit= false
] )
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= Imagick::CHANNEL_ALL
] )
bool sigmoidalContrastImage
( bool $sharpen
, float $alpha
, float $beta
[, int $channel= Imagick::CHANNEL_ALL
] )
bool sketchImage
( float $radius
, float $sigma
, float $angle
)
bool spliceImage
( int $width
, int $height
, int $x
, int $y
)
bool thresholdImage
( float $threshold
[, int $channel= Imagick::CHANNEL_ALL
] )
bool thumbnailImage
( int $columns
, int $rows
[, bool $fit= 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
)
}
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:
Ńīäåšęąķčå
|
|