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.
GD_VERSION
(string)
GD_MAJOR_VERSION
(integer)
GD_MINOR_VERSION
(integer)
GD_RELEASE_VERSION
(integer)
GD_EXTRA_VERSION
(string)
GD_BUNDLED
(integer)
IMG_GIF
(integer)
IMG_JPG
(integer)
IMG_JPEG
(integer)
Note:
This constant has the same value as
IMG_JPG
IMG_PNG
(integer)
IMG_WBMP
(integer)
IMG_XPM
(integer)
IMG_COLOR_TILED
(integer)
IMG_COLOR_STYLED
(integer)
IMG_COLOR_BRUSHED
(integer)
IMG_COLOR_STYLEDBRUSHED
(integer)
IMG_COLOR_TRANSPARENT
(integer)
IMG_ARC_ROUNDED
(integer)
Note:
This constant has the same value as
IMG_ARC_PIE
IMG_ARC_PIE
(integer)
IMG_ARC_CHORD
(integer)
IMG_ARC_NOFILL
(integer)
IMG_ARC_EDGED
(integer)
IMG_GD2_RAW
(integer)
IMG_GD2_COMPRESSED
(integer)
IMG_EFFECT_REPLACE
(integer)
IMG_EFFECT_ALPHABLEND
(integer)
IMG_EFFECT_NORMAL
(integer)
IMG_EFFECT_OVERLAY
(integer)
IMG_FILTER_NEGATE
(integer)
IMG_FILTER_GRAYSCALE
(integer)
IMG_FILTER_BRIGHTNESS
(integer)
IMG_FILTER_CONTRAST
(integer)
IMG_FILTER_COLORIZE
(integer)
IMG_FILTER_EDGEDETECT
(integer)
IMG_FILTER_GAUSSIAN_BLUR
(integer)
IMG_FILTER_SELECTIVE_BLUR
(integer)
IMG_FILTER_EMBOSS
(integer)
IMG_FILTER_MEAN_REMOVAL
(integer)
IMG_FILTER_SMOOTH
(integer)
IMG_FILTER_PIXELATE
(integer)
IMAGETYPE_GIF
(integer)
IMAGETYPE_JPEG
(integer)
IMAGETYPE_JPEG2000
(integer)
IMAGETYPE_PNG
(integer)
IMAGETYPE_SWF
(integer)
IMAGETYPE_PSD
(integer)
IMAGETYPE_BMP
(integer)
IMAGETYPE_WBMP
(integer)
IMAGETYPE_XBM
(integer)
IMAGETYPE_TIFF_II
(integer)
IMAGETYPE_TIFF_MM
(integer)
IMAGETYPE_IFF
(integer)
IMAGETYPE_JB2
(integer)
IMAGETYPE_JPC
(integer)
IMAGETYPE_JP2
(integer)
IMAGETYPE_JPX
(integer)
IMAGETYPE_SWC
(integer)
IMAGETYPE_ICO
(integer)
PNG_NO_FILTER
(integer)
PNG_FILTER_NONE
(integer)
PNG_FILTER_SUB
(integer)
PNG_FILTER_UP
(integer)
PNG_FILTER_AVG
(integer)
PNG_FILTER_PAETH
(integer)
PNG_ALL_FILTERS
(integer)