The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
COMPOSITE_* constants
-
imagick::COMPOSITE_DEFAULT
(int)
-
The default composite operator
-
imagick::COMPOSITE_UNDEFINED
(int)
-
Undefined composite operator
-
imagick::COMPOSITE_NO
(int)
-
No composite operator defined
-
imagick::COMPOSITE_ADD
(int)
-
The result of image + image
-
imagick::COMPOSITE_ATOP
(int)
-
The result is the same shape as image, with composite image obscuring image where the image shapes overlap
-
imagick::COMPOSITE_BLEND
(int)
-
Blends the image
-
imagick::COMPOSITE_BUMPMAP
(int)
-
The same as COMPOSITE_MULTIPLY, except the source is converted to grayscale first.
-
imagick::COMPOSITE_CLEAR
(int)
-
Makes the target image transparent
-
imagick::COMPOSITE_COLORBURN
(int)
-
Darkens the destination image to reflect the source image
-
imagick::COMPOSITE_COLORDODGE
(int)
-
Brightens the destination image to reflect the source image
-
imagick::COMPOSITE_COLORIZE
(int)
-
Colorizes the target image using the composite image
-
imagick::COMPOSITE_COPYBLACK
(int)
-
Copies black from the source to target
-
imagick::COMPOSITE_COPYBLUE
(int)
-
Copies blue from the source to target
-
imagick::COMPOSITE_COPY
(int)
-
Copies the source image on the target image
-
imagick::COMPOSITE_COPYCYAN
(int)
-
Copies cyan from the source to target
-
imagick::COMPOSITE_COPYGREEN
(int)
-
Copies green from the source to target
-
imagick::COMPOSITE_COPYMAGENTA
(int)
-
Copies magenta from the source to target
-
imagick::COMPOSITE_COPYOPACITY
(int)
-
Copies opacity from the source to target
-
imagick::COMPOSITE_COPYRED
(int)
-
Copies red from the source to target
-
imagick::COMPOSITE_COPYYELLOW
(int)
-
Copies yellow from the source to target
-
imagick::COMPOSITE_DARKEN
(int)
-
Darkens the target image
-
imagick::COMPOSITE_DSTATOP
(int)
-
The part of the destination lying inside of the source is composited over the source and replaces the destination
-
imagick::COMPOSITE_DST
(int)
-
The target is left untouched
-
imagick::COMPOSITE_DSTIN
(int)
-
The parts inside the source replace the target
-
imagick::COMPOSITE_DSTOUT
(int)
-
The parts outside the source replace the target
-
imagick::COMPOSITE_DSTOVER
(int)
-
Target replaces the source
-
imagick::COMPOSITE_DIFFERENCE
(int)
-
Subtracts the darker of the two constituent colors from the lighter
-
imagick::COMPOSITE_DISPLACE
(int)
-
Shifts target image pixels as defined by the source
-
imagick::COMPOSITE_DISSOLVE
(int)
-
Dissolves the source in to the target
-
imagick::COMPOSITE_EXCLUSION
(int)
-
Produces an effect similar to that of imagick::COMPOSITE_DIFFERENCE, but appears as lower contrast
-
imagick::COMPOSITE_HARDLIGHT
(int)
-
Multiplies or screens the colors, dependent on the source color value
-
imagick::COMPOSITE_HUE
(int)
-
Modifies the hue of the target as defined by source
-
imagick::COMPOSITE_IN
(int)
-
Composites source into the target
-
imagick::COMPOSITE_LIGHTEN
(int)
-
Lightens the target as defined by source
-
imagick::COMPOSITE_LUMINIZE
(int)
-
Luminizes the target as defined by source
-
imagick::COMPOSITE_MINUS
(int)
-
Subtracts the source from the target
-
imagick::COMPOSITE_MODULATE
(int)
-
Modulates the target brightness, saturation and hue as defined by source
-
imagick::COMPOSITE_MULTIPLY
(int)
-
Multiplies the target to the source
-
imagick::COMPOSITE_OUT
(int)
-
Composites outer parts of the source on the target
-
imagick::COMPOSITE_OVER
(int)
-
Composites source over the target
-
imagick::COMPOSITE_OVERLAY
(int)
-
Overlays the source on the target
-
imagick::COMPOSITE_PLUS
(int)
-
Adds the source to the target
-
imagick::COMPOSITE_REPLACE
(int)
-
Replaces the target with the source
-
imagick::COMPOSITE_SATURATE
(int)
-
Saturates the target as defined by the source
-
imagick::COMPOSITE_SCREEN
(int)
-
The source and destination are complemented and then multiplied and then replace the destination
-
imagick::COMPOSITE_SOFTLIGHT
(int)
-
Darkens or lightens the colors, dependent on the source
-
imagick::COMPOSITE_SRCATOP
(int)
-
The part of the source lying inside of the destination is composited onto the destination
-
imagick::COMPOSITE_SRC
(int)
-
The source is copied to the destination
-
imagick::COMPOSITE_SRCIN
(int)
-
The part of the source lying inside of the destination replaces the destination
-
imagick::COMPOSITE_SRCOUT
(int)
-
The part of the source lying outside of the destination replaces the destination
-
imagick::COMPOSITE_SRCOVER
(int)
-
The source replaces the destination
-
imagick::COMPOSITE_SUBTRACT
(int)
-
Subtract the colors in the source image from the destination image
-
imagick::COMPOSITE_THRESHOLD
(int)
-
The source is composited on the target as defined by source threshold
-
imagick::COMPOSITE_XOR
(int)
-
The part of the source that lies outside of the destination is combined with the part of the destination that lies outside of the source
EVALUATE_* constants
-
imagick::EVALUATE_UNDEFINED
(int)
-
-
imagick::EVALUATE_ADD
(int)
-
-
imagick::EVALUATE_AND
(int)
-
-
imagick::EVALUATE_DIVIDE
(int)
-
-
imagick::EVALUATE_LEFTSHIFT
(int)
-
-
imagick::EVALUATE_MAX
(int)
-
-
imagick::EVALUATE_MIN
(int)
-
-
imagick::EVALUATE_MULTIPLY
(int)
-
-
imagick::EVALUATE_OR
(int)
-
-
imagick::EVALUATE_RIGHTSHIFT
(int)
-
-
imagick::EVALUATE_SET
(int)
-
-
imagick::EVALUATE_SUBTRACT
(int)
-
-
imagick::EVALUATE_XOR
(int)
-
-
imagick::EVALUATE_POW
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_LOG
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_THRESHOLD
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_THRESHOLDBLACK
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_THRESHOLDWHITE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_GAUSSIANNOISE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_IMPULSENOISE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_LAPLACIANNOISE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_MULTIPLICATIVENOISE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_POISSONNOISE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_UNIFORMNOISE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_COSINE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_SINE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
-
imagick::EVALUATE_ADDMODULUS
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.4 or higher.
LAYERMETHOD_* constants
-
imagick::LAYERMETHOD_UNDEFINED
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_COALESCE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_COMPAREANY
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_COMPARECLEAR
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_COMPAREOVERLAY
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_DISPOSE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_OPTIMIZE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_OPTIMIZEPLUS
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.2.9 or higher.
-
imagick::LAYERMETHOD_OPTIMIZEIMAGE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.0 or higher.
-
imagick::LAYERMETHOD_OPTIMIZETRANS
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.0 or higher.
-
imagick::LAYERMETHOD_REMOVEDUPS
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.0 or higher.
-
imagick::LAYERMETHOD_REMOVEZERO
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.0 or higher.
-
imagick::LAYERMETHOD_COMPOSITE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.0 or higher.
-
imagick::LAYERMETHOD_MERGE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.7 or higher.
-
imagick::LAYERMETHOD_FLATTEN
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.7 or higher.
-
imagick::LAYERMETHOD_MOSAIC
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.7 or higher.
DISTORTION_* constants
-
imagick::DISTORTION_UNDEFINED
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_AFFINE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_AFFINEPROJECTION
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_ARC
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_BILINEAR
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_PERSPECTIVE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_PERSPECTIVEPROJECTION
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_SCALEROTATETRANSLATE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.6 or higher.
-
imagick::DISTORTION_POLYNOMIAL
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::DISTORTION_POLAR
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::DISTORTION_DEPOLAR
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::DISTORTION_BARREL
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::DISTORTION_BARRELINVERSE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::DISTORTION_SHEPARDS
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::DISTORTION_SENTINEL
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
ALPHACHANNEL_* constants
-
imagick::ALPHACHANNEL_ACTIVATE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.8 or higher.
-
imagick::ALPHACHANNEL_DEACTIVATE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.8 or higher.
-
imagick::ALPHACHANNEL_RESET
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.8 or higher.
-
imagick::ALPHACHANNEL_SET
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.3.8 or higher.
-
imagick::ALPHACHANNEL_UNDEFINED
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::ALPHACHANNEL_COPY
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::ALPHACHANNEL_OPAQUE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::ALPHACHANNEL_SHAPE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::ALPHACHANNEL_TRANSPARENT
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.4.6 or higher.
-
imagick::ALPHACHANNEL_BACKGROUND
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.5.3 or higher.
-
imagick::ALPHACHANNEL_REMOVE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.7.8 or higher.
-
imagick::ALPHACHANNEL_ASSOCIATE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.9.0 or higher.
-
imagick::ALPHACHANNEL_DISSOCIATE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 6.9.0 or higher.
-
imagick::ALPHACHANNEL_ON
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 7.0.0 or higher.
-
imagick::ALPHACHANNEL_OFF
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 7.0.0 or higher.
-
imagick::ALPHACHANNEL_DISCRETE
(int)
-
This constant is available if Imagick has been compiled against ImageMagick version 7.0.0 or higher.