Queste costanti sono definite da questa estensione e
sono disponibili solo se l'estensione è stata compilata
nel PHP o se è stata caricata dinamicamente a 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
IMGTYPE_* constants
An image type combines a color model with the presence or absence of an
alpha channel.
Passing one of these constants to
Imagick::setImageType() converts the image to that
type.
Imagick::getImageType() reports the type of an image,
but only ever returns a type that describes actual pixel data, never
imagick::IMGTYPE_UNDEFINED or
imagick::IMGTYPE_OPTIMIZE.
The constants whose name ends in MATTE are the variants
that carry an alpha channel; the others have none.
In ImageMagick 6 the alpha channel was known as the matte channel, and when
Imagick is built against ImageMagick 7 each of these constants also exists
under an IMGTYPE_*ALPHA name
with the same value.
-
imagick::IMGTYPE_UNDEFINED
(int)
-
The image type is not known.
Imagick::setImageType() converts nothing for this
value, but still records it on the image.
-
imagick::IMGTYPE_BILEVEL
(int)
-
Two colors only.
The image is converted to grayscale, its contrast is stretched, and every
pixel becomes either black or white depending on whether it is lighter or
darker than mid-gray; any alpha channel is discarded.
-
imagick::IMGTYPE_GRAYSCALE
(int)
-
Shades of gray.
The image is converted to the grayscale colorspace, and any alpha channel
is discarded.
-
imagick::IMGTYPE_GRAYSCALEMATTE
(int)
-
Shades of gray with an alpha channel.
The same as imagick::IMGTYPE_GRAYSCALE, except that
the alpha channel is kept, and if the image has none, an opaque one is
added.
-
imagick::IMGTYPE_PALETTE
(int)
-
Indexed color.
The image is converted to sRGB and, if it is not already indexed or has
more than 256 colors, it is quantized to 256 colors; any alpha channel is
discarded.
-
imagick::IMGTYPE_PALETTEMATTE
(int)
-
Indexed color with an alpha channel.
The image is converted to sRGB, the alpha channel is kept, and if the
image has none, an opaque one is added.
Unlike imagick::IMGTYPE_PALETTE, the colors are
quantized even when the image is already indexed, and the alpha channel
is included in the quantization.
-
imagick::IMGTYPE_TRUECOLOR
(int)
-
Direct color: one red, green, and blue value per pixel, with no palette.
The image is converted to sRGB, and any alpha channel is discarded.
-
imagick::IMGTYPE_TRUECOLORMATTE
(int)
-
Direct color with an alpha channel.
The same as imagick::IMGTYPE_TRUECOLOR, except that
the alpha channel is kept, and if the image has none, an opaque one is
added.
-
imagick::IMGTYPE_COLORSEPARATION
(int)
-
One channel per printing ink, with no palette.
The image is converted to the CMYK colorspace, and any alpha channel is
discarded.
-
imagick::IMGTYPE_COLORSEPARATIONMATTE
(int)
-
One channel per printing ink, with no palette, plus an alpha channel.
The same as imagick::IMGTYPE_COLORSEPARATION, except
that the alpha channel is kept, and if the image has none, an opaque one
is added.
-
imagick::IMGTYPE_PALETTEBILEVELMATTE
(int)
-
Indexed color with a fully transparent or fully opaque alpha channel.
The image is converted to sRGB, an opaque alpha channel is added if it
has none, that channel alone is reduced to two values, and the colors
are then quantized.
This is the type of a PNG using binary transparency.
-
imagick::IMGTYPE_OPTIMIZE
(int)
-
Imagick::setImageType() converts nothing for this
value, but still records it on the image.
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)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_LOG
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_THRESHOLD
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_THRESHOLDBLACK
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_THRESHOLDWHITE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_GAUSSIANNOISE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_IMPULSENOISE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_LAPLACIANNOISE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_MULTIPLICATIVENOISE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_POISSONNOISE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_UNIFORMNOISE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_COSINE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_SINE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
-
imagick::EVALUATE_ADDMODULUS
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 or higher.
LAYERMETHOD_* constants
-
imagick::LAYERMETHOD_UNDEFINED
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_COALESCE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_COMPAREANY
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_COMPARECLEAR
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_COMPAREOVERLAY
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_DISPOSE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_OPTIMIZE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_OPTIMIZEPLUS
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 or higher.
-
imagick::LAYERMETHOD_OPTIMIZEIMAGE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.0 or higher.
-
imagick::LAYERMETHOD_OPTIMIZETRANS
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.0 or higher.
-
imagick::LAYERMETHOD_REMOVEDUPS
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.0 or higher.
-
imagick::LAYERMETHOD_REMOVEZERO
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.0 or higher.
-
imagick::LAYERMETHOD_COMPOSITE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.0 or higher.
-
imagick::LAYERMETHOD_MERGE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.7 or higher.
-
imagick::LAYERMETHOD_FLATTEN
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.7 or higher.
-
imagick::LAYERMETHOD_MOSAIC
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.7 or higher.
DISTORTION_* constants
-
imagick::DISTORTION_UNDEFINED
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_AFFINE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_AFFINEPROJECTION
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_ARC
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_BILINEAR
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_PERSPECTIVE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_PERSPECTIVEPROJECTION
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_SCALEROTATETRANSLATE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.6 or higher.
-
imagick::DISTORTION_POLYNOMIAL
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::DISTORTION_POLAR
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::DISTORTION_DEPOLAR
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::DISTORTION_BARREL
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::DISTORTION_BARRELINVERSE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::DISTORTION_SHEPARDS
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::DISTORTION_SENTINEL
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
ALPHACHANNEL_* constants
-
imagick::ALPHACHANNEL_ACTIVATE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.8 or higher.
-
imagick::ALPHACHANNEL_DEACTIVATE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.8 or higher.
-
imagick::ALPHACHANNEL_RESET
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.8 or higher.
-
imagick::ALPHACHANNEL_SET
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.8 or higher.
-
imagick::ALPHACHANNEL_UNDEFINED
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::ALPHACHANNEL_COPY
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::ALPHACHANNEL_OPAQUE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::ALPHACHANNEL_SHAPE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::ALPHACHANNEL_TRANSPARENT
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.6 or higher.
-
imagick::ALPHACHANNEL_BACKGROUND
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.5.3 or higher.
-
imagick::ALPHACHANNEL_REMOVE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.7.8 or higher.
-
imagick::ALPHACHANNEL_ASSOCIATE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.9.0 or higher.
-
imagick::ALPHACHANNEL_DISSOCIATE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 6.9.0 or higher.
-
imagick::ALPHACHANNEL_ON
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 7.0.0 or higher.
-
imagick::ALPHACHANNEL_OFF
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 7.0.0 or higher.
-
imagick::ALPHACHANNEL_DISCRETE
(int)
-
Questa costante è disponibile se Imagick è stato compilato con ImageMagick versione 7.0.0 or higher.