Imagick
class Imagick implements Iterator, Countable (View source)
Constants
COLOR_BLACK |
|
COLOR_BLUE |
|
COLOR_CYAN |
|
COLOR_GREEN |
|
COLOR_RED |
|
COLOR_YELLOW |
|
COLOR_MAGENTA |
|
COLOR_OPACITY |
|
COLOR_ALPHA |
|
COLOR_FUZZ |
|
IMAGICK_EXTNUM |
|
IMAGICK_EXTVER |
|
QUANTUM_RANGE |
|
USE_ZEND_MM |
|
COMPOSITE_DEFAULT |
|
COMPOSITE_UNDEFINED |
|
COMPOSITE_NO |
|
COMPOSITE_ADD |
|
COMPOSITE_ATOP |
|
COMPOSITE_BLEND |
|
COMPOSITE_BUMPMAP |
|
COMPOSITE_CLEAR |
|
COMPOSITE_COLORBURN |
|
COMPOSITE_COLORDODGE |
|
COMPOSITE_COLORIZE |
|
COMPOSITE_COPYBLACK |
|
COMPOSITE_COPYBLUE |
|
COMPOSITE_COPY |
|
COMPOSITE_COPYCYAN |
|
COMPOSITE_COPYGREEN |
|
COMPOSITE_COPYMAGENTA |
|
COMPOSITE_COPYOPACITY |
|
COMPOSITE_COPYRED |
|
COMPOSITE_COPYYELLOW |
|
COMPOSITE_DARKEN |
|
COMPOSITE_DSTATOP |
|
COMPOSITE_DST |
|
COMPOSITE_DSTIN |
|
COMPOSITE_DSTOUT |
|
COMPOSITE_DSTOVER |
|
COMPOSITE_DIFFERENCE |
|
COMPOSITE_DISPLACE |
|
COMPOSITE_DISSOLVE |
|
COMPOSITE_EXCLUSION |
|
COMPOSITE_HARDLIGHT |
|
COMPOSITE_HUE |
|
COMPOSITE_IN |
|
COMPOSITE_LIGHTEN |
|
COMPOSITE_LUMINIZE |
|
COMPOSITE_MINUS |
|
COMPOSITE_MODULATE |
|
COMPOSITE_MULTIPLY |
|
COMPOSITE_OUT |
|
COMPOSITE_OVER |
|
COMPOSITE_OVERLAY |
|
COMPOSITE_PLUS |
|
COMPOSITE_REPLACE |
|
COMPOSITE_SATURATE |
|
COMPOSITE_SCREEN |
|
COMPOSITE_SOFTLIGHT |
|
COMPOSITE_SRCATOP |
|
COMPOSITE_SRC |
|
COMPOSITE_SRCIN |
|
COMPOSITE_SRCOUT |
|
COMPOSITE_SRCOVER |
|
COMPOSITE_SUBTRACT |
|
COMPOSITE_THRESHOLD |
|
COMPOSITE_XOR |
|
COMPOSITE_CHANGEMASK |
|
COMPOSITE_LINEARLIGHT |
|
COMPOSITE_DIVIDE |
|
COMPOSITE_DISTORT |
|
COMPOSITE_BLUR |
|
COMPOSITE_PEGTOPLIGHT |
|
COMPOSITE_VIVIDLIGHT |
|
COMPOSITE_PINLIGHT |
|
COMPOSITE_LINEARDODGE |
|
COMPOSITE_LINEARBURN |
|
COMPOSITE_MATHEMATICS |
|
COMPOSITE_MODULUSADD |
|
COMPOSITE_MODULUSSUBTRACT |
|
COMPOSITE_MINUSDST |
|
COMPOSITE_DIVIDEDST |
|
COMPOSITE_DIVIDESRC |
|
COMPOSITE_MINUSSRC |
|
COMPOSITE_DARKENINTENSITY |
|
COMPOSITE_LIGHTENINTENSITY |
|
MONTAGEMODE_FRAME |
|
MONTAGEMODE_UNFRAME |
|
MONTAGEMODE_CONCATENATE |
|
STYLE_NORMAL |
|
STYLE_ITALIC |
|
STYLE_OBLIQUE |
|
STYLE_ANY |
|
FILTER_UNDEFINED |
|
FILTER_POINT |
|
FILTER_BOX |
|
FILTER_TRIANGLE |
|
FILTER_HERMITE |
|
FILTER_HANNING |
|
FILTER_HAMMING |
|
FILTER_BLACKMAN |
|
FILTER_GAUSSIAN |
|
FILTER_QUADRATIC |
|
FILTER_CUBIC |
|
FILTER_CATROM |
|
FILTER_MITCHELL |
|
FILTER_LANCZOS |
|
FILTER_BESSEL |
|
FILTER_SINC |
|
FILTER_KAISER |
|
FILTER_WELSH |
|
FILTER_PARZEN |
|
FILTER_LAGRANGE |
|
FILTER_SENTINEL |
|
FILTER_BOHMAN |
|
FILTER_BARTLETT |
|
FILTER_JINC |
|
FILTER_SINCFAST |
|
FILTER_ROBIDOUX |
|
FILTER_LANCZOSSHARP |
|
FILTER_LANCZOS2 |
|
FILTER_LANCZOS2SHARP |
|
FILTER_ROBIDOUXSHARP |
|
FILTER_COSINE |
|
FILTER_SPLINE |
|
FILTER_LANCZOSRADIUS |
|
IMGTYPE_UNDEFINED |
|
IMGTYPE_BILEVEL |
|
IMGTYPE_GRAYSCALE |
|
IMGTYPE_GRAYSCALEMATTE |
|
IMGTYPE_PALETTE |
|
IMGTYPE_PALETTEMATTE |
|
IMGTYPE_TRUECOLOR |
|
IMGTYPE_TRUECOLORMATTE |
|
IMGTYPE_COLORSEPARATION |
|
IMGTYPE_COLORSEPARATIONMATTE |
|
IMGTYPE_OPTIMIZE |
|
IMGTYPE_PALETTEBILEVELMATTE |
|
RESOLUTION_UNDEFINED |
|
RESOLUTION_PIXELSPERINCH |
|
RESOLUTION_PIXELSPERCENTIMETER |
|
COMPRESSION_UNDEFINED |
|
COMPRESSION_NO |
|
COMPRESSION_BZIP |
|
COMPRESSION_FAX |
|
COMPRESSION_GROUP4 |
|
COMPRESSION_JPEG |
|
COMPRESSION_JPEG2000 |
|
COMPRESSION_LOSSLESSJPEG |
|
COMPRESSION_LZW |
|
COMPRESSION_RLE |
|
COMPRESSION_ZIP |
|
COMPRESSION_DXT1 |
|
COMPRESSION_DXT3 |
|
COMPRESSION_DXT5 |
|
COMPRESSION_ZIPS |
|
COMPRESSION_PIZ |
|
COMPRESSION_PXR24 |
|
COMPRESSION_B44 |
|
COMPRESSION_B44A |
|
COMPRESSION_LZMA |
|
COMPRESSION_JBIG1 |
|
COMPRESSION_JBIG2 |
|
PAINT_POINT |
|
PAINT_REPLACE |
|
PAINT_FLOODFILL |
|
PAINT_FILLTOBORDER |
|
PAINT_RESET |
|
GRAVITY_NORTHWEST |
|
GRAVITY_NORTH |
|
GRAVITY_NORTHEAST |
|
GRAVITY_WEST |
|
GRAVITY_CENTER |
|
GRAVITY_EAST |
|
GRAVITY_SOUTHWEST |
|
GRAVITY_SOUTH |
|
GRAVITY_SOUTHEAST |
|
GRAVITY_FORGET |
|
GRAVITY_STATIC |
|
STRETCH_NORMAL |
|
STRETCH_ULTRACONDENSED |
|
STRETCH_EXTRACONDENSED |
|
STRETCH_CONDENSED |
|
STRETCH_SEMICONDENSED |
|
STRETCH_SEMIEXPANDED |
|
STRETCH_EXPANDED |
|
STRETCH_EXTRAEXPANDED |
|
STRETCH_ULTRAEXPANDED |
|
STRETCH_ANY |
|
ALIGN_UNDEFINED |
|
ALIGN_LEFT |
|
ALIGN_CENTER |
|
ALIGN_RIGHT |
|
DECORATION_NO |
|
DECORATION_UNDERLINE |
|
DECORATION_OVERLINE |
|
DECORATION_LINETROUGH |
|
DECORATION_LINETHROUGH |
|
NOISE_UNIFORM |
|
NOISE_GAUSSIAN |
|
NOISE_MULTIPLICATIVEGAUSSIAN |
|
NOISE_IMPULSE |
|
NOISE_LAPLACIAN |
|
NOISE_POISSON |
|
NOISE_RANDOM |
|
CHANNEL_UNDEFINED |
|
CHANNEL_RED |
|
CHANNEL_GRAY |
|
CHANNEL_CYAN |
|
CHANNEL_GREEN |
|
CHANNEL_MAGENTA |
|
CHANNEL_BLUE |
|
CHANNEL_YELLOW |
|
CHANNEL_ALPHA |
|
CHANNEL_OPACITY |
|
CHANNEL_MATTE |
|
CHANNEL_BLACK |
|
CHANNEL_INDEX |
|
CHANNEL_ALL |
|
CHANNEL_DEFAULT |
|
CHANNEL_RGBA |
|
CHANNEL_TRUEALPHA |
|
CHANNEL_RGBS |
|
CHANNEL_GRAY_CHANNELS |
|
CHANNEL_SYNC |
|
CHANNEL_COMPOSITES |
|
METRIC_UNDEFINED |
|
METRIC_ABSOLUTEERRORMETRIC |
|
METRIC_MEANABSOLUTEERROR |
|
METRIC_MEANERRORPERPIXELMETRIC |
|
METRIC_MEANSQUAREERROR |
|
METRIC_PEAKABSOLUTEERROR |
|
METRIC_PEAKSIGNALTONOISERATIO |
|
METRIC_ROOTMEANSQUAREDERROR |
|
METRIC_NORMALIZEDCROSSCORRELATIONERRORMETRIC |
|
METRIC_FUZZERROR |
|
PIXEL_CHAR |
|
PIXEL_DOUBLE |
|
PIXEL_FLOAT |
|
PIXEL_INTEGER |
|
PIXEL_LONG |
|
PIXEL_QUANTUM |
|
PIXEL_SHORT |
|
EVALUATE_UNDEFINED |
|
EVALUATE_ADD |
|
EVALUATE_AND |
|
EVALUATE_DIVIDE |
|
EVALUATE_LEFTSHIFT |
|
EVALUATE_MAX |
|
EVALUATE_MIN |
|
EVALUATE_MULTIPLY |
|
EVALUATE_OR |
|
EVALUATE_RIGHTSHIFT |
|
EVALUATE_SET |
|
EVALUATE_SUBTRACT |
|
EVALUATE_XOR |
|
EVALUATE_POW |
|
EVALUATE_LOG |
|
EVALUATE_THRESHOLD |
|
EVALUATE_THRESHOLDBLACK |
|
EVALUATE_THRESHOLDWHITE |
|
EVALUATE_GAUSSIANNOISE |
|
EVALUATE_IMPULSENOISE |
|
EVALUATE_LAPLACIANNOISE |
|
EVALUATE_MULTIPLICATIVENOISE |
|
EVALUATE_POISSONNOISE |
|
EVALUATE_UNIFORMNOISE |
|
EVALUATE_COSINE |
|
EVALUATE_SINE |
|
EVALUATE_ADDMODULUS |
|
EVALUATE_MEAN |
|
EVALUATE_ABS |
|
EVALUATE_EXPONENTIAL |
|
EVALUATE_MEDIAN |
|
EVALUATE_SUM |
|
COLORSPACE_UNDEFINED |
|
COLORSPACE_RGB |
|
COLORSPACE_GRAY |
|
COLORSPACE_TRANSPARENT |
|
COLORSPACE_OHTA |
|
COLORSPACE_LAB |
|
COLORSPACE_XYZ |
|
COLORSPACE_YCBCR |
|
COLORSPACE_YCC |
|
COLORSPACE_YIQ |
|
COLORSPACE_YPBPR |
|
COLORSPACE_YUV |
|
COLORSPACE_CMYK |
|
COLORSPACE_SRGB |
|
COLORSPACE_HSB |
|
COLORSPACE_HSL |
|
COLORSPACE_HWB |
|
COLORSPACE_REC601LUMA |
|
COLORSPACE_REC709LUMA |
|
COLORSPACE_LOG |
|
COLORSPACE_CMY |
|
COLORSPACE_LUV |
|
COLORSPACE_HCL |
|
COLORSPACE_LCH |
|
COLORSPACE_LMS |
|
COLORSPACE_LCHAB |
|
COLORSPACE_LCHUV |
|
COLORSPACE_SCRGB |
|
COLORSPACE_HSI |
|
COLORSPACE_HSV |
|
COLORSPACE_HCLP |
|
COLORSPACE_YDBDR |
|
COLORSPACE_REC601YCBCR |
|
COLORSPACE_REC709YCBCR |
|
VIRTUALPIXELMETHOD_UNDEFINED |
|
VIRTUALPIXELMETHOD_BACKGROUND |
|
VIRTUALPIXELMETHOD_CONSTANT |
|
VIRTUALPIXELMETHOD_EDGE |
|
VIRTUALPIXELMETHOD_MIRROR |
|
VIRTUALPIXELMETHOD_TILE |
|
VIRTUALPIXELMETHOD_TRANSPARENT |
|
VIRTUALPIXELMETHOD_MASK |
|
VIRTUALPIXELMETHOD_BLACK |
|
VIRTUALPIXELMETHOD_GRAY |
|
VIRTUALPIXELMETHOD_WHITE |
|
VIRTUALPIXELMETHOD_HORIZONTALTILE |
|
VIRTUALPIXELMETHOD_VERTICALTILE |
|
VIRTUALPIXELMETHOD_HORIZONTALTILEEDGE |
|
VIRTUALPIXELMETHOD_VERTICALTILEEDGE |
|
VIRTUALPIXELMETHOD_CHECKERTILE |
|
PREVIEW_UNDEFINED |
|
PREVIEW_ROTATE |
|
PREVIEW_SHEAR |
|
PREVIEW_ROLL |
|
PREVIEW_HUE |
|
PREVIEW_SATURATION |
|
PREVIEW_BRIGHTNESS |
|
PREVIEW_GAMMA |
|
PREVIEW_SPIFF |
|
PREVIEW_DULL |
|
PREVIEW_GRAYSCALE |
|
PREVIEW_QUANTIZE |
|
PREVIEW_DESPECKLE |
|
PREVIEW_REDUCENOISE |
|
PREVIEW_ADDNOISE |
|
PREVIEW_SHARPEN |
|
PREVIEW_BLUR |
|
PREVIEW_THRESHOLD |
|
PREVIEW_EDGEDETECT |
|
PREVIEW_SPREAD |
|
PREVIEW_SOLARIZE |
|
PREVIEW_SHADE |
|
PREVIEW_RAISE |
|
PREVIEW_SEGMENT |
|
PREVIEW_SWIRL |
|
PREVIEW_IMPLODE |
|
PREVIEW_WAVE |
|
PREVIEW_OILPAINT |
|
PREVIEW_CHARCOALDRAWING |
|
PREVIEW_JPEG |
|
RENDERINGINTENT_UNDEFINED |
|
RENDERINGINTENT_SATURATION |
|
RENDERINGINTENT_PERCEPTUAL |
|
RENDERINGINTENT_ABSOLUTE |
|
RENDERINGINTENT_RELATIVE |
|
INTERLACE_UNDEFINED |
|
INTERLACE_NO |
|
INTERLACE_LINE |
|
INTERLACE_PLANE |
|
INTERLACE_PARTITION |
|
INTERLACE_GIF |
|
INTERLACE_JPEG |
|
INTERLACE_PNG |
|
FILLRULE_UNDEFINED |
|
FILLRULE_EVENODD |
|
FILLRULE_NONZERO |
|
PATHUNITS_UNDEFINED |
|
PATHUNITS_USERSPACE |
|
PATHUNITS_USERSPACEONUSE |
|
PATHUNITS_OBJECTBOUNDINGBOX |
|
LINECAP_UNDEFINED |
|
LINECAP_BUTT |
|
LINECAP_ROUND |
|
LINECAP_SQUARE |
|
LINEJOIN_UNDEFINED |
|
LINEJOIN_MITER |
|
LINEJOIN_ROUND |
|
LINEJOIN_BEVEL |
|
RESOURCETYPE_UNDEFINED |
|
RESOURCETYPE_AREA |
|
RESOURCETYPE_DISK |
|
RESOURCETYPE_FILE |
|
RESOURCETYPE_MAP |
|
RESOURCETYPE_MEMORY |
|
RESOURCETYPE_TIME |
|
RESOURCETYPE_THROTTLE |
|
RESOURCETYPE_THREAD |
|
DISPOSE_UNRECOGNIZED |
|
DISPOSE_UNDEFINED |
|
DISPOSE_NONE |
|
DISPOSE_BACKGROUND |
|
DISPOSE_PREVIOUS |
|
INTERPOLATE_UNDEFINED |
|
INTERPOLATE_AVERAGE |
|
INTERPOLATE_BICUBIC |
|
INTERPOLATE_BILINEAR |
|
INTERPOLATE_FILTER |
|
INTERPOLATE_INTEGER |
|
INTERPOLATE_MESH |
|
INTERPOLATE_NEARESTNEIGHBOR |
|
INTERPOLATE_SPLINE |
|
LAYERMETHOD_UNDEFINED |
|
LAYERMETHOD_COALESCE |
|
LAYERMETHOD_COMPAREANY |
|
LAYERMETHOD_COMPARECLEAR |
|
LAYERMETHOD_COMPAREOVERLAY |
|
LAYERMETHOD_DISPOSE |
|
LAYERMETHOD_OPTIMIZE |
|
LAYERMETHOD_OPTIMIZEPLUS |
|
LAYERMETHOD_OPTIMIZETRANS |
|
LAYERMETHOD_COMPOSITE |
|
LAYERMETHOD_OPTIMIZEIMAGE |
|
LAYERMETHOD_REMOVEDUPS |
|
LAYERMETHOD_REMOVEZERO |
|
LAYERMETHOD_TRIMBOUNDS |
|
ORIENTATION_UNDEFINED |
|
ORIENTATION_TOPLEFT |
|
ORIENTATION_TOPRIGHT |
|
ORIENTATION_BOTTOMRIGHT |
|
ORIENTATION_BOTTOMLEFT |
|
ORIENTATION_LEFTTOP |
|
ORIENTATION_RIGHTTOP |
|
ORIENTATION_RIGHTBOTTOM |
|
ORIENTATION_LEFTBOTTOM |
|
DISTORTION_UNDEFINED |
|
DISTORTION_AFFINE |
|
DISTORTION_AFFINEPROJECTION |
|
DISTORTION_ARC |
|
DISTORTION_BILINEAR |
|
DISTORTION_PERSPECTIVE |
|
DISTORTION_PERSPECTIVEPROJECTION |
|
DISTORTION_SCALEROTATETRANSLATE |
|
DISTORTION_POLYNOMIAL |
|
DISTORTION_POLAR |
|
DISTORTION_DEPOLAR |
|
DISTORTION_BARREL |
|
DISTORTION_SHEPARDS |
|
DISTORTION_SENTINEL |
|
DISTORTION_BARRELINVERSE |
|
DISTORTION_BILINEARFORWARD |
|
DISTORTION_BILINEARREVERSE |
|
DISTORTION_RESIZE |
|
DISTORTION_CYLINDER2PLANE |
|
DISTORTION_PLANE2CYLINDER |
|
LAYERMETHOD_MERGE |
|
LAYERMETHOD_FLATTEN |
|
LAYERMETHOD_MOSAIC |
|
ALPHACHANNEL_ACTIVATE |
|
ALPHACHANNEL_RESET |
|
ALPHACHANNEL_SET |
|
ALPHACHANNEL_UNDEFINED |
|
ALPHACHANNEL_COPY |
|
ALPHACHANNEL_DEACTIVATE |
|
ALPHACHANNEL_EXTRACT |
|
ALPHACHANNEL_OPAQUE |
|
ALPHACHANNEL_SHAPE |
|
ALPHACHANNEL_TRANSPARENT |
|
SPARSECOLORMETHOD_UNDEFINED |
|
SPARSECOLORMETHOD_BARYCENTRIC |
|
SPARSECOLORMETHOD_BILINEAR |
|
SPARSECOLORMETHOD_POLYNOMIAL |
|
SPARSECOLORMETHOD_SPEPARDS |
|
SPARSECOLORMETHOD_VORONOI |
|
SPARSECOLORMETHOD_INVERSE |
|
DITHERMETHOD_UNDEFINED |
|
DITHERMETHOD_NO |
|
DITHERMETHOD_RIEMERSMA |
|
DITHERMETHOD_FLOYDSTEINBERG |
|
FUNCTION_UNDEFINED |
|
FUNCTION_POLYNOMIAL |
|
FUNCTION_SINUSOID |
|
ALPHACHANNEL_BACKGROUND |
|
FUNCTION_ARCSIN |
|
FUNCTION_ARCTAN |
|
ALPHACHANNEL_FLATTEN |
|
ALPHACHANNEL_REMOVE |
|
STATISTIC_GRADIENT |
|
STATISTIC_MAXIMUM |
|
STATISTIC_MEAN |
|
STATISTIC_MEDIAN |
|
STATISTIC_MINIMUM |
|
STATISTIC_MODE |
|
STATISTIC_NONPEAK |
|
STATISTIC_STANDARD_DEVIATION |
|
MORPHOLOGY_CONVOLVE |
|
MORPHOLOGY_CORRELATE |
|
MORPHOLOGY_ERODE |
|
MORPHOLOGY_DILATE |
|
MORPHOLOGY_ERODE_INTENSITY |
|
MORPHOLOGY_DILATE_INTENSITY |
|
MORPHOLOGY_DISTANCE |
|
MORPHOLOGY_OPEN |
|
MORPHOLOGY_CLOSE |
|
MORPHOLOGY_OPEN_INTENSITY |
|
MORPHOLOGY_CLOSE_INTENSITY |
|
MORPHOLOGY_SMOOTH |
|
MORPHOLOGY_EDGE_IN |
|
MORPHOLOGY_EDGE_OUT |
|
MORPHOLOGY_EDGE |
|
MORPHOLOGY_TOP_HAT |
|
MORPHOLOGY_BOTTOM_HAT |
|
MORPHOLOGY_HIT_AND_MISS |
|
MORPHOLOGY_THINNING |
|
MORPHOLOGY_THICKEN |
|
MORPHOLOGY_VORONOI |
|
MORPHOLOGY_ITERATIVE |
|
KERNEL_UNITY |
|
KERNEL_GAUSSIAN |
|
KERNEL_DIFFERENCE_OF_GAUSSIANS |
|
KERNEL_LAPLACIAN_OF_GAUSSIANS |
|
KERNEL_BLUR |
|
KERNEL_COMET |
|
KERNEL_LAPLACIAN |
|
KERNEL_SOBEL |
|
KERNEL_FREI_CHEN |
|
KERNEL_ROBERTS |
|
KERNEL_PREWITT |
|
KERNEL_COMPASS |
|
KERNEL_KIRSCH |
|
KERNEL_DIAMOND |
|
KERNEL_SQUARE |
|
KERNEL_RECTANGLE |
|
KERNEL_OCTAGON |
|
KERNEL_DISK |
|
KERNEL_PLUS |
|
KERNEL_CROSS |
|
KERNEL_RING |
|
KERNEL_PEAKS |
|
KERNEL_EDGES |
|
KERNEL_CORNERS |
|
KERNEL_DIAGONALS |
|
KERNEL_LINE_ENDS |
|
KERNEL_LINE_JUNCTIONS |
|
KERNEL_RIDGES |
|
KERNEL_CONVEX_HULL |
|
KERNEL_THIN_SE |
|
KERNEL_SKELETON |
|
KERNEL_CHEBYSHEV |
|
KERNEL_MANHATTAN |
|
KERNEL_OCTAGONAL |
|
KERNEL_EUCLIDEAN |
|
KERNEL_USER_DEFINED |
|
KERNEL_BINOMIAL |
|
DIRECTION_LEFT_TO_RIGHT |
|
DIRECTION_RIGHT_TO_LEFT |
|
NORMALIZE_KERNEL_NONE |
|
NORMALIZE_KERNEL_VALUE |
|
NORMALIZE_KERNEL_CORRELATE |
|
NORMALIZE_KERNEL_PERCENT |
|
Methods
(PECL imagick 2.0.0)
Removes repeated portions of images to optimize
(PECL imagick 2.0.0)
Returns the maximum bounding region between images
(PECL imagick 2.0.0)
Quickly fetch attributes
(PECL imagick 2.0.0)
Get basic image attributes in a lightweight manner
(PECL imagick 2.0.0)
Creates a vertical mirror image
(PECL imagick 2.0.0)
Creates a horizontal mirror image
(PECL imagick 2.0.0)
Remove edges from the image
(PECL imagick 2.0.0)
Applies wave filter to the image
(PECL imagick 2.0.0)
Adds vignette filter to the image
(PECL imagick 2.0.0)
Discards all but one of any pixel color
(PECL imagick 2.0.0)
Return if the image has a matte channel
(PECL imagick 2.0.0)
Sets the image matte channel
Adaptively resize image with data dependent triangulation
(PECL imagick 2.0.0)
Simulates a pencil sketch
(PECL imagick 2.0.0)
Creates a 3D effect
(PECL imagick 2.0.0)
Returns the size offset
(PECL imagick 2.0.0)
Sets the size and offset of the Imagick object
(PECL imagick 2.0.0)
Adds adaptive blur filter to image
(PECL imagick 2.0.0)
Enhances the contrast of a color image
(PECL imagick 2.0.0)
Adaptively sharpen the image
(PECL imagick 2.0.0)
Creates a high-contrast, two-color image
No description
(PECL imagick 2.0.0)
Rounds image corners
Alias to {Imagick::roundCornersImage}
(PECL imagick 2.0.0)
Set the iterator position
(PECL imagick 2.0.0)
Gets the index of the current active image
(PECL imagick 2.0.0)
Convenience method for setting crop size and the image geometry
(PECL imagick 2.0.0)
Sets the image opacity level
(PECL imagick 2.2.2)
Performs an ordered dither
(PECL imagick 2.0.0)
Simulates a Polaroid picture
(PECL imagick 2.0.0)
Returns the named image property
(PECL imagick 2.0.0)
Sets an image property
(PECL imagick 2.0.0)
Sets the image interpolate pixel method
(PECL imagick 2.0.0)
Returns the interpolation method
(PECL imagick 2.0.0)
Stretches with saturation the image intensity
(PECL imagick 2.0.0)
Returns the image length in bytes
(No version information available, might only be in SVN)
Set image size
(PECL imagick 2.0.0)
Gets the image orientation
(PECL imagick 2.0.0)
Sets the image orientation
(PECL imagick 2.1.0)
Changes the color value of any pixel that matches target
(PECL imagick 2.0.0)
Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
(PECL imagick 2.0.0)
Returns the image properties
(PECL imagick 2.2.0)
Returns the image profiles
(PECL imagick 2.0.1)
Distorts an image using various distortion methods
(No version information available, might only be in SVN)
Writes an image to a filehandle
(No version information available, might only be in SVN)
Writes frames to a filehandle
(No version information available, might only be in SVN)
Reset image page
(No version information available, might only be in SVN)
Sets image clip mask
(No version information available, might only be in SVN)
Gets image clip mask
(No version information available, might only be in SVN)
Animates an image or images
(No version information available, might only be in SVN)
Recolors image
(PECL imagick 2.1.0)
Sets font
(PECL imagick 2.1.0)
Gets font
(PECL imagick 2.1.0)
Sets point size
(No version information available, might only be in SVN)
Gets point size
(PECL imagick 2.1.0)
Merges image layers
(No version information available, might only be in SVN)
Sets image alpha channel
(No version information available, might only be in SVN)
Changes the color value of any pixel that matches target
(No version information available, might only be in SVN)
Changes the color value of any pixel that matches target
(No version information available, might only be in SVN)
Paints pixels transparent
(No version information available, might only be in SVN)
Animates an image or images
(No version information available, might only be in SVN)
Enciphers an image
(No version information available, might only be in SVN)
Deciphers an image
(No version information available, might only be in SVN)
Sets the gravity
(No version information available, might only be in SVN)
Gets the gravity
(PECL imagick 2.2.1)
Gets channel range
(No version information available, might only be in SVN)
Gets the image alpha channel
(No version information available, might only be in SVN)
Gets channel distortions
(No version information available, might only be in SVN)
Sets the image gravity
(No version information available, might only be in SVN)
Gets the image gravity
(No version information available, might only be in SVN)
Imports image pixels
(No version information available, might only be in SVN)
Removes skew from the image
(No version information available, might only be in SVN)
Segments an image
(No version information available, might only be in SVN)
Interpolates colors
(No version information available, might only be in SVN)
Remaps image colors
(No version information available, might only be in SVN)
Exports raw image pixels
(No version information available, might only be in SVN)
The getImageChannelKurtosis purpose
(No version information available, might only be in SVN)
Applies a function on the image
Transform image colorspace
(No version information available, might only be in SVN)
Replaces colors in the image
Adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
No description
(No version information available, might only be in SVN)
Get image artifact
(No version information available, might only be in SVN)
Set image artifact
(No version information available, might only be in SVN)
Delete image artifact
(PECL imagick 0.9.10-0.9.9)
Gets the colorspace
(No version information available, might only be in SVN)
Set colorspace
No description
No description
(PECL imagick 2.0.0)
The Imagick constructor
No description
Count elements of an object
(PECL imagick 2.0.0)
Returns a MagickPixelIterator
(PECL imagick 2.0.0)
Get an ImagickPixelIterator for an image section
(PECL imagick 0.9.0-0.9.9)
Reads image from filename
No description
(PECL imagick 2.0.0)
Reads image from a binary string
(PECL imagick 2.0.0)
Sets the format of a particular image
Scales the size of an image to the given dimensions. Passing zero as either of the arguments will preserve dimension while scaling.
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
If false, the calculations should produce the same results as ImageMagick CLI does.
(PECL imagick 0.9.0-0.9.9)
Writes an image to the specified filename
(PECL imagick 0.9.0-0.9.9)
Writes an image or image sequence
(PECL imagick 2.0.0)
Adds blur filter to image
Changes the size of an image to the given dimensions and removes any associated profiles.
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
If false, the calculations should produce the same results as ImageMagick CLI does.
Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
Creates a cropped thumbnail at the requested size.
(PECL imagick 2.0.0)
Returns the filename of a particular image in a sequence
(PECL imagick 2.0.0)
Sets the filename of a particular image
(PECL imagick 2.0.0)
Returns the format of a particular image in a sequence
No description
(PECL imagick 2.0.0)
Removes an image from the image list
(PECL imagick 2.0.0)
Destroys the Imagick object
(PECL imagick 2.0.0)
Clears all resources associated to Imagick object
(PECL imagick 2.0.0)
Returns the image length in bytes
(PECL imagick 2.0.0)
Returns the image sequence as a blob
(PECL imagick 2.0.0)
Returns all image sequences as a blob
(PECL imagick 2.0.0)
Sets the Imagick iterator to the first image
(PECL imagick 2.0.1)
Sets the Imagick iterator to the last image
No description
(PECL imagick 2.0.0)
Move to the previous image in the object
(PECL imagick 2.0.0)
Moves to the next image
(PECL imagick 2.0.0)
Checks if the object has a previous image
(PECL imagick 2.0.0)
Checks if the object has more images
(PECL imagick 2.0.0)
Set the iterator position
(PECL imagick 2.0.0)
Gets the index of the current active image
(PECL imagick 2.0.0)
Adds a comment to your image
(PECL imagick 2.0.0)
Extracts a region of the image
(PECL imagick 2.0.0)
Adds a label to an image
(PECL imagick 2.0.0)
Gets the width and height as an associative array
(PECL imagick 2.0.0)
Renders the ImagickDraw object on the current image
(No version information available, might only be in SVN)
Sets the image compression quality
(PECL imagick 2.2.2)
Gets the current image's compression quality
(PECL imagick 2.0.0)
Annotates an image with text
(PECL imagick 2.0.0)
Composite one image onto another
(PECL imagick 2.0.0)
Control the brightness, saturation, and hue
(PECL imagick 2.0.0)
Gets the number of unique colors in the image
(PECL imagick 2.0.0)
Creates a composite image
(PECL imagick 2.0.0)
Identifies an image and fetches attributes
(PECL imagick 2.0.0)
Changes the value of individual pixels based on a threshold
(PECL imagick 2.0.0)
Selects a threshold for each pixel based on a range of intensity
(PECL imagick 2.0.0)
Forces all pixels below the threshold into black
(PECL imagick 2.0.0)
Force all pixels above the threshold into white
(PECL imagick 2.0.0)
Append a set of images
(PECL imagick 2.0.0)
Simulates a charcoal drawing
(PECL imagick 2.0.0)
Enhances the contrast of a color image
(PECL imagick 2.0.0)
Simulates an oil painting
(PECL imagick 2.0.0)
Reduces the image to a limited number of color level
(PECL imagick 2.0.0)
Radial blurs an image
(PECL imagick 2.0.0)
Creates a simulated 3d button-like effect
(PECL imagick 2.0.0)
Resample image to desired resolution
Scales an image to the desired dimensions with one of these filters:
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
If false, the calculations should produce the same results as ImageMagick CLI does.
Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
(PECL imagick 2.0.0)
Offsets an image
(PECL imagick 2.0.0)
Rotates an image
(PECL imagick 2.0.0)
Scales an image with pixel sampling
(PECL imagick 2.0.0)
Applies a solarizing effect to the image
(PECL imagick 2.0.0)
Simulates an image shadow
No description
(PECL imagick 2.0.0)
Sets the image background color
(PECL imagick 2.0.0)
Sets the image composite operator
(PECL imagick 2.0.0)
Sets the image compression
(PECL imagick 2.0.0)
Sets the image delay
(PECL imagick 2.0.0)
Sets the image depth
(PECL imagick 2.0.0)
Sets the image gamma
(PECL imagick 2.0.0)
Sets the image iterations
(PECL imagick 2.0.0)
Sets the image matte color
(PECL imagick 2.0.0)
Sets the page geometry of the image
No description
(PECL imagick 2.0.0)
Sets the image resolution
(PECL imagick 2.0.0)
Sets the image scene
(PECL imagick 2.0.0)
Sets the image ticks-per-second
(PECL imagick 2.0.0)
Sets the image type
(PECL imagick 2.0.0)
Sets the image units of resolution
(PECL imagick 2.0.0)
Sharpens an image
(PECL imagick 2.0.0)
Shaves pixels from the image edges
(PECL imagick 2.0.0)
Creating a parallelogram
(PECL imagick 2.0.0)
Splices a solid color into the image
(PECL imagick 2.0.0)
Fetch basic attributes about the image
(PECL imagick 2.0.0)
Reads image from open filehandle
(PECL imagick 2.0.0)
Displays an image
(PECL imagick 2.0.0)
Displays an image or image sequence
(PECL imagick 2.0.0)
Randomly displaces each pixel in a block
(PECL imagick 2.0.0)
Swirls the pixels about the center of the image
(PECL imagick 2.0.0)
Strips an image of all profiles and comments
(PECL imagick 2.0.0)
Returns formats supported by Imagick
(PECL imagick 2.0.0)
Returns the configured fonts
(PECL imagick 2.0.0)
Returns an array representing the font metrics
(PECL imagick 2.0.0)
Hides a digital watermark within the image
(PECL imagick 2.0.0)
Adds random noise to the image
(PECL imagick 2.0.0)
Simulates motion blur
(PECL imagick 2.0.0)
Forms a mosaic from images
(PECL imagick 2.0.0)
Method morphs a set of images
(PECL imagick 2.0.0)
Scales an image proportionally to half its size
(PECL imagick 2.0.0)
Average a set of images
(PECL imagick 2.0.0)
Surrounds the image with a border
(PECL imagick 2.0.0)
Removes a region of an image and trims
(PECL imagick 2.0.0)
Clips along the first path from the 8BIM profile
(PECL imagick 2.0.0)
Clips along the named paths from the 8BIM profile
Alias to {Imagick::clipPathImage}
(PECL imagick 2.0.0)
Composites a set of images
(PECL imagick 2.0.0)
Changes the color value of any pixel that matches target
Blends the fill color with each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
(PECL imagick 2.0.0)
Returns the difference in one or more images
(PECL imagick 2.0.0)
Compares an image to a reconstructed image
(PECL imagick 2.0.0)
Change the contrast of the image
(PECL imagick 2.0.0)
Combines one or more images into a single image
(PECL imagick 2.0.0)
Applies a custom convolution kernel to the image
(PECL imagick 2.0.0)
Displaces an image's colormap
(PECL imagick 2.0.0)
Returns certain pixel differences between images
(PECL imagick 2.0.0)
Reduces the speckle noise in an image
(PECL imagick 2.0.0)
Enhance edges within the image
(PECL imagick 2.0.0)
Returns a grayscale image with a three-dimensional effect
(PECL imagick 2.0.0)
Improves the quality of a noisy image
(PECL imagick 2.0.0)
Equalizes the image histogram
(PECL imagick 2.0.0)
Applies an expression to an image
Merges a sequence of images. This is useful for combining Photoshop layers into a single image.
(PECL imagick 2.0.0)
Creates a vertical mirror image
(PECL imagick 2.0.0)
Creates a horizontal mirror image
(PECL imagick 2.0.0)
Adds a simulated three-dimensional border
(PECL imagick 2.0.0)
Evaluate expression for each pixel in the image
(PECL imagick 2.0.0)
Gamma-corrects an image
(PECL imagick 2.0.0)
Blurs an image
No description
(PECL imagick 2.0.0)
Returns the image background color
(PECL imagick 2.0.0)
Returns the chromaticy blue primary point
(PECL imagick 2.0.0)
Returns the image border color
(PECL imagick 2.0.0)
Gets the depth for a particular image channel
(PECL imagick 2.0.0)
Compares image channels of an image to a reconstructed image
(PECL imagick 2.0.0)
Gets the extrema for one or more image channels
(PECL imagick 2.0.0)
Gets the mean and standard deviation
(PECL imagick 2.0.0)
Returns statistics for each channel in the image
(PECL imagick 2.0.0)
Returns the color of the specified colormap index
(PECL imagick 2.0.0)
Gets the image colorspace
(PECL imagick 2.0.0)
Returns the composite operator associated with the image
(PECL imagick 2.0.0)
Gets the image delay
(PECL imagick 0.9.1-0.9.9)
Gets the image depth
(PECL imagick 2.0.0)
Compares an image to a reconstructed image
(PECL imagick 2.0.0)
Gets the extrema for the image
(PECL imagick 2.0.0)
Gets the image disposal method
(PECL imagick 2.0.0)
Gets the image gamma
(PECL imagick 2.0.0)
Returns the chromaticy green primary point
(PECL imagick 2.0.0)
Returns the image height
(PECL imagick 2.0.0)
Gets the image histogram
(PECL imagick 2.0.0)
Gets the image interlace scheme
(PECL imagick 2.0.0)
Gets the image iterations
(PECL imagick 2.0.0)
Returns the image matte color
(PECL imagick 2.0.0)
Returns the page geometry
(PECL imagick 2.0.0)
Returns the color of the specified pixel
(PECL imagick 2.0.0)
Returns the named image profile
(PECL imagick 2.0.0)
Returns the chromaticity red primary point
(PECL imagick 2.0.0)
Gets the image rendering intent
(PECL imagick 2.0.0)
Gets the image X and Y resolution
(PECL imagick 2.0.0)
Gets the image scene
(PECL imagick 2.0.0)
Generates an SHA-256 message digest
(PECL imagick 2.0.0)
Gets the image ticks-per-second
(PECL imagick 0.9.10-0.9.9)
Gets the potential image type
(PECL imagick 2.0.0)
Gets the image units of resolution
(PECL imagick 2.0.0)
Returns the virtual pixel method
(PECL imagick 2.0.0)
Returns the chromaticity white point
(PECL imagick 2.0.0)
Returns the image width
(PECL imagick 2.0.0)
Returns the number of images in the object
(PECL imagick 2.0.0)
Gets the image total ink density
(PECL imagick 2.0.0)
Extracts a region of the image
(PECL imagick 2.0.0)
Creates a new image as a copy
(PECL imagick 2.0.0)
Adjusts the levels of an image
(PECL imagick 2.0.0)
Scales an image proportionally 2x
(PECL imagick 2.0.0)
Changes the transparency value of a color
(PECL imagick 2.0.0)
Applies a digital filter
(PECL imagick 2.0.0)
Negates the colors in the reference image
(PECL imagick 2.0.0)
Change any pixel that matches color
(PECL imagick 2.0.0)
Changes any pixel that matches color with the color defined by fill
(PECL imagick 2.0.0)
Quickly pin-point appropriate parameters for image processing
(PECL imagick 2.0.0)
Adds or removes a profile from an image
(PECL imagick 2.0.0)
Analyzes the colors within a reference image
(PECL imagick 2.0.0)
Analyzes the colors within a sequence of images
(PECL imagick 2.0.0)
Smooths the contours of an image
(PECL imagick 2.0.0)
Removes the named image profile and returns it
(PECL imagick 2.0.0)
Separates a channel from the image
(PECL imagick 2.0.0)
Sepia tones an image
(PECL imagick 2.0.0)
Sets the image bias for any method that convolves an image
(PECL imagick 2.0.0)
Sets the image chromaticity blue primary point
(PECL imagick 2.0.0)
Sets the image border color
(PECL imagick 2.0.0)
Sets the depth of a particular image channel
(PECL imagick 2.0.0)
Sets the color of the specified colormap index
(PECL imagick 2.0.0)
Sets the image colorspace
(PECL imagick 2.0.0)
Sets the image disposal method
(PECL imagick 2.0.0)
Sets the image size
(PECL imagick 2.0.0)
Sets the image chromaticity green primary point
(PECL imagick 2.0.0)
Sets the image compression
(PECL imagick 2.0.0)
Adds a named profile to the Imagick object
(PECL imagick 2.0.0)
Sets the image chromaticity red primary point
(PECL imagick 2.0.0)
Sets the image rendering intent
(PECL imagick 2.0.0)
Sets the image virtual pixel method
(PECL imagick 2.0.0)
Sets the image chromaticity white point
(PECL imagick 2.0.0)
Adjusts the contrast of an image
pplies a color vector to each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
(PECL imagick 2.0.0)
Sharpens an image
(PECL imagick 2.0.0)
Creates a new image
(PECL imagick 2.0.0)
Creates a new image
(PECL imagick 2.0.0)
Gets the object compression type
(PECL imagick 2.0.0)
Gets the object compression quality
(PECL imagick 2.0.0)
Returns the ImageMagick API copyright as a string
(PECL imagick 2.0.0)
The filename associated with an image sequence
(PECL imagick 2.0.0)
Returns the format of the Imagick object
(PECL imagick 2.0.0)
Returns the ImageMagick home URL
(PECL imagick 2.0.0)
Gets the object interlace scheme
(PECL imagick 2.0.0)
Returns a value associated with the specified key
(PECL imagick 2.0.0)
Returns the ImageMagick package name
(PECL imagick 2.0.0)
Returns the page geometry
(PECL imagick 2.0.0)
Gets the quantum depth
(PECL imagick 2.0.0)
Returns the Imagick quantum range
(PECL imagick 2.0.0)
Returns the ImageMagick release date
(PECL imagick 2.0.0)
Returns the specified resource's memory usage
(PECL imagick 2.0.0)
Returns the specified resource limit
(PECL imagick 2.0.0)
Gets the horizontal and vertical sampling factor
(PECL imagick 2.0.0)
Returns the size associated with the Imagick object
(PECL imagick 2.0.0)
Returns the ImageMagick API version
(PECL imagick 2.0.0)
Sets the object's default background color
(PECL imagick 2.0.0)
Sets the object's default compression type
(PECL imagick 0.9.10-0.9.9)
Sets the object's default compression quality
(PECL imagick 2.0.0)
Sets the filename before you read or write the image
(PECL imagick 2.0.0)
Sets the format of the Imagick object
(PECL imagick 2.0.0)
Sets the image compression
(PECL imagick 2.0.0)
Set an option
(PECL imagick 2.0.0)
Sets the page geometry of the Imagick object
(PECL imagick 2.0.0)
Sets the limit for a particular resource in megabytes
(PECL imagick 2.0.0)
Sets the image resolution
(PECL imagick 2.0.0)
Sets the image sampling factors
(PECL imagick 2.0.0)
Sets the size of the Imagick object
(PECL imagick 2.0.0)
Sets the image type attribute
Return the key of the current element
Move forward to next element
Rewind the Iterator to the first element
(PECL imagick 2.0.0)
Checks if the current item is valid
(PECL imagick 2.0.0)
Returns a reference to the current Imagick object
Change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
Applies a user supplied kernel to the image according to the given morphology method.
Applies a custom convolution kernel to the image.
Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).
Deletes an image property.
Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
Gets the current image's compression type.
Get the StringRegistry entry for the named key or false if not set.
Returns the ImageMagick quantum range as an integer.
Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See https://www.imagemagick.org/script/escape.php for escape sequences.
Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
List all the registry settings. Returns an array of all the key/value pairs in the registry
Rotational blurs an image.
Selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
Set whether antialiasing should be used for operations. On by default.
No description
Set a callback that will be called during the processing of the Imagick image.
Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.
Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
Searches for a subimage in the current image and returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.
Is an alias of Imagick::subImageMatch
Returns any ImageMagick configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
GetFeatures() returns the ImageMagick features that have been compiled into the runtime.
No description
Sets the image channel mask. Returns the previous set channel mask.
Merge multiple images of the same size together with the selected operator. https://www.imagemagick.org/Usage/layers/#evaluate-sequence
Extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.
Adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
Composite one image onto another using the specified gravity.
Attempts to increase the appearance of large-scale light-dark transitions.
Identifies the potential image type, returns one of the Imagick::IMGTYPE_* constants
Sets the image to the specified alpha level. Will replace ImagickDraw::setOpacity()
Details
bool
optimizeImageLayers()
(PECL imagick 2.0.0)
Removes repeated portions of images to optimize
Imagick
compareImageLayers(int $method)
(PECL imagick 2.0.0)
Returns the maximum bounding region between images
bool
pingImageBlob(string $image)
(PECL imagick 2.0.0)
Quickly fetch attributes
bool
pingImageFile(resource $filehandle, string $fileName = null)
(PECL imagick 2.0.0)
Get basic image attributes in a lightweight manner
bool
transposeImage()
(PECL imagick 2.0.0)
Creates a vertical mirror image
bool
transverseImage()
(PECL imagick 2.0.0)
Creates a horizontal mirror image
bool
trimImage(float $fuzz)
(PECL imagick 2.0.0)
Remove edges from the image
bool
waveImage(float $amplitude, float $length)
(PECL imagick 2.0.0)
Applies wave filter to the image
bool
vignetteImage(float $blackPoint, float $whitePoint, int $x, int $y)
(PECL imagick 2.0.0)
Adds vignette filter to the image
bool
uniqueImageColors()
(PECL imagick 2.0.0)
Discards all but one of any pixel color
bool
getImageMatte()
(PECL imagick 2.0.0)
Return if the image has a matte channel
bool
setImageMatte(bool $matte)
(PECL imagick 2.0.0)
Sets the image matte channel
bool
adaptiveResizeImage(int $columns, int $rows, bool $bestfit = false, bool $legacy = false)
Adaptively resize image with data dependent triangulation
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
If false, the calculations should produce the same results as ImageMagick CLI does.
Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
bool
sketchImage(float $radius, float $sigma, float $angle)
(PECL imagick 2.0.0)
Simulates a pencil sketch
bool
shadeImage(bool $gray, float $azimuth, float $elevation)
(PECL imagick 2.0.0)
Creates a 3D effect
int
getSizeOffset()
(PECL imagick 2.0.0)
Returns the size offset
bool
setSizeOffset(int $columns, int $rows, int $offset)
(PECL imagick 2.0.0)
Sets the size and offset of the Imagick object
bool
adaptiveBlurImage(float $radius, float $sigma, int $channel = Imagick::CHANNEL_DEFAULT)
(PECL imagick 2.0.0)
Adds adaptive blur filter to image
bool
contrastStretchImage(float $black_point, float $white_point, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Enhances the contrast of a color image
bool
adaptiveSharpenImage(float $radius, float $sigma, int $channel = Imagick::CHANNEL_DEFAULT)
(PECL imagick 2.0.0)
Adaptively sharpen the image
bool
randomThresholdImage(float $low, float $high, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Creates a high-contrast, two-color image
roundCornersImage($xRounding, $yRounding, $strokeWidth, $displace, $sizeCorrection)
No description
bool
roundCorners(float $x_rounding, float $y_rounding, float $stroke_width = 10.0, float $displace = 5.0, float $size_correction = -6.0)
(PECL imagick 2.0.0)
Rounds image corners
Alias to {Imagick::roundCornersImage}
bool
setIteratorIndex(int $index)
(PECL imagick 2.0.0)
Set the iterator position
int
getIteratorIndex()
(PECL imagick 2.0.0)
Gets the index of the current active image
Imagick
transformImage(string $crop, string $geometry)
(PECL imagick 2.0.0)
Convenience method for setting crop size and the image geometry
bool
setImageOpacity(float $opacity)
(PECL imagick 2.0.0)
Sets the image opacity level
bool
orderedPosterizeImage(string $threshold_map, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.2.2)
Performs an ordered dither
bool
polaroidImage(ImagickDraw $properties, float $angle)
(PECL imagick 2.0.0)
Simulates a Polaroid picture
string|false
getImageProperty(string $name)
(PECL imagick 2.0.0)
Returns the named image property
bool
setImageProperty(string $name, string $value)
(PECL imagick 2.0.0)
Sets an image property
bool
setImageInterpolateMethod(int $method)
(PECL imagick 2.0.0)
Sets the image interpolate pixel method
int
getImageInterpolateMethod()
(PECL imagick 2.0.0)
Returns the interpolation method
bool
linearStretchImage(float $blackPoint, float $whitePoint)
(PECL imagick 2.0.0)
Stretches with saturation the image intensity
int
getImageLength()
(PECL imagick 2.0.0)
Returns the image length in bytes
bool
extentImage(int $width, int $height, int $x, int $y)
(No version information available, might only be in SVN)
Set image size
int
getImageOrientation()
(PECL imagick 2.0.0)
Gets the image orientation
bool
setImageOrientation(int $orientation)
(PECL imagick 2.0.0)
Sets the image orientation
bool
paintFloodfillImage(mixed $fill, float $fuzz, mixed $bordercolor, int $x, int $y, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.1.0)
Changes the color value of any pixel that matches target
bool
clutImage(Imagick $lookup_table, int $channel = Imagick::CHANNEL_DEFAULT)
(PECL imagick 2.0.0)
Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
array
getImageProperties(string $pattern = "*", bool $only_names = true)
(PECL imagick 2.0.0)
Returns the image properties
array
getImageProfiles(string $pattern = "*", bool $include_values = true)
(PECL imagick 2.2.0)
Returns the image profiles
bool
distortImage(int $method, array $arguments, bool $bestfit)
(PECL imagick 2.0.1)
Distorts an image using various distortion methods
bool
writeImageFile(resource $filehandle, string|null $format = null)
(No version information available, might only be in SVN)
Writes an image to a filehandle
bool
writeImagesFile(resource $filehandle, string|null $format = null)
(No version information available, might only be in SVN)
Writes frames to a filehandle
bool
resetImagePage(string $page)
(No version information available, might only be in SVN)
Reset image page
bool
setImageClipMask(Imagick $clip_mask)
(No version information available, might only be in SVN)
Sets image clip mask
Imagick
getImageClipMask()
(No version information available, might only be in SVN)
Gets image clip mask
bool
animateImages(string $x_server)
(No version information available, might only be in SVN)
Animates an image or images
bool
recolorImage(array $matrix)
(No version information available, might only be in SVN)
Recolors image
bool
setFont(string $font)
(PECL imagick 2.1.0)
Sets font
string|false
getFont()
(PECL imagick 2.1.0)
Gets font
bool
setPointSize(float $point_size)
(PECL imagick 2.1.0)
Sets point size
float
getPointSize()
(No version information available, might only be in SVN)
Gets point size
Imagick
mergeImageLayers(int $layer_method)
(PECL imagick 2.1.0)
Merges image layers
bool
setImageAlphaChannel(int $mode)
(No version information available, might only be in SVN)
Sets image alpha channel
bool
floodFillPaintImage(mixed $fill, float $fuzz, mixed $target, int $x, int $y, bool $invert, int $channel = Imagick::CHANNEL_DEFAULT)
(No version information available, might only be in SVN)
Changes the color value of any pixel that matches target
bool
opaquePaintImage(mixed $target, mixed $fill, float $fuzz, bool $invert, int $channel = Imagick::CHANNEL_DEFAULT)
(No version information available, might only be in SVN)
Changes the color value of any pixel that matches target
bool
transparentPaintImage(mixed $target, float $alpha, float $fuzz, bool $invert)
(No version information available, might only be in SVN)
Paints pixels transparent
bool
liquidRescaleImage(int $width, int $height, float $delta_x, float $rigidity)
(No version information available, might only be in SVN)
Animates an image or images
bool
encipherImage(string $passphrase)
(No version information available, might only be in SVN)
Enciphers an image
bool
decipherImage(string $passphrase)
(No version information available, might only be in SVN)
Deciphers an image
bool
setGravity(int $gravity)
(No version information available, might only be in SVN)
Sets the gravity
int
getGravity()
(No version information available, might only be in SVN)
Gets the gravity
float[]
getImageChannelRange(int $channel)
(PECL imagick 2.2.1)
Gets channel range
bool
getImageAlphaChannel()
(No version information available, might only be in SVN)
Gets the image alpha channel
float
getImageChannelDistortions(Imagick $reference, int $metric, int $channel = Imagick::CHANNEL_DEFAULT)
(No version information available, might only be in SVN)
Gets channel distortions
bool
setImageGravity(int $gravity)
(No version information available, might only be in SVN)
Sets the image gravity
int
getImageGravity()
(No version information available, might only be in SVN)
Gets the image gravity
bool
importImagePixels(int $x, int $y, int $width, int $height, string $map, int $storage, array $pixels)
(No version information available, might only be in SVN)
Imports image pixels
bool
deskewImage(float $threshold)
(No version information available, might only be in SVN)
Removes skew from the image
bool
segmentImage(int $COLORSPACE, float $cluster_threshold, float $smooth_threshold, bool $verbose = false)
(No version information available, might only be in SVN)
Segments an image
bool
sparseColorImage(int $SPARSE_METHOD, array $arguments, int $channel = Imagick::CHANNEL_DEFAULT)
(No version information available, might only be in SVN)
Interpolates colors
bool
remapImage(Imagick $replacement, int $DITHER)
(No version information available, might only be in SVN)
Remaps image colors
int[]
exportImagePixels(int $x, int $y, int $width, int $height, string $map, int $STORAGE)
(No version information available, might only be in SVN)
Exports raw image pixels
float[]
getImageChannelKurtosis(int $channel = Imagick::CHANNEL_DEFAULT)
(No version information available, might only be in SVN)
The getImageChannelKurtosis purpose
bool
functionImage(int $function, array $arguments, int $channel = Imagick::CHANNEL_DEFAULT)
(No version information available, might only be in SVN)
Applies a function on the image
bool
transformImageColorspace($COLORSPACE)
Transform image colorspace
bool
haldClutImage(Imagick $clut, int $channel = Imagick::CHANNEL_DEFAULT)
(No version information available, might only be in SVN)
Replaces colors in the image
bool
autoLevelImage($CHANNEL)
Adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
bool
blueShiftImage(float $factor)
No description
string
getImageArtifact(string $artifact)
(No version information available, might only be in SVN)
Get image artifact
bool
setImageArtifact(string $artifact, string $value)
(No version information available, might only be in SVN)
Set image artifact
bool
deleteImageArtifact(string $artifact)
(No version information available, might only be in SVN)
Delete image artifact
int
getColorspace()
(PECL imagick 0.9.10-0.9.9)
Gets the colorspace
bool
setColorspace(int $COLORSPACE)
(No version information available, might only be in SVN)
Set colorspace
clampImage($CHANNEL)
No description
Imagick
smushImages(bool $stack, int $offset)
No description
__construct(mixed $files = null)
(PECL imagick 2.0.0)
The Imagick constructor
string
__toString()
No description
int
count()
Count elements of an object
ImagickPixelIterator
getPixelIterator()
(PECL imagick 2.0.0)
Returns a MagickPixelIterator
ImagickPixelIterator
getPixelRegionIterator(int $x, int $y, int $columns, int $rows)
(PECL imagick 2.0.0)
Get an ImagickPixelIterator for an image section
bool
readImage(string $filename)
(PECL imagick 0.9.0-0.9.9)
Reads image from filename
readImages($filenames)
No description
bool
readImageBlob(string $image, string $filename = null)
(PECL imagick 2.0.0)
Reads image from a binary string
bool
setImageFormat(string $format)
(PECL imagick 2.0.0)
Sets the format of a particular image
bool
scaleImage(int $columns, int $rows, bool $bestfit = false, bool $legacy = false)
Scales the size of an image to the given dimensions. Passing zero as either of the arguments will preserve dimension while scaling.
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
If false, the calculations should produce the same results as ImageMagick CLI does.
bool
writeImage(string $filename = null)
(PECL imagick 0.9.0-0.9.9)
Writes an image to the specified filename
bool
writeImages(string $filename, bool $adjoin)
(PECL imagick 0.9.0-0.9.9)
Writes an image or image sequence
bool
blurImage(float $radius, float $sigma, int $channel = null)
(PECL imagick 2.0.0)
Adds blur filter to image
bool
thumbnailImage(int $columns, int $rows, bool $bestfit = false, bool $fill = false, bool $legacy = false)
Changes the size of an image to the given dimensions and removes any associated profiles.
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
If false, the calculations should produce the same results as ImageMagick CLI does.
Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
bool
cropThumbnailImage(int $width, int $height, bool $legacy = false)
Creates a cropped thumbnail at the requested size.
If legacy is true, uses the incorrect behaviour that was present until Imagick 3.4.0. If false it uses the correct behaviour.
string
getImageFilename()
(PECL imagick 2.0.0)
Returns the filename of a particular image in a sequence
bool
setImageFilename(string $filename)
(PECL imagick 2.0.0)
Sets the filename of a particular image
string
getImageFormat()
(PECL imagick 2.0.0)
Returns the format of a particular image in a sequence
string
getImageMimeType()
No description
bool
removeImage()
(PECL imagick 2.0.0)
Removes an image from the image list
bool
destroy()
(PECL imagick 2.0.0)
Destroys the Imagick object
bool
clear()
(PECL imagick 2.0.0)
Clears all resources associated to Imagick object
int
getImageSize()
(PECL imagick 2.0.0)
Returns the image length in bytes
string
getImageBlob()
(PECL imagick 2.0.0)
Returns the image sequence as a blob
string
getImagesBlob()
(PECL imagick 2.0.0)
Returns all image sequences as a blob
bool
setFirstIterator()
(PECL imagick 2.0.0)
Sets the Imagick iterator to the first image
bool
setLastIterator()
(PECL imagick 2.0.1)
Sets the Imagick iterator to the last image
resetIterator()
No description
bool
previousImage()
(PECL imagick 2.0.0)
Move to the previous image in the object
bool
nextImage()
(PECL imagick 2.0.0)
Moves to the next image
bool
hasPreviousImage()
(PECL imagick 2.0.0)
Checks if the object has a previous image
bool
hasNextImage()
(PECL imagick 2.0.0)
Checks if the object has more images
bool
setImageIndex(int $index)
(PECL imagick 2.0.0)
Set the iterator position
int
getImageIndex()
(PECL imagick 2.0.0)
Gets the index of the current active image
bool
commentImage(string $comment)
(PECL imagick 2.0.0)
Adds a comment to your image
bool
cropImage(int $width, int $height, int $x, int $y)
(PECL imagick 2.0.0)
Extracts a region of the image
bool
labelImage(string $label)
(PECL imagick 2.0.0)
Adds a label to an image
int[]
getImageGeometry()
(PECL imagick 2.0.0)
Gets the width and height as an associative array
bool
drawImage(ImagickDraw $draw)
(PECL imagick 2.0.0)
Renders the ImagickDraw object on the current image
bool
setImageCompressionQuality(int $quality)
(No version information available, might only be in SVN)
Sets the image compression quality
int
getImageCompressionQuality()
(PECL imagick 2.2.2)
Gets the current image's compression quality
bool
annotateImage(ImagickDraw $draw_settings, float $x, float $y, float $angle, string $text)
(PECL imagick 2.0.0)
Annotates an image with text
bool
compositeImage(Imagick $composite_object, int $composite, int $x, int $y, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Composite one image onto another
bool
modulateImage(float $brightness, float $saturation, float $hue)
(PECL imagick 2.0.0)
Control the brightness, saturation, and hue
int
getImageColors()
(PECL imagick 2.0.0)
Gets the number of unique colors in the image
Imagick
montageImage(ImagickDraw $draw, string $tile_geometry, string $thumbnail_geometry, int $mode, string $frame)
(PECL imagick 2.0.0)
Creates a composite image
array
identifyImage(bool $appendRawOutput = false)
(PECL imagick 2.0.0)
Identifies an image and fetches attributes
bool
thresholdImage(float $threshold, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Changes the value of individual pixels based on a threshold
bool
adaptiveThresholdImage(int $width, int $height, int $offset)
(PECL imagick 2.0.0)
Selects a threshold for each pixel based on a range of intensity
bool
blackThresholdImage(mixed $threshold)
(PECL imagick 2.0.0)
Forces all pixels below the threshold into black
bool
whiteThresholdImage(mixed $threshold)
(PECL imagick 2.0.0)
Force all pixels above the threshold into white
Imagick
appendImages(bool $stack = false)
(PECL imagick 2.0.0)
Append a set of images
bool
charcoalImage(float $radius, float $sigma)
(PECL imagick 2.0.0)
Simulates a charcoal drawing
bool
normalizeImage(int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Enhances the contrast of a color image
bool
oilPaintImage(float $radius)
(PECL imagick 2.0.0)
Simulates an oil painting
bool
posterizeImage(int $levels, bool $dither)
(PECL imagick 2.0.0)
Reduces the image to a limited number of color level
bool
radialBlurImage(float $angle, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Radial blurs an image
bool
raiseImage(int $width, int $height, int $x, int $y, bool $raise)
(PECL imagick 2.0.0)
Creates a simulated 3d button-like effect
bool
resampleImage(float $x_resolution, float $y_resolution, int $filter, float $blur)
(PECL imagick 2.0.0)
Resample image to desired resolution
bool
resizeImage(int $columns, int $rows, int $filter, float $blur, bool $bestfit = false, bool $legacy = false)
Scales an image to the desired dimensions with one of these filters:
If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
If false, the calculations should produce the same results as ImageMagick CLI does.
Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
bool
rollImage(int $x, int $y)
(PECL imagick 2.0.0)
Offsets an image
bool
rotateImage(mixed $background, float $degrees)
(PECL imagick 2.0.0)
Rotates an image
bool
sampleImage(int $columns, int $rows)
(PECL imagick 2.0.0)
Scales an image with pixel sampling
bool
solarizeImage(int $threshold)
(PECL imagick 2.0.0)
Applies a solarizing effect to the image
bool
shadowImage(float $opacity, float $sigma, int $x, int $y)
(PECL imagick 2.0.0)
Simulates an image shadow
bool
setImageAttribute(string $key, string $value)
No description
bool
setImageBackgroundColor(mixed $background)
(PECL imagick 2.0.0)
Sets the image background color
bool
setImageCompose(int $compose)
(PECL imagick 2.0.0)
Sets the image composite operator
bool
setImageCompression(int $compression)
(PECL imagick 2.0.0)
Sets the image compression
bool
setImageDelay(int $delay)
(PECL imagick 2.0.0)
Sets the image delay
bool
setImageDepth(int $depth)
(PECL imagick 2.0.0)
Sets the image depth
bool
setImageGamma(float $gamma)
(PECL imagick 2.0.0)
Sets the image gamma
bool
setImageIterations(int $iterations)
(PECL imagick 2.0.0)
Sets the image iterations
bool
setImageMatteColor(mixed $matte)
(PECL imagick 2.0.0)
Sets the image matte color
bool
setImagePage(int $width, int $height, int $x, int $y)
(PECL imagick 2.0.0)
Sets the page geometry of the image
setImageProgressMonitor($filename)
No description
bool
setImageResolution(float $x_resolution, float $y_resolution)
(PECL imagick 2.0.0)
Sets the image resolution
bool
setImageScene(int $scene)
(PECL imagick 2.0.0)
Sets the image scene
bool
setImageTicksPerSecond(int $ticks_per_second)
(PECL imagick 2.0.0)
Sets the image ticks-per-second
bool
setImageType(int $image_type)
(PECL imagick 2.0.0)
Sets the image type
bool
setImageUnits(int $units)
(PECL imagick 2.0.0)
Sets the image units of resolution
bool
sharpenImage(float $radius, float $sigma, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Sharpens an image
bool
shaveImage(int $columns, int $rows)
(PECL imagick 2.0.0)
Shaves pixels from the image edges
bool
shearImage(mixed $background, float $x_shear, float $y_shear)
(PECL imagick 2.0.0)
Creating a parallelogram
bool
spliceImage(int $width, int $height, int $x, int $y)
(PECL imagick 2.0.0)
Splices a solid color into the image
bool
pingImage(string $filename)
(PECL imagick 2.0.0)
Fetch basic attributes about the image
bool
readImageFile(resource $filehandle, string $fileName = null)
(PECL imagick 2.0.0)
Reads image from open filehandle
bool
displayImage(string $servername)
(PECL imagick 2.0.0)
Displays an image
bool
displayImages(string $servername)
(PECL imagick 2.0.0)
Displays an image or image sequence
bool
spreadImage(float $radius)
(PECL imagick 2.0.0)
Randomly displaces each pixel in a block
bool
swirlImage(float $degrees)
(PECL imagick 2.0.0)
Swirls the pixels about the center of the image
bool
stripImage()
(PECL imagick 2.0.0)
Strips an image of all profiles and comments
static array
queryFormats(string $pattern = "*")
(PECL imagick 2.0.0)
Returns formats supported by Imagick
static array
queryFonts(string $pattern = "*")
(PECL imagick 2.0.0)
Returns the configured fonts
array
queryFontMetrics(ImagickDraw $properties, string $text, bool $multiline = null)
(PECL imagick 2.0.0)
Returns an array representing the font metrics
Imagick
steganoImage(Imagick $watermark_wand, int $offset)
(PECL imagick 2.0.0)
Hides a digital watermark within the image
bool
addNoiseImage(int $noise_type, int $channel = Imagick::CHANNEL_DEFAULT)
(PECL imagick 2.0.0)
Adds random noise to the image
bool
motionBlurImage(float $radius, float $sigma, float $angle, int $channel = Imagick::CHANNEL_DEFAULT)
(PECL imagick 2.0.0)
Simulates motion blur
Imagick
mosaicImages()
(PECL imagick 2.0.0)
Forms a mosaic from images
Imagick
morphImages(int $number_frames)
(PECL imagick 2.0.0)
Method morphs a set of images
bool
minifyImage()
(PECL imagick 2.0.0)
Scales an image proportionally to half its size
bool
affineTransformImage(ImagickDraw $matrix)
(PECL imagick 2.0.0)
Transforms an image
Imagick
averageImages()
(PECL imagick 2.0.0)
Average a set of images
bool
borderImage(mixed $bordercolor, int $width, int $height)
(PECL imagick 2.0.0)
Surrounds the image with a border
bool
chopImage(int $width, int $height, int $x, int $y)
(PECL imagick 2.0.0)
Removes a region of an image and trims
bool
clipImage()
(PECL imagick 2.0.0)
Clips along the first path from the 8BIM profile
bool
clipPathImage(string $pathname, bool $inside)
(PECL imagick 2.0.0)
Clips along the named paths from the 8BIM profile
clipImagePath(string $pathname, string $inside)
Alias to {Imagick::clipPathImage}
Imagick
coalesceImages()
(PECL imagick 2.0.0)
Composites a set of images
bool
colorFloodfillImage(mixed $fill, float $fuzz, mixed $bordercolor, int $x, int $y)
(PECL imagick 2.0.0)
Changes the color value of any pixel that matches target
bool
colorizeImage(mixed $colorize, mixed $opacity, bool $legacy = false)
Blends the fill color with each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
array
compareImageChannels(Imagick $image, int $channelType, int $metricType)
(PECL imagick 2.0.0)
Returns the difference in one or more images
array
compareImages(Imagick $compare, int $metric)
(PECL imagick 2.0.0)
Compares an image to a reconstructed image
bool
contrastImage(bool $sharpen)
(PECL imagick 2.0.0)
Change the contrast of the image
Imagick
combineImages(int $channelType)
(PECL imagick 2.0.0)
Combines one or more images into a single image
bool
convolveImage(array $kernel, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Applies a custom convolution kernel to the image
bool
cycleColormapImage(int $displace)
(PECL imagick 2.0.0)
Displaces an image's colormap
Imagick
deconstructImages()
(PECL imagick 2.0.0)
Returns certain pixel differences between images
bool
despeckleImage()
(PECL imagick 2.0.0)
Reduces the speckle noise in an image
bool
edgeImage(float $radius)
(PECL imagick 2.0.0)
Enhance edges within the image
bool
embossImage(float $radius, float $sigma)
(PECL imagick 2.0.0)
Returns a grayscale image with a three-dimensional effect
bool
enhanceImage()
(PECL imagick 2.0.0)
Improves the quality of a noisy image
bool
equalizeImage()
(PECL imagick 2.0.0)
Equalizes the image histogram
bool
evaluateImage(int $op, float $constant, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Applies an expression to an image
Imagick
flattenImages()
Merges a sequence of images. This is useful for combining Photoshop layers into a single image.
This is replaced by:
$im = $im->mergeImageLayers(\Imagick::LAYERMETHOD_FLATTEN)
bool
flipImage()
(PECL imagick 2.0.0)
Creates a vertical mirror image
bool
flopImage()
(PECL imagick 2.0.0)
Creates a horizontal mirror image
bool
frameImage(mixed $matte_color, int $width, int $height, int $inner_bevel, int $outer_bevel)
(PECL imagick 2.0.0)
Adds a simulated three-dimensional border
Imagick
fxImage(string $expression, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Evaluate expression for each pixel in the image
bool
gammaImage(float $gamma, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Gamma-corrects an image
bool
gaussianBlurImage(float $radius, float $sigma, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Blurs an image
string
getImageAttribute(string $key)
No description
ImagickPixel
getImageBackgroundColor()
(PECL imagick 2.0.0)
Returns the image background color
float[]
getImageBluePrimary()
(PECL imagick 2.0.0)
Returns the chromaticy blue primary point
ImagickPixel
getImageBorderColor()
(PECL imagick 2.0.0)
Returns the image border color
int
getImageChannelDepth(int $channel)
(PECL imagick 2.0.0)
Gets the depth for a particular image channel
float
getImageChannelDistortion(Imagick $reference, int $channel, int $metric)
(PECL imagick 2.0.0)
Compares image channels of an image to a reconstructed image
int[]
getImageChannelExtrema(int $channel)
(PECL imagick 2.0.0)
Gets the extrema for one or more image channels
float[]
getImageChannelMean(int $channel)
(PECL imagick 2.0.0)
Gets the mean and standard deviation
array
getImageChannelStatistics()
(PECL imagick 2.0.0)
Returns statistics for each channel in the image
ImagickPixel
getImageColormapColor(int $index)
(PECL imagick 2.0.0)
Returns the color of the specified colormap index
int
getImageColorspace()
(PECL imagick 2.0.0)
Gets the image colorspace
int
getImageCompose()
(PECL imagick 2.0.0)
Returns the composite operator associated with the image
int
getImageDelay()
(PECL imagick 2.0.0)
Gets the image delay
int
getImageDepth()
(PECL imagick 0.9.1-0.9.9)
Gets the image depth
float
getImageDistortion(Imagick $reference, int $metric)
(PECL imagick 2.0.0)
Compares an image to a reconstructed image
int[]
getImageExtrema()
(PECL imagick 2.0.0)
Gets the extrema for the image
int
getImageDispose()
(PECL imagick 2.0.0)
Gets the image disposal method
float
getImageGamma()
(PECL imagick 2.0.0)
Gets the image gamma
float[]
getImageGreenPrimary()
(PECL imagick 2.0.0)
Returns the chromaticy green primary point
int
getImageHeight()
(PECL imagick 2.0.0)
Returns the image height
array
getImageHistogram()
(PECL imagick 2.0.0)
Gets the image histogram
int
getImageInterlaceScheme()
(PECL imagick 2.0.0)
Gets the image interlace scheme
int
getImageIterations()
(PECL imagick 2.0.0)
Gets the image iterations
ImagickPixel
getImageMatteColor()
(PECL imagick 2.0.0)
Returns the image matte color
int[]
getImagePage()
(PECL imagick 2.0.0)
Returns the page geometry
ImagickPixel
getImagePixelColor(int $x, int $y)
(PECL imagick 2.0.0)
Returns the color of the specified pixel
string
getImageProfile(string $name)
(PECL imagick 2.0.0)
Returns the named image profile
float[]
getImageRedPrimary()
(PECL imagick 2.0.0)
Returns the chromaticity red primary point
int
getImageRenderingIntent()
(PECL imagick 2.0.0)
Gets the image rendering intent
float[]
getImageResolution()
(PECL imagick 2.0.0)
Gets the image X and Y resolution
int
getImageScene()
(PECL imagick 2.0.0)
Gets the image scene
string
getImageSignature()
(PECL imagick 2.0.0)
Generates an SHA-256 message digest
int
getImageTicksPerSecond()
(PECL imagick 2.0.0)
Gets the image ticks-per-second
int
getImageType()
(PECL imagick 0.9.10-0.9.9)
Gets the potential image type
int
getImageUnits()
(PECL imagick 2.0.0)
Gets the image units of resolution
int
getImageVirtualPixelMethod()
(PECL imagick 2.0.0)
Returns the virtual pixel method
float[]
getImageWhitePoint()
(PECL imagick 2.0.0)
Returns the chromaticity white point
int
getImageWidth()
(PECL imagick 2.0.0)
Returns the image width
int
getNumberImages()
(PECL imagick 2.0.0)
Returns the number of images in the object
float
getImageTotalInkDensity()
(PECL imagick 2.0.0)
Gets the image total ink density
Imagick
getImageRegion(int $width, int $height, int $x, int $y)
(PECL imagick 2.0.0)
Extracts a region of the image
bool
implodeImage(float $radius)
(PECL imagick 2.0.0)
Creates a new image as a copy
bool
levelImage(float $blackPoint, float $gamma, float $whitePoint, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Adjusts the levels of an image
bool
magnifyImage()
(PECL imagick 2.0.0)
Scales an image proportionally 2x
bool
mapImage(Imagick $map, bool $dither)
(PECL imagick 2.0.0)
Replaces the colors of an image with the closest color from a reference image.
bool
matteFloodfillImage(float $alpha, float $fuzz, mixed $bordercolor, int $x, int $y)
(PECL imagick 2.0.0)
Changes the transparency value of a color
bool
medianFilterImage(float $radius)
(PECL imagick 2.0.0)
Applies a digital filter
bool
negateImage(bool $gray, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Negates the colors in the reference image
bool
paintOpaqueImage(mixed $target, mixed $fill, float $fuzz, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Change any pixel that matches color
bool
paintTransparentImage(mixed $target, float $alpha, float $fuzz)
(PECL imagick 2.0.0)
Changes any pixel that matches color with the color defined by fill
bool
previewImages(int $preview)
(PECL imagick 2.0.0)
Quickly pin-point appropriate parameters for image processing
bool
profileImage(string $name, string $profile)
(PECL imagick 2.0.0)
Adds or removes a profile from an image
bool
quantizeImage(int $numberColors, int $colorspace, int $treedepth, bool $dither, bool $measureError)
(PECL imagick 2.0.0)
Analyzes the colors within a reference image
bool
quantizeImages(int $numberColors, int $colorspace, int $treedepth, bool $dither, bool $measureError)
(PECL imagick 2.0.0)
Analyzes the colors within a sequence of images
bool
reduceNoiseImage(float $radius)
(PECL imagick 2.0.0)
Smooths the contours of an image
string
removeImageProfile(string $name)
(PECL imagick 2.0.0)
Removes the named image profile and returns it
bool
separateImageChannel(int $channel)
(PECL imagick 2.0.0)
Separates a channel from the image
bool
sepiaToneImage(float $threshold)
(PECL imagick 2.0.0)
Sepia tones an image
bool
setImageBias(float $bias)
(PECL imagick 2.0.0)
Sets the image bias for any method that convolves an image
bool
setImageBluePrimary(float $x, float $y)
(PECL imagick 2.0.0)
Sets the image chromaticity blue primary point
bool
setImageBorderColor(mixed $border)
(PECL imagick 2.0.0)
Sets the image border color
bool
setImageChannelDepth(int $channel, int $depth)
(PECL imagick 2.0.0)
Sets the depth of a particular image channel
bool
setImageColormapColor(int $index, ImagickPixel $color)
(PECL imagick 2.0.0)
Sets the color of the specified colormap index
bool
setImageColorspace(int $colorspace)
(PECL imagick 2.0.0)
Sets the image colorspace
bool
setImageDispose(int $dispose)
(PECL imagick 2.0.0)
Sets the image disposal method
bool
setImageExtent(int $columns, int $rows)
(PECL imagick 2.0.0)
Sets the image size
bool
setImageGreenPrimary(float $x, float $y)
(PECL imagick 2.0.0)
Sets the image chromaticity green primary point
bool
setImageInterlaceScheme(int $interlace_scheme)
(PECL imagick 2.0.0)
Sets the image compression
bool
setImageProfile(string $name, string $profile)
(PECL imagick 2.0.0)
Adds a named profile to the Imagick object
bool
setImageRedPrimary(float $x, float $y)
(PECL imagick 2.0.0)
Sets the image chromaticity red primary point
bool
setImageRenderingIntent(int $rendering_intent)
(PECL imagick 2.0.0)
Sets the image rendering intent
bool
setImageVirtualPixelMethod(int $method)
(PECL imagick 2.0.0)
Sets the image virtual pixel method
bool
setImageWhitePoint(float $x, float $y)
(PECL imagick 2.0.0)
Sets the image chromaticity white point
bool
sigmoidalContrastImage(bool $sharpen, float $alpha, float $beta, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Adjusts the contrast of an image
bool
stereoImage(Imagick $offset_wand)
(PECL imagick 2.0.0)
Composites two images
bool
tintImage(mixed $tint, mixed $opacity, bool $legacy = false)
pplies a color vector to each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
bool
unsharpMaskImage(float $radius, float $sigma, float $amount, float $threshold, int $channel = Imagick::CHANNEL_ALL)
(PECL imagick 2.0.0)
Sharpens an image
Imagick
getImage()
(PECL imagick 2.0.0)
Returns a new Imagick object
bool
addImage(Imagick $source)
(PECL imagick 2.0.0)
Adds new image to Imagick object image list
bool
setImage(Imagick $replace)
(PECL imagick 2.0.0)
Replaces image in the object
bool
newImage(int $cols, int $rows, mixed $background, string $format = null)
(PECL imagick 2.0.0)
Creates a new image
bool
newPseudoImage(int $columns, int $rows, string $pseudoString)
(PECL imagick 2.0.0)
Creates a new image
int
getCompression()
(PECL imagick 2.0.0)
Gets the object compression type
int
getCompressionQuality()
(PECL imagick 2.0.0)
Gets the object compression quality
static string
getCopyright()
(PECL imagick 2.0.0)
Returns the ImageMagick API copyright as a string
string
getFilename()
(PECL imagick 2.0.0)
The filename associated with an image sequence
string
getFormat()
(PECL imagick 2.0.0)
Returns the format of the Imagick object
static string
getHomeURL()
(PECL imagick 2.0.0)
Returns the ImageMagick home URL
int
getInterlaceScheme()
(PECL imagick 2.0.0)
Gets the object interlace scheme
string
getOption(string $key)
(PECL imagick 2.0.0)
Returns a value associated with the specified key
static string
getPackageName()
(PECL imagick 2.0.0)
Returns the ImageMagick package name
int[]
getPage()
(PECL imagick 2.0.0)
Returns the page geometry
static array
getQuantumDepth()
(PECL imagick 2.0.0)
Gets the quantum depth
static array
getQuantumRange()
(PECL imagick 2.0.0)
Returns the Imagick quantum range
static string
getReleaseDate()
(PECL imagick 2.0.0)
Returns the ImageMagick release date
static int
getResource(int $type)
(PECL imagick 2.0.0)
Returns the specified resource's memory usage
static int
getResourceLimit(int $type)
(PECL imagick 2.0.0)
Returns the specified resource limit
array
getSamplingFactors()
(PECL imagick 2.0.0)
Gets the horizontal and vertical sampling factor
int[]
getSize()
(PECL imagick 2.0.0)
Returns the size associated with the Imagick object
static array
getVersion()
(PECL imagick 2.0.0)
Returns the ImageMagick API version
bool
setBackgroundColor(mixed $background)
(PECL imagick 2.0.0)
Sets the object's default background color
bool
setCompression(int $compression)
(PECL imagick 2.0.0)
Sets the object's default compression type
bool
setCompressionQuality(int $quality)
(PECL imagick 0.9.10-0.9.9)
Sets the object's default compression quality
bool
setFilename(string $filename)
(PECL imagick 2.0.0)
Sets the filename before you read or write the image
bool
setFormat(string $format)
(PECL imagick 2.0.0)
Sets the format of the Imagick object
bool
setInterlaceScheme(int $interlace_scheme)
(PECL imagick 2.0.0)
Sets the image compression
bool
setOption(string $key, string $value)
(PECL imagick 2.0.0)
Set an option
bool
setPage(int $width, int $height, int $x, int $y)
(PECL imagick 2.0.0)
Sets the page geometry of the Imagick object
static bool
setResourceLimit(int $type, int $limit)
(PECL imagick 2.0.0)
Sets the limit for a particular resource in megabytes
bool
setResolution(float $x_resolution, float $y_resolution)
(PECL imagick 2.0.0)
Sets the image resolution
bool
setSamplingFactors(array $factors)
(PECL imagick 2.0.0)
Sets the image sampling factors
bool
setSize(int $columns, int $rows)
(PECL imagick 2.0.0)
Sets the size of the Imagick object
bool
setType(int $image_type)
(PECL imagick 2.0.0)
Sets the image type attribute
mixed
key()
Return the key of the current element
void
next()
Move forward to next element
void
rewind()
Rewind the Iterator to the first element
bool
valid()
(PECL imagick 2.0.0)
Checks if the current item is valid
mixed
current()
(PECL imagick 2.0.0)
Returns a reference to the current Imagick object
void
brightnessContrastImage(float $brightness, float $contrast, int $CHANNEL = Imagick::CHANNEL_DEFAULT)
Change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
void
morphology(int $morphologyMethod, int $iterations, ImagickKernel $ImagickKernel, int $CHANNEL = Imagick::CHANNEL_DEFAULT)
Applies a user supplied kernel to the image according to the given morphology method.
void
filter(ImagickKernel $ImagickKernel, int $CHANNEL = Imagick::CHANNEL_DEFAULT)
Applies a custom convolution kernel to the image.
void
colorMatrixImage(array $color_matrix = Imagick::CHANNEL_DEFAULT)
Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).
The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255)
void
deleteImageProperty(string $name)
Deletes an image property.
void
forwardFourierTransformimage(bool $magnitude)
Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
int
getImageCompression()
Gets the current image's compression type.
static string|false
getRegistry(string $key)
Get the StringRegistry entry for the named key or false if not set.
static int
getQuantum()
Returns the ImageMagick quantum range as an integer.
bool
identifyFormat(string $embedText)
Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See https://www.imagemagick.org/script/escape.php for escape sequences.
void
inverseFourierTransformImage(Imagick $complement, bool $magnitude)
Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
static array
listRegistry()
List all the registry settings. Returns an array of all the key/value pairs in the registry
void
rotationalBlurImage(float $angle, int $CHANNEL = Imagick::CHANNEL_DEFAULT)
Rotational blurs an image.
void
selectiveBlurImage(float $radius, float $sigma, float $threshold, int $CHANNEL = Imagick::CHANNEL_DEFAULT)
Selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
int
setAntiAlias(bool $antialias)
Set whether antialiasing should be used for operations. On by default.
void
setImageBiasQuantum(string $bias)
No description
void
setProgressMonitor(callable $callback)
Set a callback that will be called during the processing of the Imagick image.
static void
setRegistry(string $key, string $value)
Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.
void
statisticImage(int $type, int $width, int $height, int $channel = Imagick::CHANNEL_DEFAULT)
Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
Imagick
subImageMatch(Imagick $imagick, array $bestMatch, float $similarity, float $similarity_threshold, int $metric)
Searches for a subimage in the current image and returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.
You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will be set to the 'score' of the similarity between the subimage and the matching position in the larger image, bestMatch will contain an associative array with elements x, y, width, height that describe the matching region.
Imagick
similarityImage(Imagick $imagick, array $bestMatch, float $similarity, float $similarity_threshold, int $metric)
Is an alias of Imagick::subImageMatch
static array<string,string>
getConfigureOptions()
Returns any ImageMagick configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
string
getFeatures()
GetFeatures() returns the ImageMagick features that have been compiled into the runtime.
int
getHDRIEnabled()
No description
setImageChannelMask(int $channel)
Sets the image channel mask. Returns the previous set channel mask.
Only works with Imagick >= 7
bool
evaluateImages(int $EVALUATE_CONSTANT)
Merge multiple images of the same size together with the selected operator. https://www.imagemagick.org/Usage/layers/#evaluate-sequence
bool
autoGammaImage(int $channel = Imagick::CHANNEL_ALL)
Extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.
bool
autoOrient()
Adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
bool
compositeImageGravity(Imagick $imagick, int $COMPOSITE_CONSTANT, int $GRAVITY_CONSTANT)
Composite one image onto another using the specified gravity.
bool
localContrastImage(float $radius, float $strength)
Attempts to increase the appearance of large-scale light-dark transitions.
int
identifyImageType()
Identifies the potential image type, returns one of the Imagick::IMGTYPE_* constants
bool
setImageAlpha(float $alpha)
Sets the image to the specified alpha level. Will replace ImagickDraw::setOpacity()
Imagick
clone() $PECL imagick 2.0.0)
Makes an exact copy of the Imagick object