Examples
Imagick::adaptiveBlurImage
ImageMagick
PHP Manual

# The Imagick class

## Class synopsis

Imagick
class Imagick implements Iterator , Traversable {
bool adaptiveBlurImage ( float `$radius` , float `$sigma` [, int `$channel` ] )
bool adaptiveResizeImage ( int `$columns` , int `$rows` [, bool `$fit` ] )
bool adaptiveSharpenImage ( float `$radius` , float `$sigma` [, int `$channel` ] )
bool adaptiveThresholdImage ( int `$width` , int `$height` , int `$offset` )
bool addImage ( Imagick `$source` )
bool addNoiseImage ( int `$noise_type` [, int `$channel` ] )
bool affineTransformImage ( ImagickDraw `$matrix` )
bool annotateImage ( ImagickDraw `$draw_settings` , float `$x` , float `$y` , float `$angle` , string `$text` )
Imagick appendImages ( bool `$stack` )
Imagick averageImages ( void )
bool blackThresholdImage ( mixed `$threshold` )
bool blurImage ( float `$radius` , float `$sigma` [, int `$channel` ] )
bool borderImage ( mixed `$bordercolor` , int `$width` , int `$height` )
bool charcoalImage ( float `$radius` , float `$sigma` )
bool chopImage ( int `$width` , int `$height` , int `$x` , int `$y` )
bool clear ( void )
bool clipImage ( void )
bool clipPathImage ( string `$pathname` , bool `$inside` )
Imagick clone ( void )
bool clutImage ( Imagick `$lookup_table` [, int `$channel` ] )
Imagick coalesceImages ( void )
bool colorFloodfillImage ( mixed `$fill` , float `$fuzz` , mixed `$bordercolor` , int `$x` , int `$y` )
bool colorizeImage ( mixed `$colorize` , mixed `$opacity` )
Imagick combineImages ( int `$channelType` )
bool commentImage ( string `$comment` )
Imagick compareImageChannels ( Imagick `$image` , int `$channelType` , int `$metricType` )
Imagick compareImageLayers ( int `$method` )
array compareImages ( Imagick `$compare` , int `$metric` )
bool compositeImage ( Imagick `$composite_object` , int `$composite` , int `$x` , int `$y` [, int `$channel` ] )
Imagick __construct ([ mixed `$files` ] )
bool contrastImage ( bool `$sharpen` )
bool contrastStretchImage ( float `$black_point` , float `$white_point` [, int `$channel` ] )
bool convolveImage ( array `$kernel` [, int `$channel` ] )
bool cropImage ( int `$width` , int `$height` , int `$x` , int `$y` )
bool cropThumbnailImage ( int `$width` , int `$height` )
Imagick current ( void )
bool cycleColormapImage ( int `$displace` )
bool deconstructImages ( void )
bool despeckleImage ( void )
bool destroy ( void )
bool displayImage ( string `$servername` )
bool displayImages ( string `$servername` )
bool distortImage ( int `$method` , array `$arguments` , bool `$bestfit` )
bool drawImage ( ImagickDraw `$draw` )
bool edgeImage ( float `$radius` )
bool embossImage ( float `$radius` , float `$sigma` )
bool enhanceImage ( void )
bool equalizeImage ( void )
bool evaluateImage ( int `$op` , float `$constant` [, int `$channel` ] )
Imagick flattenImages ( void )
bool flipImage ( void )
bool flopImage ( void )
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 gaussianBlurImage ( float `$radius` , float `$sigma` [, int `$channel` ] )
int getCompression ( void )
int getCompressionQuality ( void )
string getCopyright ( void )
string getFilename ( void )
string getFormat ( void )
string getHomeURL ( void )
Imagick getImage ( void )
ImagickPixel getImageBackgroundColor ( void )
string getImageBlob ( void )
ImagickPixel getImageBluePrimary ( float `$x` , float `$y` )
ImagickPixel getImageBorderColor ( void )
int getImageChannelDepth ( int `$channelType` )
float getImageChannelDistortion ( Imagick `$reference` , int `$channel` , int `$metric` )
array getImageChannelExtrema ( int `$channel` )
array getImageChannelMean ( int `$channel` )
array getImageChannelStatistics ( void )
ImagickPixel getImageColormapColor ( int `$index` )
int getImageColors ( void )
int getImageColorspace ( void )
int getImageCompose ( void )
int getImageDelay ( void )
int getImageDepth ( void )
int getImageDispose ( void )
float getImageDistortion ( MagickWand `$reference` , int `$metric` )
array getImageExtrema ( void )
string getImageFilename ( void )
string getImageFormat ( void )
float getImageGamma ( void )
array getImageGeometry ( void )
array getImageGreenPrimary ( void )
int getImageHeight ( void )
array getImageHistogram ( void )
int getImageIndex ( void )
int getImageInterlaceScheme ( void )
int getImageInterpolateMethod ( void )
int getImageIterations ( void )
int getImageLength ( void )
string getImageMagickLicense ( void )
int getImageMatte ( void )
ImagickPixel getImageMatteColor ( void )
int getImageOrientation ( void )
array getImagePage ( void )
ImagickPixel getImagePixelColor ( int `$x` , int `$y` )
string getImageProfile ( string `$name` )
array getImageProfiles ([ string `$pattern` [, bool `$only_names` ]] )
array getImageProperties ([ string `$pattern` [, bool `$only_names` ]] )
string getImageProperty ( string `$name` )
array getImageRedPrimary ( void )
Imagick getImageRegion ( int `$width` , int `$height` , int `$x` , int `$y` )
int getImageRenderingIntent ( void )
array getImageResolution ( void )
int getImageScene ( void )
string getImageSignature ( void )
int getImageSize ( void )
int getImageTicksPerSecond ( void )
float getImageTotalInkDensity ( void )
int getImageType ( void )
int getImageUnits ( void )
int getImageVirtualPixelMethod ( void )
array getImageWhitePoint ( void )
int getImageWidth ( void )
int getInterlaceScheme ( void )
int getIteratorIndex ( void )
int getNumberImages ( void )
string getOption ( string `$key` )
string getPackageName ( void )
array getPage ( void )
ImagickPixelIterator getPixelIterator ( void )
ImagickPixelIterator getPixelRegionIterator ( int `$x` , int `$y` , int `$columns` , int `$rows` )
array getQuantumDepth ( void )
array getQuantumRange ( void )
string getReleaseDate ( void )
int getResource ( int `$type` )
int getResourceLimit ( int `$type` )
array getSamplingFactors ( void )
array getSize ( void )
int getSizeOffset ( void )
array getVersion ( void )
bool hasNextImage ( void )
bool hasPreviousImage ( void )
array identifyImage ([ bool `$appendRawOutput` ] )
bool implodeImage ( float `$radius` )
bool labelImage ( string `$label` )
bool levelImage ( float `$blackPoint` , float `$gamma` , float `$whitePoint` [, int `$channel` ] )
bool linearStretchImage ( float `$blackPoint` , float `$whitePoint` )
bool magnifyImage ( void )
bool mapImage ( Imagick `$map` , bool `$dither` )
bool matteFloodfillImage ( float `$alpha` , float `$fuzz` , mixed `$bordercolor` , int `$x` , int `$y` )
bool medianFilterImage ( float `$radius` )
bool minifyImage ( void )
bool modulateImage ( float `$brightness` , float `$saturation` , float `$hue` )
Imagick montageImage ( ImagickDraw `$draw` , string `$tile_geometry` , string `$thumbnail_geometry` , int `$mode` , string `$frame` )
Imagick morphImages ( int `$number_frames` )
Imagick mosaicImages ( void )
bool motionBlurImage ( float `$radius` , float `$sigma` , float `$angle` )
bool negateImage ( bool `$gray` [, int `$channel` ] )
bool newImage ( int `$cols` , int `$rows` , mixed `$background` [, string `$format` ] )
bool newPseudoImage ( int `$columns` , int `$rows` , string `$pseudoString` )
bool nextImage ( void )
bool normalizeImage ([ int `$channel` ] )
bool oilPaintImage ( float `$radius` )
bool optimizeImageLayers ( void )
bool paintFloodfillImage ( mixed `$fill` , float `$fuzz` , mixed `$bordercolor` , int `$x` , int `$y` )
bool paintOpaqueImage ( mixed `$target` , mixed `$fill` , float `$fuzz` [, int `$channel` ] )
bool paintTransparentImage ( mixed `$target` , float `$alpha` , float `$fuzz` )
bool pingImage ( string `$filename` )
bool pingImageBlob ( string `$image` )
bool pingImageFile ( resource `$filehandle` [, string `$fileName` ] )
bool polaroidImage ( ImagickDraw `$properties` , float `$angle` )
bool posterizeImage ( int `$levels` , bool `$dither` )
bool previewImages ( int `$preview` )
bool previousImage ( void )
bool profileImage ( string `$name` , string `$profile` )
bool quantizeImage ( int `$numberColors` , int `$colorspace` , int `$treedepth` , bool `$dither` , bool `$measureError` )
bool quantizeImages ( int `$numberColors` , int `$colorspace` , int `$treedepth` , bool `$dither` , bool `$measureError` )
array queryFontMetrics ( ImagickDraw `$properties` , string `$text` [, bool `$multiline` ] )
array queryFonts ([ string `$pattern` ] )
array queryFormats ([ string `$pattern` ] )
bool radialBlurImage ( float `$angle` [, int `$channel` ] )
bool raiseImage ( int `$width` , int `$height` , int `$x` , int `$y` , bool `$raise` )
bool randomThresholdImage ( float `$low` , float `$high` [, int `$channel` ] )
bool readImage ( string `$filename` )
bool readImageBlob ( string `$image` [, string `$filename` ] )
bool readImageFile ( resource `$filehandle` [, string `$fileName` ] )
bool reduceNoiseImage ( float `$radius` )
bool removeImage ( void )
string removeImageProfile ( string `$name` )
bool render ( void )
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 rollImage ( int `$x` , int `$y` )
bool rotateImage ( mixed `$background` , float `$degrees` )
bool roundCorners ( float `$x_rounding` , float `$y_rounding` [, float `$stroke_width` [, float `$displace` [, float `$size_correction` ]]] )
bool sampleImage ( int `$columns` , int `$rows` )
bool scaleImage ( int `$cols` , int `$rows` [, bool `$fit` ] )
bool separateImageChannel ( int `$channel` )
bool sepiaToneImage ( float `$threshold` )
bool setBackgroundColor ( mixed `$background` )
bool setCompression ( int `$compression` )
bool setCompressionQuality ( int `$quality` )
bool setFilename ( string `$filename` )
bool setFirstIterator ( void )
bool setFormat ( string `$format` )
bool setImage ( Imagick `$replace` )
bool setImageBackgroundColor ( mixed `$background` )
bool setImageBias ( float `$bias` )
bool setImageBluePrimary ( float `$x` , float `$y` )
bool setImageBorderColor ( mixed `$border` )
bool setImageChannelDepth ( int `$channel` , int `$depth` )
bool setImageColormapColor ( int `$index` , ImagickPixel `$color` )
bool setImageColorspace ( int `$colorspace` )
bool setImageCompose ( int `$compose` )
bool setImageCompression ( int `$compression` )
bool setImageDelay ( int `$delay` )
bool setImageDepth ( int `$depth` )
bool setImageDispose ( int `$dispose` )
bool setImageExtent ( int `$columns` , int `$rows` )
bool setImageFilename ( string `$filename` )
bool setImageFormat ( string `$format` )
bool setImageGamma ( float `$gamma` )
bool setImageGreenPrimary ( float `$x` , float `$y` )
bool setImageIndex ( int `$index` )
bool setImageInterlaceScheme ( int `$interlace_scheme` )
bool setImageInterpolateMethod ( int `$method` )
bool setImageIterations ( int `$iterations` )
bool setImageMatte ( bool `$matte` )
bool setImageMatteColor ( mixed `$matte` )
bool setImageOpacity ( float `$opacity` )
bool setImageOrientation ( int `$orientation` )
bool setImagePage ( int `$width` , int `$height` , int `$x` , int `$y` )
bool setImageProfile ( string `$name` , string `$profile` )
bool setImageProperty ( string `$name` , string `$value` )
bool setImageRedPrimary ( float `$x` , float `$y` )
bool setImageRenderingIntent ( int `$rendering_intent` )
bool setImageResolution ( float `$x_resolution` , float `$y_resolution` )
bool setImageScene ( int `$scene` )
bool setImageTicksPerSecond ( int `$ticks_per-second` )
bool setImageType ( int `$image_type` )
bool setImageUnits ( int `$units` )
bool setImageVirtualPixelMethod ( int `$method` )
bool setImageWhitePoint ( float `$x` , float `$y` )
bool setInterlaceScheme ( int `$interlace_scheme` )
bool setIteratorIndex ( int `$index` )
bool setLastIterator ( void )
bool setOption ( string `$key` , string `$value` )
bool setPage ( int `$width` , int `$height` , int `$x` , int `$y` )
bool setResolution ( float `$x_resolution` , float `$y_resolution` )
bool setResourceLimit ( int `$type` , int `$limit` )
bool setSamplingFactors ( array `$factors` )
bool setSize ( int `$columns` , int `$rows` )
bool setSizeOffset ( int `$columns` , int `$rows` , int `$offset` )
bool setType ( int `$image_type` )
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 shaveImage ( int `$columns` , int `$rows` )
bool shearImage ( mixed `$background` , float `$x_shear` , float `$y_shear` )
bool sigmoidalContrastImage ( bool `$sharpen` , float `$alpha` , float `$beta` [, int `$channel` ] )
bool sketchImage ( float `$radius` , float `$sigma` , float `$angle` )
bool solarizeImage ( int `$threshold` )
bool spliceImage ( int `$width` , int `$height` , int `$x` , int `$y` )
bool spreadImage ( float `$radius` )
Imagick steganoImage ( Imagick `$watermark_wand` , int `$offset` )
bool stereoImage ( Imagick `$offset_wand` )
bool stripImage ( void )
bool swirlImage ( float `$degrees` )
bool textureImage ( Imagick `$texture_wand` )
bool thresholdImage ( float `$threshold` [, int `$channel` ] )
bool thumbnailImage ( int `$columns` , int `$rows` [, bool `$fit` ] )
bool tintImage ( mixed `$tint` , mixed `$opacity` )
Imagick transformImage ( string `$crop` , string `$geometry` )
bool transverseImage ( void )
bool trimImage ( float `$fuzz` )
bool uniqueImageColors ( void )
bool unsharpMaskImage ( float `$radius` , float `$sigma` , float `$amount` , float `$threshold` [, int `$channel` ] )
bool valid ( void )
bool vignetteImage ( float `$blackPoint` , float `$whitePoint` , int `$x` , int `$y` )
bool waveImage ( float `$amplitude` , float `$length` )
bool whiteThresholdImage ( mixed `$threshold` )
bool writeImage ([ string `$filename` ] )
bool writeImages ( string `$filename` , bool `$adjoin` )
}

## 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:

Class methods by purpose
Image effects | Get methods | Set methods | Read/write images | Other
--- | --- | --- | --- | ---
adaptiveBlurImage | getCompression | setBackgroundColor | __construct | clear
adaptiveResizeImage | getFilename | setCompressionQuality | addImage | clone
adaptiveSharpenImage | getFormat | setCompression | appendImages | current
adaptiveTresholdImage | getImageBackgroundColor | setFilename | getFilename | destroy
addNoiseImage | getImageBlob | setFormat | getFormat | getCopyright
affinetransformimage | getImageBluePrimary | setImageBackgroundColor | getImageFilename | getHomeURL
annotateImage | getImageBorderColor | setFirstIterator | getImageFormat | commentImage
averageImages | getImageChannelDepth | setImageBias | getImage | getNumberImages
blackThresholdImage | getImageChannelDistortion | setImageBluePrimary | setImageFilename | getReleaseDate
blurImage | getImageChannelExtrema | setImageBorderColor | setImageFormat | getVersion
borderImage | getImageChannelMean | setImageChannelDepth | readImageFile | hasNextImage
charcoalImage | getImageChannelStatistics | setImageColormapColor | readImage | hasPreviousImage
chopImage | getImageColormapColor | setImageColorSpace | writeImages | labelImage
clipImage | getImageColorspace | setImageCompose | writeImage | newImage
clipPathImage | getImageColors | setImageCompression |  | newPseudoImage
coalesceImages | getImageCompose | setImageDelay |  | nextImage
colorFloodFillImage | getImageDelay | setImageDepth |  | pingImageBlob
colorizeImage | getImageDepth | setImageDispose |  | pingImageFile
combineImages | getImageDispose | setImageDispose |  | pingImage
compareImageChannels | getImageDistortion | setImageExtent |  | previousImage
compareImageLayers | getImageExtrema | setImageFilename |  | profileImage
compositeImage | getImageFilename | setImageFormat |  | queryFormats
contrastImage | getImageFormat | setImageGamma |  | removeImageProfile
constrastStretchImage | getImageGamma | setImageGreenPrimary |  | removeImage
convolveImage | getImageGeometry | setImageIndex |  | setFirstIterator
cropImage | getImageGreenPrimary | setImageInterpolateMethod |  | setImageIndex
cycleColormapImage | getImageHeight | setImageIterations |  | valid
deconstructImages | getImageHistogram | setImageMatteColor |  |
drawImage | getImageIndex | setImageMatte |  |
edgeImage | getImageInterlaceScheme | setImagePage |  |
embossImage | getImageInterpolateMethod | setImageProfile |  |
enhanceImage | getImageIterations | setImageProperty |  |
equalizeImage | getImageMatteColor | setImageRedPrimary |  |
evaluateImage | getImageMatte | setImageRenderingIntent |  |
flattenImages | getImagePage | setImageResolution |  |
flipImage | getImagePixelColor | setImageScene |  |
flopImage | getImageProfile | setImageTicksPerSecond |  |
imageImage | getImageProperty | setImageType |  |
fxImage | getImageRedPrimary | setImageUnits |  |
gammaImage | getImageRegion | setImageVirtualPixelMethod |  |
gaussianBlurImage | getImageRenderingIntent | setImageWhitepoint |  |
implodeImage | getImageResolution | setInterlaceScheme |  |
levelImage | getImageScene | setOption |  |
linearStretchImage | getImageSignature | setPage |  |
magnifyImage | getImageTicksPerSecond | setResolution |  |
matteFloodFilleImage | getImageTotalInkDensity | setResourceLimit |  |
medianFilterImage | getImageType | setSamplingFactors |  |
minifyImage | getImageUnits | setSizeOffset |  |
modulateImage | getImageVirtualPixelMethod | setSize |  |
montageImage | getImageWhitepoint | setType |  |
morphImages | getImageWidth |  |  |
mosaicImages | getImage |  |  |
motionBlurImage | getInterlaceScheme |  |  |
negateImage | getNumberImages |  |  |
normalizeImage | getOption |  |  |
oilPaintImage | getPackageName |  |  |
optimizeImageLayers | getPage |  |  |
paintOpaqueImage | getPixelIterator |  |  |
paintTransparentImage | getPixelRegionIterator |  |  |
posterizeImage | getQuantumDepth |  |  |
radialBlurImage | getQuantumRange |  |  |
raiseImage | getResourceLimit |  |  |
randomThresholdImage | getResource |  |  |
reduceNoiseImage | getSamplingFactors |  |  |
render | getSizeOffset |  |  |
resampleImage | getSize |  |  |
resizeImage | identifyImage |  |  |
rollImage | getImageSize |  |  |
rotateImage |  |  |  |
sampleImage |  |  |  |
scaleImage |  |  |  |
separateImageChannel |  |  |  |
sepiaToneImage |  |  |  |
shadeImage |  |  |  |
shadowImage |  |  |  |
sharpenImage |  |  |  |
shaveImage |  |  |  |
shearImage |  |  |  |
sigmoidalContrastImage |  |  |  |
sketchImage |  |  |  |
solarizeImage |  |  |  |
spliceImage |  |  |  |
spreadImage |  |  |  |
steganoImage |  |  |  |
stereoImage |  |  |  |
stripImage |  |  |  |
swirlImage |  |  |  |
textureImage |  |  |  |
thresholdImage |  |  |  |
thumbnailImage |  |  |  |
tintImage |  |  |  |
transverseImage |  |  |  |
trimImage |  |  |  |
uniqueImageColors |  |  |  |
unsharpMaskImage |  |  |  |
vignetteImage |  |  |  |
waveImage |  |  |  |
whiteThresholdImage |  |  |  |

## Table of Contents

- Imagick::adaptiveBlurImage — Adds adaptive blur filter to image
- Imagick::adaptiveResizeImage — Adaptively resize image with data dependent triangulation
- Imagick::adaptiveSharpenImage — Adaptively sharpen the image
- Imagick::adaptiveThresholdImage — Selects a threshold for each pixel based on a range of intensity
- Imagick::addImage — Adds new image to Imagick object image list
- Imagick::addNoiseImage — Adds random noise to the image
- Imagick::affineTransformImage — Transforms an image
- Imagick::annotateImage — Annotates an image with text
- Imagick::appendImages — Append a set of images
- Imagick::averageImages — Average a set of images
- Imagick::blackThresholdImage — Forces all pixels below the threshold into black
- Imagick::blurImage — Adds blur filter to image
- Imagick::borderImage — Surrounds the image with a border
- Imagick::charcoalImage — Simulates a charcoal drawing
- Imagick::chopImage — Removes a region of an image and trims
- Imagick::clear — Clears all resources associated to Imagick object
- Imagick::clipImage — Clips along the first path from the 8BIM profile
- Imagick::clipPathImage — Clips along the named paths from the 8BIM profile
- Imagick::clone — Makes an exact copy of the Imagick object
- Imagick::clutImage — Replaces colors in the image from a color lookup table
- Imagick::coalesceImages — Composites a set of images
- Imagick::colorFloodfillImage — Changes the color value of any pixel that matches target
- Imagick::colorizeImage — Blends the fill color with the image
- Imagick::combineImages — Combines one or more images into a single image
- Imagick::commentImage — Adds a comment to your image
- Imagick::compareImageChannels — Returns the difference in one or more images
- Imagick::compareImageLayers — Returns the maximum bounding region between images
- Imagick::compareImages — Compares an image to a reconstructed image
- Imagick::compositeImage — Composite one image onto another
- Imagick::__construct — The Imagick constructor
- Imagick::contrastImage — Change the contrast of the image
- Imagick::contrastStretchImage — Enhances the contrast of a color image
- Imagick::convolveImage — Applies a custom convolution kernel to the image
- Imagick::cropImage — Extracts a region of the image
- Imagick::cropThumbnailImage — Creates a crop thumbnail
- Imagick::current — Returns a reference to the current Imagick object
- Imagick::cycleColormapImage — Displaces an image's colormap
- Imagick::deconstructImages — Returns certain pixel differences between images
- Imagick::despeckleImage — Reduces the speckle noise in an image
- Imagick::destroy — Destroys the Imagick object
- Imagick::displayImage — Displays an image
- Imagick::displayImages — Displays an image or image sequence
- Imagick::distortImage — Distorts an image using various distortion methods
- Imagick::drawImage — Renders the ImagickDraw object on the current image
- Imagick::edgeImage — Enhance edges within the image
- Imagick::embossImage — Returns a grayscale image with a three-dimensional effect
- Imagick::enhanceImage — Improves the quality of a noisy image
- Imagick::equalizeImage — Equalizes the image histogram
- Imagick::evaluateImage — Applies an expression to an image
- Imagick::flattenImages — Merges a sequence of images
- Imagick::flipImage — Creates a vertical mirror image
- Imagick::flopImage — Creates a horizontal mirror image
- Imagick::frameImage — Adds a simulated three-dimensional border
- Imagick::fxImage — Evaluate expression for each pixel in the image
- Imagick::gammaImage — Gamma-corrects an image
- Imagick::gaussianBlurImage — Blurs an image
- Imagick::getCompression — Gets the object compression type
- Imagick::getCompressionQuality — Gets the object compression quality
- Imagick::getCopyright — Returns the ImageMagick API copyright as a string
- Imagick::getFilename — The filename associated with an image sequence
- Imagick::getFormat — Returns the format of the Imagick object
- Imagick::getHomeURL — Returns the ImageMagick home URL
- Imagick::getImage — Returns a new Imagick object
- Imagick::getImageBackgroundColor — Returns the image background color
- Imagick::getImageBlob — Returns the image sequence as a blob
- Imagick::getImageBluePrimary — Returns the chromaticy blue primary point
- Imagick::getImageBorderColor — Returns the image border color
- Imagick::getImageChannelDepth — Gets the depth for a particular image channel
- Imagick::getImageChannelDistortion — Compares image channels of an image to a reconstructed image
- Imagick::getImageChannelExtrema — Gets the extrema for one or more image channels
- Imagick::getImageChannelMean — Gets the mean and standard deviation
- Imagick::getImageChannelStatistics — Returns statistics for each channel in the image
- Imagick::getImageColormapColor — Returns the color of the specified colormap index
- Imagick::getImageColors — Gets the number of unique colors in the image
- Imagick::getImageColorspace — Gets the image colorspace
- Imagick::getImageCompose — Returns the composite operator associated with the image
- Imagick::getImageDelay — Gets the image delay
- Imagick::getImageDepth — Gets the image depth
- Imagick::getImageDispose — Gets the image disposal method
- Imagick::getImageDistortion — Compares an image to a reconstructed image
- Imagick::getImageExtrema — Gets the extrema for the image
- Imagick::getImageFilename — Returns the filename of a particular image in a sequence
- Imagick::getImageFormat — Returns the format of a particular image in a sequence
- Imagick::getImageGamma — Gets the image gamma
- Imagick::getImageGeometry — Gets the width and height as an associative array
- Imagick::getImageGreenPrimary — Returns the chromaticy green primary point
- Imagick::getImageHeight — Returns the image height
- Imagick::getImageHistogram — Gets the image histogram
- Imagick::getImageIndex — Gets the index of the current active image
- Imagick::getImageInterlaceScheme — Gets the image interlace scheme
- Imagick::getImageInterpolateMethod — Returns the interpolation method
- Imagick::getImageIterations — Gets the image iterations
- Imagick::getImageLength — Returns the image length in bytes
- Imagick::getImageMagickLicense — Returns a string containing the ImageMagick license
- Imagick::getImageMatte — Return if the image has a matte channel
- Imagick::getImageMatteColor — Returns the image matte color
- Imagick::getImageOrientation — Gets the image orientation.
- Imagick::getImagePage — Returns the page geometry
- Imagick::getImagePixelColor — Returns the color of the specified pixel
- Imagick::getImageProfile — Returns the named image profile
- Imagick::getImageProfiles — Returns the image profiles
- Imagick::getImageProperties — Returns the image properties
- Imagick::getImageProperty — Returns the named image property
- Imagick::getImageRedPrimary — Returns the chromaticy red primary point
- Imagick::getImageRegion — Extracts a region of the image
- Imagick::getImageRenderingIntent — Gets the image rendering intent
- Imagick::getImageResolution — Gets the image X and Y resolution
- Imagick::getImageScene — Gets the image scene
- Imagick::getImageSignature — Generates an SHA-256 message digest
- Imagick::getImageSize — Returns the image length in bytes
- Imagick::getImageTicksPerSecond — Gets the image ticks-per-second
- Imagick::getImageTotalInkDensity — Gets the image total ink density
- Imagick::getImageType — Gets the potential image type
- Imagick::getImageUnits — Gets the image units of resolution
- Imagick::getImageVirtualPixelMethod — Returns the virtual pixel method
- Imagick::getImageWhitePoint — Returns the chromaticy white point
- Imagick::getImageWidth — Returns the image width
- Imagick::getInterlaceScheme — Gets the object interlace scheme
- Imagick::getIteratorIndex — Gets the index of the current active image
- Imagick::getNumberImages — Returns the number of images in the object
- Imagick::getOption — Returns a value associated with the specified key
- Imagick::getPackageName — Returns the ImageMagick package name
- Imagick::getPage — Returns the page geometry
- Imagick::getPixelIterator — Returns a MagickPixelIterator
- Imagick::getPixelRegionIterator — Get an ImagickPixelIterator for an image section
- Imagick::getQuantumDepth — Gets the quantum depth
- Imagick::getQuantumRange — Returns the Imagick quantum range
- Imagick::getReleaseDate — Returns the ImageMagick release date
- Imagick::getResource — Returns the specified resource's memory usage
- Imagick::getResourceLimit — Returns the specified resource limit
- Imagick::getSamplingFactors — Gets the horizontal and vertical sampling factor
- Imagick::getSize — Returns the size associated with the Imagick object
- Imagick::getSizeOffset — Returns the size offset
- Imagick::getVersion — Returns the ImageMagick API version
- Imagick::hasNextImage — Checks if the object has more images
- Imagick::hasPreviousImage — Checks if the object has a previous image
- Imagick::identifyImage — Identifies an image and fetches attributes
- Imagick::implodeImage — Creates a new image as a copy
- Imagick::labelImage — Adds a label to an image
- Imagick::levelImage — Adjusts the levels of an image
- Imagick::linearStretchImage — Stretches with saturation the image intensity
- Imagick::magnifyImage — Scales an image proportionally 2x
- Imagick::mapImage — Replaces the colors of an image with the closest color from a reference image.
- Imagick::matteFloodfillImage — Changes the transparency value of a color
- Imagick::medianFilterImage — Applies a digital filter
- Imagick::minifyImage — Scales an image proportionally to half its size
- Imagick::modulateImage — Control the brightness, saturation, and hue
- Imagick::montageImage — Creates a composite image
- Imagick::morphImages — Method morphs a set of images
- Imagick::mosaicImages — Forms a mosaic from images
- Imagick::motionBlurImage — Simulates motion blur
- Imagick::negateImage — Negates the colors in the reference image
- Imagick::newImage — Creates a new image
- Imagick::newPseudoImage — Creates a new image
- Imagick::nextImage — Moves to the next image
- Imagick::normalizeImage — Enhances the contrast of a color image
- Imagick::oilPaintImage — Simulates an oil painting
- Imagick::optimizeImageLayers — Removes repeated portions of images to optimize
- Imagick::colorFloodfillImage — Changes the color value of any pixel that matches target
- Imagick::paintOpaqueImage — Change any pixel that matches color
- Imagick::paintTransparentImage — Changes any pixel that matches color with the color defined by fill
- Imagick::pingImage — Fetch basic attributes about the image
- Imagick::pingImageBlob — Quickly fetch attributes
- Imagick::pingImageFile — Get basic image attributes in a lightweight manner
- Imagick::polaroidImage — Simulates a Polaroid picture
- Imagick::posterizeImage — Reduces the image to a limited number of color level
- Imagick::previewImages — Quickly pin-point appropriate parameters for image processing
- Imagick::previousImage — Move to the previous image in the object
- Imagick::profileImage — Adds or removes a profile from an image
- Imagick::quantizeImage — Analyzes the colors within a reference image
- Imagick::quantizeImages — Analyzes the colors within a sequence of images
- Imagick::queryFontMetrics — Returns an array representing the font metrics
- Imagick::queryFonts — Returns the configured fonts
- Imagick::queryFormats — Returns formats supported by Imagick
- Imagick::radialBlurImage — Radial blurs an image
- Imagick::raiseImage — Creates a simulated 3d button-like effect
- Imagick::randomThresholdImage — Creates a high-contrast, two-color image
- Imagick::readImage — Reads image from filename
- Imagick::readImageBlob — Reads image from a binary string
- Imagick::readImageFile — Reads image from open filehandle
- Imagick::reduceNoiseImage — Smooths the contours of an image
- Imagick::removeImage — Removes an image from the image list
- Imagick::removeImageProfile — Removes the named image profile and returns it
- Imagick::render — Renders all preceding drawing commands
- Imagick::resampleImage — Resample image to desired resolution
- Imagick::resizeImage — Scales an image
- Imagick::rollImage — Offsets an image
- Imagick::rotateImage — Rotates an image
- Imagick::roundCorners — Rounds image corners
- Imagick::sampleImage — Scales an image with pixel sampling
- Imagick::scaleImage — Scales the size of an image
- Imagick::separateImageChannel — Separates a channel from the image
- Imagick::sepiaToneImage — Sepia tones an image
- Imagick::setBackgroundColor — Sets the object's default background color
- Imagick::setCompression — Sets the object's default compression type
- Imagick::setCompressionQuality — Sets the object's default compression quality
- Imagick::setFilename — Sets the filename before you read or write the image
- Imagick::setFirstIterator — Sets the Imagick iterator to the first image
- Imagick::setFormat — Sets the format of the Imagick object
- Imagick::setImage — Replaces image in the object
- Imagick::setImageBackgroundColor — Sets the image background color
- Imagick::setImageBias — Sets the image bias for any method that convolves an image
- Imagick::setImageBluePrimary — Sets the image chromaticity blue primary point
- Imagick::setImageBorderColor — Sets the image border color
- Imagick::setImageChannelDepth — Sets the depth of a particular image channel
- Imagick::setImageColormapColor — Sets the color of the specified colormap index
- Imagick::setImageColorspace — Sets the image colorspace
- Imagick::setImageCompose — Sets the image composite operator
- Imagick::setImageCompression — Sets the image compression
- Imagick::setImageDelay — Sets the image delay
- Imagick::setImageDepth — Sets the image depth
- Imagick::setImageDispose — Sets the image disposal method
- Imagick::setImageExtent — Sets the image size
- Imagick::setImageFilename — Sets the filename of a particular image
- Imagick::setImageFormat — Sets the format of a particular image
- Imagick::setImageGamma — Sets the image gamma
- Imagick::setImageGreenPrimary — Sets the image chromaticity green primary point
- Imagick::setImageIndex — Set the iterator position
- Imagick::setImageInterlaceScheme — Sets the image compression
- Imagick::setImageInterpolateMethod — Sets the image interpolate pixel method
- Imagick::setImageIterations — Sets the image iterations
- Imagick::setImageMatte — Sets the image matte channel
- Imagick::setImageMatteColor — Sets the image matte color
- Imagick::setImageOpacity — Sets the image opacity level
- Imagick::setImageOrientation — Sets the image orientation.
- Imagick::setImagePage — Sets the page geometry of the image
- Imagick::setImageProfile — Adds a named profile to the Imagick object
- Imagick::setImageProperty — Sets an image property
- Imagick::setImageRedPrimary — Sets the image chromaticity red primary point
- Imagick::setImageRenderingIntent — Sets the image rendering intent
- Imagick::setImageResolution — Sets the image resolution
- Imagick::setImageScene — Sets the image scene
- Imagick::setImageTicksPerSecond — Sets the image ticks-per-second
- Imagick::setImageType — Sets the image type
- Imagick::setImageUnits — Sets the image units of resolution
- Imagick::setImageVirtualPixelMethod — Sets the image virtual pixel method
- Imagick::setImageWhitePoint — Sets the image chromaticity white point
- Imagick::setInterlaceScheme — Sets the image compression
- Imagick::setIteratorIndex — Set the iterator position
- Imagick::setLastIterator — Sets the Imagick iterator to the last image
- Imagick::setOption — Set an option
- Imagick::setPage — Sets the page geometry of the Imagick object
- Imagick::setResolution — Sets the image resolution
- Imagick::setResourceLimit — Sets the limit for a particular resource in megabytes
- Imagick::setSamplingFactors — Sets the image sampling factors
- Imagick::setSize — Sets the size of the Imagick object
- Imagick::setSizeOffset — Sets the size and offset of the Imagick object
- Imagick::setType — Sets the image type attribute
- Imagick::shadeImage — Creates a 3D effect
- Imagick::shadowImage — Simulates an image shadow
- Imagick::sharpenImage — Sharpens an image
- Imagick::shaveImage — Shaves pixels from the image edges
- Imagick::shearImage — Creating a parallelogram
- Imagick::sigmoidalContrastImage — Adjusts the contrast of an image
- Imagick::sketchImage — Simulates a pencil sketch
- Imagick::solarizeImage — Applies a solarizing effect to the image
- Imagick::spliceImage — Splices a solid color into the image
- Imagick::spreadImage — Randomly displaces each pixel in a block
- Imagick::steganoImage — Hides a digital watermark within the image
- Imagick::stereoImage — Composites two images
- Imagick::stripImage — Strips an image of all profiles and comments
- Imagick::swirlImage — Swirls the pixels about the center of the image
- Imagick::textureImage — Repeatedly tiles the texture image
- Imagick::thresholdImage — Changes the value of individual pixels based on a threshold
- Imagick::thumbnailImage — Changes the size of an image
- Imagick::tintImage — Applies a color vector to each pixel in the image
- Imagick::transformImage — Convenience method for setting crop size and the image geometry
- Imagick::transverseImage — Creates a horizontal mirror image
- Imagick::trimImage — Remove edges from the image
- Imagick::uniqueImageColors — Discards all but one of any pixel color
- Imagick::unsharpMaskImage — Sharpens an image
- Imagick::valid — Checks if the current item is valid
- Imagick::vignetteImage — Adds vignette filter to the image
- Imagick::waveImage — Adds wave filter to the image
- Imagick::whiteThresholdImage — Force all pixels above the threshold into white
- Imagick::writeImage — Writes an image to the specified filename
- Imagick::writeImages — Writes an image or image sequence

Examples
Imagick::adaptiveBlurImage
ImageMagick
PHP Manual