31#define arginfo_imagepalettetotruecolor arginfo_imageistruecolor
69#define arginfo_imagesavealpha arginfo_imagealphablending
92#define arginfo_imagecolorclosestalpha arginfo_imagecolorresolvealpha
94#define arginfo_imagecolorexactalpha arginfo_imagecolorresolvealpha
109#if defined(PHP_WIN32)
135#define arginfo_imagecreate arginfo_imagecreatetruecolor
144#if defined(HAVE_GD_AVIF)
154#if defined(HAVE_GD_JPG)
160#if defined(HAVE_GD_PNG)
166#if defined(HAVE_GD_WEBP)
172#define arginfo_imagecreatefromxbm arginfo_imagecreatefromgif
174#if defined(HAVE_GD_XPM)
180#define arginfo_imagecreatefromwbmp arginfo_imagecreatefromgif
182#define arginfo_imagecreatefromgd arginfo_imagecreatefromgif
184#define arginfo_imagecreatefromgd2 arginfo_imagecreatefromgif
194#if defined(HAVE_GD_BMP)
200#if defined(HAVE_GD_TGA)
212#if defined(HAVE_GD_AVIF)
226#if defined(HAVE_GD_PNG)
235#if defined(HAVE_GD_WEBP)
243#if defined(HAVE_GD_JPG)
269#if defined(HAVE_GD_BMP)
277#define arginfo_imagedestroy arginfo_imageistruecolor
304#define arginfo_imagecolorclosesthwb arginfo_imagecolorclosest
311#define arginfo_imagecolorresolve arginfo_imagecolorclosest
313#define arginfo_imagecolorexact arginfo_imagecolorclosest
351#define arginfo_imagedashedline arginfo_imageline
353#define arginfo_imagerectangle arginfo_imageline
355#define arginfo_imagefilledrectangle arginfo_imageline
368#define arginfo_imageellipse arginfo_imagefilledellipse
378#define arginfo_imagefill arginfo_imagesetpixel
401#define arginfo_imageopenpolygon arginfo_imagepolygon
403#define arginfo_imagefilledpolygon arginfo_imagepolygon
409#define arginfo_imagefontheight arginfo_imagefontwidth
420#define arginfo_imagecharup arginfo_imagechar
431#define arginfo_imagestringup arginfo_imagestring
456#define arginfo_imagecopymergegray arginfo_imagecopymerge
458#define arginfo_imagecopyresized arginfo_imagecopyresampled
460#define arginfo_imagesx arginfo_imagecolorstotal
462#define arginfo_imagesy arginfo_imagecolorstotal
476#if defined(HAVE_GD_FREETYPE)
497#define arginfo_imagettfbbox arginfo_imageftbbox
499#define arginfo_imagettftext arginfo_imagefttext
520#define arginfo_imageantialias arginfo_imagealphablending
557#define arginfo_imagegetinterpolation arginfo_imagecolorstotal
589#if defined(PHP_WIN32)
599#if defined(HAVE_GD_AVIF)
603#if defined(HAVE_GD_JPG)
606#if defined(HAVE_GD_PNG)
609#if defined(HAVE_GD_WEBP)
613#if defined(HAVE_GD_XPM)
620#if defined(HAVE_GD_BMP)
623#if defined(HAVE_GD_TGA)
627#if defined(HAVE_GD_AVIF)
631#if defined(HAVE_GD_PNG)
634#if defined(HAVE_GD_WEBP)
637#if defined(HAVE_GD_JPG)
643#if defined(HAVE_GD_BMP)
687#if defined(HAVE_GD_FREETYPE)
725#if defined(PHP_WIN32)
735#if defined(HAVE_GD_AVIF)
739#if defined(HAVE_GD_JPG)
742#if defined(HAVE_GD_PNG)
745#if defined(HAVE_GD_WEBP)
749#if defined(HAVE_GD_XPM)
756#if defined(HAVE_GD_BMP)
759#if defined(HAVE_GD_TGA)
763#if defined(HAVE_GD_AVIF)
767#if defined(HAVE_GD_PNG)
770#if defined(HAVE_GD_WEBP)
773#if defined(HAVE_GD_JPG)
779#if defined(HAVE_GD_BMP)
823#if defined(HAVE_GD_FREETYPE)
845static void register_gd_symbols(
int module_number)
857#if defined(gdWebpLossless)
879#if defined(gdEffectMultiply)
928#if defined(GD_VERSION_STRING)
931#if (defined(GD_MAJOR_VERSION) && defined(GD_MINOR_VERSION) && defined(GD_RELEASE_VERSION) && defined(GD_EXTRA_VERSION))
934#if (defined(GD_MAJOR_VERSION) && defined(GD_MINOR_VERSION) && defined(GD_RELEASE_VERSION) && defined(GD_EXTRA_VERSION))
937#if (defined(GD_MAJOR_VERSION) && defined(GD_MINOR_VERSION) && defined(GD_RELEASE_VERSION) && defined(GD_EXTRA_VERSION))
940#if (defined(GD_MAJOR_VERSION) && defined(GD_MINOR_VERSION) && defined(GD_RELEASE_VERSION) && defined(GD_EXTRA_VERSION))
943#if defined(HAVE_GD_PNG)
946#if defined(HAVE_GD_PNG)
949#if defined(HAVE_GD_PNG)
952#if defined(HAVE_GD_PNG)
955#if defined(HAVE_GD_PNG)
958#if defined(HAVE_GD_PNG)
961#if defined(HAVE_GD_PNG)
file(string $filename, int $flags=0, $context=null)
#define PHP_GD_FLIP_HORIZONTAL
#define PHP_GD_FLIP_VERTICAL
#define GD_RELEASE_VERSION
#define gdEffectAlphaBlend
@ GD_AFFINE_SHEAR_HORIZONTAL
@ GD_AFFINE_SHEAR_VERTICAL
#define GD_VERSION_STRING
#define GD2_FMT_COMPRESSED
imagecharup(GdImage $image, GdFont|int $font, int $x, int $y, string $char, int $color)
imagebmp(GdImage $image, $file=null, bool $compressed=true)
imagecreatefromgif(string $filename)
imagefilledpolygon(GdImage $image, array $points, int $num_points_or_color, ?int $color=null)
imagecreatefromgd2(string $filename)
imagecreatetruecolor(int $width, int $height)
imagepalettecopy(GdImage $dst, GdImage $src)
imagefilledrectangle(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)
imageaffinematrixconcat(array $matrix1, array $matrix2)
imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors)
imageflip(GdImage $image, int $mode)
imagefontwidth(GdFont|int $font)
imagecreatefromwbmp(string $filename)
imagecreate(int $width, int $height)
imagerotate(GdImage $image, float $angle, int $background_color)
imagecolorset(GdImage $image, int $color, int $red, int $green, int $blue, int $alpha=0)
imagefontheight(GdFont|int $font)
imageopenpolygon(GdImage $image, array $points, int $num_points_or_color, ?int $color=null)
imageantialias(GdImage $image, bool $enable)
imagecopy(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_width, int $src_height)
imagejpeg(GdImage $image, $file=null, int $quality=-1)
imagesetstyle(GdImage $image, array $style)
imagecreatefromgd(string $filename)
imagecopyresized(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_width, int $dst_height, int $src_width, int $src_height)
imagecolortransparent(GdImage $image, ?int $color=null)
imagecropauto(GdImage $image, int $mode=IMG_CROP_DEFAULT, float $threshold=0.5, int $color=-1)
imagepng(GdImage $image, $file=null, int $quality=-1, int $filters=-1)
imagecolorstotal(GdImage $image)
imagearc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $start_angle, int $end_angle, int $color)
imagedashedline(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)
imagecreatefromgd2part(string $filename, int $x, int $y, int $width, int $height)
imagecopyresampled(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_width, int $dst_height, int $src_width, int $src_height)
imageaffine(GdImage $image, array $affine, ?array $clip=null)
imagecolorresolve(GdImage $image, int $red, int $green, int $blue)
imagelayereffect(GdImage $image, int $effect)
imagecolormatch(GdImage $image1, GdImage $image2)
imagestringup(GdImage $image, GdFont|int $font, int $x, int $y, string $string, int $color)
imagecolorclosesthwb(GdImage $image, int $red, int $green, int $blue)
imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $text, array $options=[])
imagexbm(GdImage $image, ?string $filename, ?int $foreground_color=null)
imagesetinterpolation(GdImage $image, int $method=IMG_BILINEAR_FIXED)
imagecreatefromavif(string $filename)
imagesetclip(GdImage $image, int $x1, int $y1, int $x2, int $y2)
imagegif(GdImage $image, $file=null)
imageloadfont(string $filename)
imagescale(GdImage $image, int $width, int $height=-1, int $mode=IMG_BILINEAR_FIXED)
imageellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $color)
imagecolorexact(GdImage $image, int $red, int $green, int $blue)
imagecolorsforindex(GdImage $image, int $color)
imagedestroy(GdImage $image)
imageavif(GdImage $image, $file=null, int $quality=-1, int $speed=-1)
imageftbbox(float $size, float $angle, string $font_filename, string $string, array $options=[])
imagecreatefrompng(string $filename)
imageinterlace(GdImage $image, ?bool $enable=null)
imagecreatefromwebp(string $filename)
imagerectangle(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)
imagecolorallocatealpha(GdImage $image, int $red, int $green, int $blue, int $alpha)
imagepolygon(GdImage $image, array $points, int $num_points_or_color, ?int $color=null)
imagecopymerge(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_width, int $src_height, int $pct)
imagecolorallocate(GdImage $image, int $red, int $green, int $blue)
imagesetpixel(GdImage $image, int $x, int $y, int $color)
imagecreatefromxbm(string $filename)
imagealphablending(GdImage $image, bool $enable)
imagefilter(GdImage $image, int $filter,... $args)
imagecolordeallocate(GdImage $image, int $color)
imagewbmp(GdImage $image, $file=null, ?int $foreground_color=null)
imagesetthickness(GdImage $image, int $thickness)
imagesettile(GdImage $image, GdImage $tile)
imagecreatefromjpeg(string $filename)
imagefill(GdImage $image, int $x, int $y, int $color)
imagecreatefromstring(string $data)
imagegrabwindow(int $handle, bool $client_area=false)
imagegd2(GdImage $image, ?string $file=null, int $chunk_size=128, int $mode=IMG_GD2_RAW)
imagechar(GdImage $image, GdFont|int $font, int $x, int $y, string $char, int $color)
imagecreatefromtga(string $filename)
imagecolorexactalpha(GdImage $image, int $red, int $green, int $blue, int $alpha)
imagegd(GdImage $image, ?string $file=null)
imagecolorat(GdImage $image, int $x, int $y)
imageresolution(GdImage $image, ?int $resolution_x=null, ?int $resolution_y=null)
imagegetclip(GdImage $image)
imagepalettetotruecolor(GdImage $image)
imagecolorresolvealpha(GdImage $image, int $red, int $green, int $blue, int $alpha)
imageistruecolor(GdImage $image)
imagecolorclosestalpha(GdImage $image, int $red, int $green, int $blue, int $alpha)
imagegetinterpolation(GdImage $image)
imagecreatefrombmp(string $filename)
imageline(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)
imagegammacorrect(GdImage $image, float $input_gamma, float $output_gamma)
imagesavealpha(GdImage $image, bool $enable)
imagewebp(GdImage $image, $file=null, int $quality=-1)
imagesetbrush(GdImage $image, GdImage $brush)
imagefilledarc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $start_angle, int $end_angle, int $color, int $style)
imagestring(GdImage $image, GdFont|int $font, int $x, int $y, string $string, int $color)
imageaffinematrixget(int $type, $options)
imageconvolution(GdImage $image, array $matrix, float $divisor, float $offset)
imagecolorclosest(GdImage $image, int $red, int $green, int $blue)
imagefilledellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $color)
imagecrop(GdImage $image, array $rectangle)
imagecreatefromxpm(string $filename)
imagecopymergegray(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_width, int $src_height, int $pct)
imagefilltoborder(GdImage $image, int $x, int $y, int $border_color, int $color)
#define arginfo_imagecreatefromxbm
#define arginfo_imagecolorexactalpha
#define arginfo_imagecolorclosestalpha
#define arginfo_imagecolorexact
#define arginfo_imagecolorclosesthwb
#define arginfo_imagecharup
#define arginfo_imagestringup
#define arginfo_imagerectangle
#define arginfo_imagecreatefromgd2
#define arginfo_imageopenpolygon
#define arginfo_imagedestroy
#define arginfo_imageantialias
#define arginfo_imagecolorresolve
#define arginfo_imagegetinterpolation
#define arginfo_imagepalettetotruecolor
#define arginfo_imagedashedline
#define arginfo_imagecreate
#define arginfo_imagesavealpha
#define arginfo_imagecopyresized
#define arginfo_imagefilledpolygon
#define arginfo_imagecreatefromwbmp
#define arginfo_imagefontheight
#define arginfo_imagefilledrectangle
#define arginfo_imagecopymergegray
#define arginfo_imageellipse
#define arginfo_imagefill
#define arginfo_imagecreatefromgd
unsigned const char * text
PHP_JSON_API size_t int options
ZEND_API zend_class_entry * zend_register_internal_class_with_flags(zend_class_entry *class_entry, zend_class_entry *parent_ce, uint32_t ce_flags)
#define ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(name, return_reference, required_num_args, class_name, type)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(name, return_reference, required_num_args, type)
struct _zend_function_entry zend_function_entry
#define ZEND_ARG_OBJ_TYPE_MASK(pass_by_ref, name, class_name, type_mask, default_value)
#define ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(name, return_reference, required_num_args, type, allow_null)
#define INIT_CLASS_ENTRY(class_container, class_name, functions)
#define ZEND_RAW_FENTRY(zend_name, name, arg_info, flags, frameless_function_infos, doc_comment)
#define ZEND_ARG_INFO(pass_by_ref, name)
#define ZEND_ARG_VARIADIC_INFO(pass_by_ref, name)
#define ZEND_END_ARG_INFO()
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, class_name, allow_null)
#define ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, type_hint, allow_null, default_value)
#define ZEND_ARG_TYPE_INFO(pass_by_ref, name, type_hint, allow_null)
#define ZEND_FE(name, arg_info)
#define ZEND_FUNCTION(name)
#define ZEND_ARG_INFO_WITH_DEFAULT_VALUE(pass_by_ref, name, default_value)
#define ZEND_ACC_NO_DYNAMIC_PROPERTIES
#define ZEND_ACC_NOT_SERIALIZABLE
#define ZEND_ACC_COMPILE_TIME_EVAL
#define REGISTER_STRING_CONSTANT(name, str, flags)
#define REGISTER_LONG_CONSTANT(name, lval, flags)
struct _zend_class_entry zend_class_entry