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 Operator Constants
-
Gmagick::COMPOSITE_DEFAULT
(int)
-
The default composite operator
-
Gmagick::COMPOSITE_UNDEFINED
(int)
-
Undefined composite operator
-
Gmagick::COMPOSITE_NO
(int)
-
No composite operator defined
-
Gmagick::COMPOSITE_ADD
(int)
-
The result of image + image
-
Gmagick::COMPOSITE_ATOP
(int)
-
The result is the same shape as image, with composite image obscuring image where the image shapes overlap
-
Gmagick::COMPOSITE_BLEND
(int)
-
Blends the image
-
Gmagick::COMPOSITE_BUMPMAP
(int)
-
The same as COMPOSITE_MULTIPLY, except the source is converted to grayscale first.
-
Gmagick::COMPOSITE_CLEAR
(int)
-
Makes the target image transparent
-
Gmagick::COMPOSITE_COLORBURN
(int)
-
Darkens the destination image to reflect the source image
-
Gmagick::COMPOSITE_COLORDODGE
(int)
-
Brightens the destination image to reflect the source image
-
Gmagick::COMPOSITE_COLORIZE
(int)
-
Colorizes the target image using the composite image
-
Gmagick::COMPOSITE_COPYBLACK
(int)
-
Copies black from the source to target
-
Gmagick::COMPOSITE_COPYBLUE
(int)
-
Copies blue from the source to target
-
Gmagick::COMPOSITE_COPY
(int)
-
Copies the source image on the target image
-
Gmagick::COMPOSITE_COPYCYAN
(int)
-
Copies cyan from the source to target
-
Gmagick::COMPOSITE_COPYGREEN
(int)
-
Copies green from the source to target
-
Gmagick::COMPOSITE_COPYMAGENTA
(int)
-
Copies magenta from the source to target
-
Gmagick::COMPOSITE_COPYOPACITY
(int)
-
Copies opacity from the source to target
-
Gmagick::COMPOSITE_COPYRED
(int)
-
Copies red from the source to target
-
Gmagick::COMPOSITE_COPYYELLOW
(int)
-
Copies yellow from the source to target
-
Gmagick::COMPOSITE_DARKEN
(int)
-
Darkens the target image
-
Gmagick::COMPOSITE_DSTATOP
(int)
-
The part of the destination lying inside of the source is composited over the source and replaces the destination
-
Gmagick::COMPOSITE_DST
(int)
-
The target is left untouched
-
Gmagick::COMPOSITE_DSTIN
(int)
-
The parts inside the source replace the target
-
Gmagick::COMPOSITE_DSTOUT
(int)
-
The parts outside the source replace the target
-
Gmagick::COMPOSITE_DSTOVER
(int)
-
Target replaces the source
-
Gmagick::COMPOSITE_DIFFERENCE
(int)
-
Subtracts the darker of the two constituent colors from the lighter
-
Gmagick::COMPOSITE_DISPLACE
(int)
-
Shifts target image pixels as defined by the source
-
Gmagick::COMPOSITE_DISSOLVE
(int)
-
Dissolves the source in to the target
-
Gmagick::COMPOSITE_EXCLUSION
(int)
-
Produces an effect similar to that of Gmagick::COMPOSITE_DIFFERENCE, but appears as lower contrast
-
Gmagick::COMPOSITE_HARDLIGHT
(int)
-
Multiplies or screens the colors, dependent on the source color value
-
Gmagick::COMPOSITE_HUE
(int)
-
Modifies the hue of the target as defined by source
-
Gmagick::COMPOSITE_IN
(int)
-
Composites source into the target
-
Gmagick::COMPOSITE_LIGHTEN
(int)
-
Lightens the target as defined by source
-
Gmagick::COMPOSITE_LUMINIZE
(int)
-
Luminizes the target as defined by source
-
Gmagick::COMPOSITE_MINUS
(int)
-
Subtracts the source from the target
-
Gmagick::COMPOSITE_MODULATE
(int)
-
Modulates the target brightness, saturation and hue as defined by source
-
Gmagick::COMPOSITE_MULTIPLY
(int)
-
Multiplies the target to the source
-
Gmagick::COMPOSITE_OUT
(int)
-
Composites outer parts of the source on the target
-
Gmagick::COMPOSITE_OVER
(int)
-
Composites source over the target
-
Gmagick::COMPOSITE_OVERLAY
(int)
-
Overlays the source on the target
-
Gmagick::COMPOSITE_PLUS
(int)
-
Adds the source to the target
-
Gmagick::COMPOSITE_REPLACE
(int)
-
Replaces the target with the source
-
Gmagick::COMPOSITE_SATURATE
(int)
-
Saturates the target as defined by the source
-
Gmagick::COMPOSITE_SCREEN
(int)
-
The source and destination are complemented and then multiplied and then replace the destination
-
Gmagick::COMPOSITE_SOFTLIGHT
(int)
-
Darkens or lightens the colors, dependent on the source
-
Gmagick::COMPOSITE_SRCATOP
(int)
-
The part of the source lying inside of the destination is composited onto the destination
-
Gmagick::COMPOSITE_SRC
(int)
-
The source is copied to the destination
-
Gmagick::COMPOSITE_SRCIN
(int)
-
The part of the source lying inside of the destination replaces the destination
-
Gmagick::COMPOSITE_SRCOUT
(int)
-
The part of the source lying outside of the destination replaces the destination
-
Gmagick::COMPOSITE_SRCOVER
(int)
-
The source replaces the destination
-
Gmagick::COMPOSITE_SUBTRACT
(int)
-
Subtract the colors in the source image from the destination image
-
Gmagick::COMPOSITE_THRESHOLD
(int)
-
The source is composited on the target as defined by source threshold
-
Gmagick::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