JavaScript Editor Javascript debugger     Website design 

Imagick

Imagick Class ()

Synopsis

class Imagick implements Iterator, Traversable

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 144. Class methods by purpose

Image effectsGet methodsSet methodsRead/write imagesOther
adaptiveBlurImagegetCompressionsetBackgroundColor__constructclear
adaptiveResizeImagegetFilenamesetCompressionQualityaddImageclone
adaptiveSharpenImagegetFormatsetCompressionappendImagescurrent
adaptiveTresholdImagegetImageBackgroundColorsetFilenamegetFilenamedestroy
addNoiseImagegetImageBlobsetFormatgetFormatgetCopyright
affinetransformimagegetImageBluePrimarysetImageBackgroundColorgetImageFilenamegetHomeURL
annotateImagegetImageBorderColorsetFirstIteratorgetImageFormatcommentImage
averageImagesgetImageChannelDepthsetImageBiasgetImagegetNumberImages
blackThresholdImagegetImageChannelDistortionsetImageBluePrimarysetImageFilenamegetReleaseDate
blurImagegetImageChannelExtremasetImageBorderColorsetImageFormatgetVersion
borderImagegetImageChannelMeansetImageChannelDepthreadImageFilehasNextImage
charcoalImagegetImageChannelStatisticssetImageColormapColorreadImagehasPreviousImage
chopImagegetImageColormapColorsetImageColorSpacewriteImageslabelImage
clipImagegetImageColorspacesetImageComposewriteImagenewImage
clipPathImagegetImageColorssetImageCompression newPseudoImage
coalesceImagesgetImageComposesetImageDelay nextImage
colorFloodFillImagegetImageDelaysetImageDepth pingImageBlob
colorizeImagegetImageDepthsetImageDispose pingImageFile
combineImagesgetImageDisposesetImageDispose pingImage
compareImageChannelsgetImageDistortionsetImageExtent previousImage
compareImageLayersgetImageExtremasetImageFilename profileImage
compositeImagegetImageFilenamesetImageFormat queryFormats
contrastImagegetImageFormatsetImageGamma removeImageProfile
constrastStretchImagegetImageGammasetImageGreenPrimary removeImage
convolveImagegetImageGeometrysetImageIndex setFirstIterator
cropImagegetImageGreenPrimarysetImageInterpolateMethod setImageIndex
cycleColormapImagegetImageHeightsetImageIterations valid
deconstructImagesgetImageHistogramsetImageMatteColor  
drawImagegetImageIndexsetImageMatte  
edgeImagegetImageInterlaceSchemesetImagePage  
embossImagegetImageInterpolateMethodsetImageProfile  
enhanceImagegetImageIterationssetImageProperty  
equalizeImagegetImageMatteColorsetImageRedPrimary  
evaluateImagegetImageMattesetImageRenderingIntent  
flattenImagesgetImagePagesetImageResolution  
flipImagegetImagePixelColorsetImageScene  
flopImagegetImageProfilesetImageTicksPerSecond  
imageImagegetImagePropertysetImageType  
fxImagegetImageRedPrimarysetImageUnits  
gammaImagegetImageRegionsetImageVirtualPixelMethod  
gaussianBlurImagegetImageRenderingIntentsetImageWhitepoint  
implodeImagegetImageResolutionsetInterlaceScheme  
levelImagegetImageScenesetOption  
linearStretchImagegetImageSignaturesetPage  
magnifyImagegetImageTicksPerSecondsetResolution  
matteFloodFilleImagegetImageTotalInkDensitysetResourceLimit  
medianFilterImagegetImageTypesetSamplingFactors  
minifyImagegetImageUnitssetSizeOffset  
modulateImagegetImageVirtualPixelMethodsetSize  
montageImagegetImageWhitepointsetType  
morphImagesgetImageWidth   
mosaicImagesgetImage   
motionBlurImagegetInterlaceScheme   
negateImagegetNumberImages   
normalizeImagegetOption   
oilPaintImagegetPackageName   
optimizeImageLayersgetPage   
paintOpaqueImagegetPixelIterator   
paintTransparentImagegetPixelRegionIterator   
posterizeImagegetQuantumDepth   
radialBlurImagegetQuantumRange   
raiseImagegetResourceLimit   
randomThresholdImagegetResource   
reduceNoiseImagegetSamplingFactors   
rendergetSizeOffset   
resampleImagegetSize   
resizeImageidentifyImage   
rollImagegetImageSize   
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