diff --git a/reference/imagick/constants.xml b/reference/imagick/constants.xml index 1ff7ea31c0..06b5e87d79 100644 --- a/reference/imagick/constants.xml +++ b/reference/imagick/constants.xml @@ -1,5 +1,5 @@ - + &reftitle.constants; &extension.constants; @@ -188,159 +188,595 @@ Composite Operator Constants - imagick::COMPOSITE_OVER - (integer) + imagick::COMPOSITE_DEFAULT + (integer) - Overlay one image over the next + The default composite operator - imagick::COMPOSITE_IN - (integer) + imagick::COMPOSITE_UNDEFINED + (integer) - Replaces the inside of one layer with another + Undefined composite operator - imagick::COMPOSITE_OUT - (integer) + imagick::COMPOSITE_NO + (integer) - Replaces the outside of one layer with another - - - - - - imagick::COMPOSITE_ATOP - (integer) - - - - Composites the inside of one layer with the other - - - - - - imagick::COMPOSITE_XOR - (integer) - - - - The part of the source that lies outside of the destination is - combined with the part of the destination that lies outside the - source. - - - - - - imagick::COMPOSITE_PLUS - (integer) - - - - The source is added to the destination and replaces the destination. - - - - - - imagick::COMPOSITE_MINUS - (integer) - - - - The source is subtracted to the destination and replaces the - destination. + No composite operator defined imagick::COMPOSITE_ADD - (integer) + (integer) - Deprecated + The result of image + image - imagick::COMPOSITE_SUBTRACT - (integer) + imagick::COMPOSITE_ATOP + (integer) - Deprecated + The result is the same shape as image, with composite image obscuring image where the image shapes overlap - imagick::COMPOSITE_DIFFERENCE - (integer) + imagick::COMPOSITE_BLEND + (integer) - The difference in color values. Good for comparing images. + Blends the image imagick::COMPOSITE_BUMPMAP - (integer) + (integer) - The same as COMPOSITE_MULTIPLY, except the source is converted to - greyscale first. + The same as COMPOSITE_MULTIPLY, except the source is converted to greyscale first. + + + + + + imagick::COMPOSITE_CLEAR + (integer) + + + + Makes the target image transparent + + + + + + imagick::COMPOSITE_COLORBURN + (integer) + + + + Darkens the destination image to reflect the source image + + + + + + imagick::COMPOSITE_COLORDODGE + (integer) + + + + Brightens the destination image to reflect the source image + + + + + + imagick::COMPOSITE_COLORIZE + (integer) + + + + Colorizes the target image using the composite image + + + + + + imagick::COMPOSITE_COPYBLACK + (integer) + + + + Copies black from the source to target + + + + + + imagick::COMPOSITE_COPYBLUE + (integer) + + + + Copies blue from the source to target imagick::COMPOSITE_COPY - (integer) + (integer) - Simply place the source on top of the destination. + Copies the source image on the target image + + + + + + imagick::COMPOSITE_COPYCYAN + (integer) + + + + Copies cyan from the source to target + + + + + + imagick::COMPOSITE_COPYGREEN + (integer) + + + + Copies green from the source to target + + + + + + imagick::COMPOSITE_COPYMAGENTA + (integer) + + + + Copies magenta from the source to target + + + + + + imagick::COMPOSITE_COPYOPACITY + (integer) + + + + Copies opacity from the source to target + + + + + + imagick::COMPOSITE_COPYRED + (integer) + + + + Copies red from the source to target + + + + + + imagick::COMPOSITE_COPYYELLOW + (integer) + + + + Copies yellow from the source to target + + + + + + imagick::COMPOSITE_DARKEN + (integer) + + + + Darkens the target image + + + + + + imagick::COMPOSITE_DSTATOP + (integer) + + + + The part of the destination lying inside of the source is composited over the source and replaces the destination + + + + + + imagick::COMPOSITE_DST + (integer) + + + + The target is left untouched + + + + + + imagick::COMPOSITE_DSTIN + (integer) + + + + The parts inside the source replace the target + + + + + + imagick::COMPOSITE_DSTOUT + (integer) + + + + The parts outside the source replace the target + + + + + + imagick::COMPOSITE_DSTOVER + (integer) + + + + Target replaces the source + + + + + + imagick::COMPOSITE_DIFFERENCE + (integer) + + + + Subtracts the darker of the two constituent colors from the lighter imagick::COMPOSITE_DISPLACE - (integer) + (integer) - + Shifts target image pixels as defined by the source - imagick::COMPOSITE_DEFAULT - (integer) + imagick::COMPOSITE_DISSOLVE + (integer) - + Dissolves the source in to the target + + + + + + imagick::COMPOSITE_EXCLUSION + (integer) + + + + Produces an effect similar to that of imagick::COMPOSITE_DIFFERENCE, but appears as lower contrast + + + + + + imagick::COMPOSITE_HARDLIGHT + (integer) + + + + Multiplies or screens the colors, dependent on the source color value + + + + + + imagick::COMPOSITE_HUE + (integer) + + + + Modifies the hue of the target as defined by source + + + + + + imagick::COMPOSITE_IN + (integer) + + + + Composites source into the target + + + + + + imagick::COMPOSITE_LIGHTEN + (integer) + + + + Lightens the target as defined by source + + + + + + imagick::COMPOSITE_LUMINIZE + (integer) + + + + Luminizes the target as defined by source + + + + + + imagick::COMPOSITE_MINUS + (integer) + + + + Substracts the source from the target + + + + + + imagick::COMPOSITE_MODULATE + (integer) + + + + Modulates the target brightness, saturation and hue as defined by source + + + + + + imagick::COMPOSITE_MULTIPLY + (integer) + + + + Multiplies the target to the source + + + + + + imagick::COMPOSITE_OUT + (integer) + + + + Composites outer parts of the source on the target + + + + + + imagick::COMPOSITE_OVER + (integer) + + + + Composites source over the target + + + + + + imagick::COMPOSITE_OVERLAY + (integer) + + + + Overlays the source on the target + + + + + + imagick::COMPOSITE_PLUS + (integer) + + + + Adds the source to the target + + + + + + imagick::COMPOSITE_REPLACE + (integer) + + + + Replaces the target with the source + + + + + + imagick::COMPOSITE_SATURATE + (integer) + + + + Saturates the target as defined by the source + + + + + + imagick::COMPOSITE_SCREEN + (integer) + + + + The source and destination are complemented and then multiplied and then replace the destination + + + + + + imagick::COMPOSITE_SOFTLIGHT + (integer) + + + + Darkens or lightens the colors, dependent on the source + + + + + + imagick::COMPOSITE_SRCATOP + (integer) + + + + The part of the source lying inside of the destination is composited onto the destination + + + + + + imagick::COMPOSITE_SRC + (integer) + + + + The source is copied to the destination + + + + + + imagick::COMPOSITE_SRCIN + (integer) + + + + The part of the source lying inside of the destination replaces the destination + + + + + + imagick::COMPOSITE_SRCOUT + (integer) + + + + The part of the source lying outside of the destination replaces the destination + + + + + + imagick::COMPOSITE_SRCOVER + (integer) + + + + The source replaces the destination + + + + + + imagick::COMPOSITE_SUBTRACT + (integer) + + + + Subtract the colors in the source image from the destination image + + + + + + imagick::COMPOSITE_THRESHOLD + (integer) + + + + The source is composited on the target as defined by source threshold + + + + + + imagick::COMPOSITE_XOR + (integer) + + + + 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