function imageloadfont(string $filename): int|false {}
-function imagesetstyle(GdImage $im, array $styles): bool {}
+function imagesetstyle(GdImage $image, array $style): bool {}
-function imagecreatetruecolor(int $x_size, int $y_size): GdImage|false {}
+function imagecreatetruecolor(int $width, int $height): GdImage|false {}
-function imageistruecolor(GdImage $im): bool {}
+function imageistruecolor(GdImage $image): bool {}
-function imagetruecolortopalette(GdImage $im, bool $ditherFlag, int $colorWanted): bool {}
+function imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors): bool {}
-function imagepalettetotruecolor(GdImage $im): bool {}
+function imagepalettetotruecolor(GdImage $image): bool {}
-function imagecolormatch(GdImage $im1, GdImage $im2): bool {}
+function imagecolormatch(GdImage $image1, GdImage $image2): bool {}
-function imagesetthickness(GdImage $im, int $thickness): bool {}
+function imagesetthickness(GdImage $image, int $thickness): bool {}
-function imagefilledellipse(GdImage $im, int $cx, int $cy, int $w, int $h, int $color): bool {}
+function imagefilledellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $color): bool {}
-function imagefilledarc(GdImage $im, int $cx, int $cy, int $w, int $h, int $s, int $e, int $col, int $style): bool {}
+function imagefilledarc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $start_angle, int $end_angle, int $color, int $style): bool {}
-function imagealphablending(GdImage $im, bool $blend): bool {}
+function imagealphablending(GdImage $image, bool $enable): bool {}
-function imagesavealpha(GdImage $im, bool $save): bool {}
+function imagesavealpha(GdImage $image, bool $enable): bool {}
-function imagelayereffect(GdImage $im, int $effect): bool {}
+function imagelayereffect(GdImage $image, int $effect): bool {}
-function imagecolorallocatealpha(GdImage $im, int $red, int $green, int $blue, int $alpha): int|false {}
+function imagecolorallocatealpha(GdImage $image, int $red, int $green, int $blue, int $alpha): int|false {}
-function imagecolorresolvealpha(GdImage $im, int $red, int $green, int $blue, int $alpha): int|false {}
+function imagecolorresolvealpha(GdImage $image, int $red, int $green, int $blue, int $alpha): int|false {}
-function imagecolorclosestalpha(GdImage $im, int $red, int $green, int $blue, int $alpha): int|false {}
+function imagecolorclosestalpha(GdImage $image, int $red, int $green, int $blue, int $alpha): int|false {}
-function imagecolorexactalpha(GdImage $im, int $red, int $green, int $blue, int $alpha): int|false {}
+function imagecolorexactalpha(GdImage $image, int $red, int $green, int $blue, int $alpha): int|false {}
-function imagecopyresampled(GdImage $dst_im, GdImage $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h): bool {}
+function 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): bool {}
#ifdef PHP_WIN32
-function imagegrabwindow(int $handle, int $client_area = 0): GdImage|false {}
+function imagegrabwindow(int $handle, bool $client_area = false): GdImage|false {}
function imagegrabscreen(): GdImage|false {}
#endif
-function imagerotate(GdImage $im, float $angle, int $bgdcolor, int $ignoretransparent = 0): GdImage|false {}
+// TODO: $ignore_transparent is ignored???
+function imagerotate(GdImage $image, float $angle, int $background_color, bool $ignore_transparent = false): GdImage|false {}
-function imagesettile(GdImage $im, GdImage $tile): bool {}
+function imagesettile(GdImage $image, GdImage $tile): bool {}
-function imagesetbrush(GdImage $im, GdImage $brush): bool {}
+function imagesetbrush(GdImage $image, GdImage $brush): bool {}
-function imagecreate(int $x_size, int $y_size): GdImage|false {}
+function imagecreate(int $width, int $height): GdImage|false {}
function imagetypes(): int {}
-function imagecreatefromstring(string $image): GdImage|false {}
+function imagecreatefromstring(string $data): GdImage|false {}
function imagecreatefromgif(string $filename): GdImage|false {}
function imagecreatefromgd2(string $filename): GdImage|false {}
-function imagecreatefromgd2part(string $filename, int $srcX, int $srcY, int $width, int $height): GdImage|false {}
+function imagecreatefromgd2part(string $filename, int $x, int $y, int $width, int $height): GdImage|false {}
#ifdef HAVE_GD_BMP
function imagecreatefrombmp(string $filename): GdImage|false {}
function imagecreatefromtga(string $filename): GdImage|false {}
#endif
-function imagexbm(GdImage $im, ?string $filename, ?int $foreground = null): bool {}
+function imagexbm(GdImage $image, ?string $filename, ?int $foreground_color = null): bool {}
-/** @param resource|string|null $to */
-function imagegif(GdImage $im, $to = null): bool {}
+/** @param resource|string|null $file */
+function imagegif(GdImage $image, $file = null): bool {}
#ifdef HAVE_GD_PNG
-/** @param resource|string|null $to */
-function imagepng(GdImage $im, $to = null, int $quality = -1, int $filters = -1): bool {}
+/** @param resource|string|null $file */
+function imagepng(GdImage $image, $file = null, int $quality = -1, int $filters = -1): bool {}
#endif
#ifdef HAVE_GD_WEBP
-/** @param resource|string|null $to */
-function imagewebp(GdImage $im, $to = null, int $quality = -1): bool {}
+/** @param resource|string|null $file */
+function imagewebp(GdImage $image, $file = null, int $quality = -1): bool {}
#endif
#ifdef HAVE_GD_JPG
-/** @param resource|string|null $to */
-function imagejpeg(GdImage $im, $to = null, int $quality = -1): bool {}
+/** @param resource|string|null $file */
+function imagejpeg(GdImage $image, $file = null, int $quality = -1): bool {}
#endif
-/** @param resource|string|null $to */
-function imagewbmp(GdImage $im, $to = null, ?int $foreground = null): bool {}
+/** @param resource|string|null $file */
+function imagewbmp(GdImage $image, $file = null, ?int $foreground_color = null): bool {}
-function imagegd(GdImage $im, string $to = UNKNOWN): bool {}
+function imagegd(GdImage $image, string $file = UNKNOWN): bool {}
-function imagegd2(GdImage $im, string $to = UNKNOWN, int $chunk_size = UNKNOWN, int $type = UNKNOWN): bool {}
+function imagegd2(GdImage $image, string $file = UNKNOWN, int $chunk_size = UNKNOWN, int $mode = UNKNOWN): bool {}
#ifdef HAVE_GD_BMP
-/** @param resource|string|null $to */
-function imagebmp(GdImage $im, $to = null, bool $compressed = true): bool {}
+/** @param resource|string|null $file */
+function imagebmp(GdImage $image, $file = null, bool $compressed = true): bool {}
#endif
-function imagedestroy(GdImage $im): bool {}
+function imagedestroy(GdImage $image): bool {}
-function imagecolorallocate(GdImage $im, int $red, int $green, int $blue): int|false {}
+function imagecolorallocate(GdImage $image, int $red, int $green, int $blue): int|false {}
function imagepalettecopy(GdImage $dst, GdImage $src): void {}
-function imagecolorat(GdImage $im, int $x, int $y): int|false {}
+function imagecolorat(GdImage $image, int $x, int $y): int|false {}
-function imagecolorclosest(GdImage $im, int $red, int $green, int $blue): int|false {}
+function imagecolorclosest(GdImage $image, int $red, int $green, int $blue): int|false {}
-function imagecolorclosesthwb(GdImage $im, int $red, int $green, int $blue): int|false {}
+function imagecolorclosesthwb(GdImage $image, int $red, int $green, int $blue): int|false {}
-function imagecolordeallocate(GdImage $im, int $index): bool {}
+function imagecolordeallocate(GdImage $image, int $color): bool {}
-function imagecolorresolve(GdImage $im, int $red, int $green, int $blue): int|false {}
+function imagecolorresolve(GdImage $image, int $red, int $green, int $blue): int|false {}
-function imagecolorexact(GdImage $im, int $red, int $green, int $blue): int|false {}
+function imagecolorexact(GdImage $image, int $red, int $green, int $blue): int|false {}
-function imagecolorset(GdImage $im, int $color, int $red, int $green, int $blue, int $alpha = 0): ?bool {}
+function imagecolorset(GdImage $image, int $color, int $red, int $green, int $blue, int $alpha = 0): ?bool {}
-function imagecolorsforindex(GdImage $im, int $index): array|false {}
+function imagecolorsforindex(GdImage $image, int $color): array|false {}
-function imagegammacorrect(GdImage $im, float $inputgamma, float $outputgamma): bool {}
+function imagegammacorrect(GdImage $image, float $input_gamma, float $output_gamma): bool {}
-function imagesetpixel(GdImage $im, int $x, int $y, int $col): bool {}
+function imagesetpixel(GdImage $image, int $x, int $y, int $color): bool {}
-function imageline(GdImage $im, int $x1, int $y1, int $x2, int $y2, int $col): bool {}
+function imageline(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color): bool {}
-function imagedashedline(GdImage $im, int $x1, int $y1, int $x2, int $y2, int $col): bool {}
+function imagedashedline(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color): bool {}
-function imagerectangle(GdImage $im, int $x1, int $y1, int $x2, int $y2, int $col): bool {}
+function imagerectangle(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color): bool {}
-function imagefilledrectangle(GdImage $im, int $x1, int $y1, int $x2, int $y2, int $col): bool {}
+function imagefilledrectangle(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color): bool {}
-function imagearc(GdImage $im, int $cx, int $cy, int $w, int $h, int $s, int $e, int $col): bool {}
+function imagearc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $start_angle, int $end_angle, int $color): bool {}
-function imageellipse(GdImage $im, int $cx, int $cy, int $w, int $h, int $color): bool {}
+function imageellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $color): bool {}
-function imagefilltoborder(GdImage $im, int $x, int $y, int $border, int $col): bool {}
+function imagefilltoborder(GdImage $image, int $x, int $y, int $border_color, int $color): bool {}
-function imagefill(GdImage $im, int $x, int $y, int $col): bool {}
+function imagefill(GdImage $image, int $x, int $y, int $color): bool {}
-function imagecolorstotal(GdImage $im): int {}
+function imagecolorstotal(GdImage $image): int {}
-function imagecolortransparent(GdImage $im, ?int $col = null): ?int {}
+function imagecolortransparent(GdImage $image, ?int $color = null): ?int {}
-function imageinterlace(GdImage $im, ?int $interlace = null): ?int {}
+function imageinterlace(GdImage $image, ?bool $enable = null): ?int {}
-function imagepolygon(GdImage $im, array $points, int $num_points_or_col, ?int $col = null): bool {}
+function imagepolygon(GdImage $image, array $points, int $num_points_or_color, ?int $color = null): bool {}
-function imageopenpolygon(GdImage $im, array $points, int $num_points_or_col, ?int $col = null): bool {}
+function imageopenpolygon(GdImage $image, array $points, int $num_points_or_color, ?int $color = null): bool {}
-function imagefilledpolygon(GdImage $im, array $points, int $num_points_or_col, ?int $col = null): bool {}
+function imagefilledpolygon(GdImage $image, array $points, int $num_points_or_color, ?int $color = null): bool {}
function imagefontwidth(int $font): int {}
function imagefontheight(int $font): int {}
-function imagechar(GdImage $im, int $font, int $x, int $y, string $c, int $col): bool {}
+function imagechar(GdImage $image, int $font, int $x, int $y, string $char, int $color): bool {}
-function imagecharup(GdImage $im, int $font, int $x, int $y, string $c, int $col): bool {}
+function imagecharup(GdImage $image, int $font, int $x, int $y, string $char, int $color): bool {}
-function imagestring(GdImage $im, int $font, int $x, int $y, string $str, int $col): bool {}
+function imagestring(GdImage $image, int $font, int $x, int $y, string $string, int $color): bool {}
-function imagestringup(GdImage $im, int $font, int $x, int $y, string $str, int $col): bool {}
+function imagestringup(GdImage $image, int $font, int $x, int $y, string $string, int $color): bool {}
-function imagecopy(GdImage $dst_im, GdImage $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h): bool {}
+function 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): bool {}
-function imagecopymerge(GdImage $dst_im, GdImage $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h, int $pct): bool {}
+function 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): bool {}
-function imagecopymergegray(GdImage $dst_im, GdImage $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_w, int $src_h, int $pct): bool {}
+function 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): bool {}
-function imagecopyresized(GdImage $dst_im, GdImage $src_im, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_w, int $dst_h, int $src_w, int $src_h): bool {}
+function 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): bool {}
-function imagesx(GdImage $im): int {}
+function imagesx(GdImage $image): int {}
-function imagesy(GdImage $im): int {}
+function imagesy(GdImage $image): int {}
-function imagesetclip(GdImage $im, int $x1, int $x2, int $y1, int $y2): bool {}
+function imagesetclip(GdImage $image, int $x1, int $x2, int $y1, int $y2): bool {}
-function imagegetclip(GdImage $im): array {}
+function imagegetclip(GdImage $image): array {}
#ifdef HAVE_GD_FREETYPE
-function imageftbbox(float $size, float $angle, string $font_file, string $text, array $extrainfo = []): array|false {}
+function imageftbbox(float $size, float $angle, string $font_filename, string $string, array $options = []): array|false {}
-function imagefttext(GdImage $im, float $size, float $angle, int $x, int $y, int $col, string $font_file, string $text, array $extrainfo = []): array|false {}
+function imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $text, array $options = []): array|false {}
/** @alias imageftbbox */
-function imagettfbbox(float $size, float $angle, string $font_file, string $text, array $extrainfo = []): array|false {}
+function imagettfbbox(float $size, float $angle, string $font_filename, string $string, array $options = []): array|false {}
/** @alias imagefttext */
-function imagettftext(GdImage $im, float $size, float $angle, int $x, int $y, int $col, string $font_file, string $text, array $extrainfo = []): array|false {}
+function imagettftext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $text, array $options = []): array|false {}
#endif
-/** @param array|int|float|bool $filter_args */
-function imagefilter(GdImage $im, int $filtertype, ...$filter_args): bool {}
+/** @param array|int|float|bool $args */
+function imagefilter(GdImage $image, int $filter, ...$args): bool {}
-function imageconvolution(GdImage $im, array $matrix3x3, float $div, float $offset): bool {}
+function imageconvolution(GdImage $image, array $matrix, float $divisor, float $offset): bool {}
-function imageflip(GdImage $im, int $mode): bool {}
+function imageflip(GdImage $image, int $mode): bool {}
-function imageantialias(GdImage $im, bool $on): bool {}
+function imageantialias(GdImage $image, bool $enable): bool {}
-function imagecrop(GdImage $im, array $rect): GdImage|false {}
+function imagecrop(GdImage $image, array $rectangle): GdImage|false {}
-function imagecropauto(GdImage $im, int $mode = IMG_CROP_DEFAULT, float $threshold = 0.5, int $color = -1): GdImage|false {}
+function imagecropauto(GdImage $image, int $mode = IMG_CROP_DEFAULT, float $threshold = 0.5, int $color = -1): GdImage|false {}
-function imagescale(GdImage $im, int $new_width, int $new_height = -1, int $mode = IMG_BILINEAR_FIXED): GdImage|false {}
+function imagescale(GdImage $image, int $width, int $height = -1, int $mode = IMG_BILINEAR_FIXED): GdImage|false {}
-function imageaffine(GdImage $im, array $affine, ?array $clip = null): GdImage|false {}
+function imageaffine(GdImage $image, array $affine, ?array $clip = null): GdImage|false {}
/** @param array|float $options */
function imageaffinematrixget(int $type, $options): array|false {}
-function imageaffinematrixconcat(array $m1, array $m2): array|false {}
+function imageaffinematrixconcat(array $matrix1, array $matrix2): array|false {}
-function imagegetinterpolation(GdImage $im): int {}
+function imagegetinterpolation(GdImage $image): int {}
-function imagesetinterpolation(GdImage $im, int $method = IMG_BILINEAR_FIXED): bool {}
+function imagesetinterpolation(GdImage $image, int $method = IMG_BILINEAR_FIXED): bool {}
+
+function imageresolution(GdImage $image, ?int $resolution_x = null, ?int $resolution_y = null): array|bool {}
-function imageresolution(GdImage $im, ?int $res_x = null, ?int $res_y = null): array|bool {}
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 20849891a4907e348f1a509388ab08b0b7f6633d */
+ * Stub hash: 59256d0de105f1a2f5d5fc1e20f8090031b42a76 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_gd_info, 0, 0, IS_ARRAY, 0)
ZEND_END_ARG_INFO()
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetstyle, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, styles, IS_ARRAY, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, style, IS_ARRAY, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagecreatetruecolor, 0, 2, GdImage, MAY_BE_FALSE)
- ZEND_ARG_TYPE_INFO(0, x_size, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, y_size, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageistruecolor, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagetruecolortopalette, 0, 3, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, ditherFlag, _IS_BOOL, 0)
- ZEND_ARG_TYPE_INFO(0, colorWanted, IS_LONG, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0)
+ ZEND_ARG_TYPE_INFO(0, num_colors, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagepalettetotruecolor arginfo_imageistruecolor
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecolormatch, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im1, GdImage, 0)
- ZEND_ARG_OBJ_INFO(0, im2, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image1, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image2, GdImage, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetthickness, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, thickness, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagefilledellipse, 0, 6, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, cx, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, cy, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, w, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, h, IS_LONG, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, center_x, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, center_y, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagefilledarc, 0, 9, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, cx, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, cy, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, w, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, h, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, s, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, e, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, center_x, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, center_y, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, start_angle, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, end_angle, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, style, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagealphablending, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, blend, _IS_BOOL, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, enable, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesavealpha, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, save, _IS_BOOL, 0)
-ZEND_END_ARG_INFO()
+#define arginfo_imagesavealpha arginfo_imagealphablending
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagelayereffect, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, effect, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagecolorallocatealpha, 0, 5, MAY_BE_LONG|MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, green, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, blue, IS_LONG, 0)
#define arginfo_imagecolorexactalpha arginfo_imagecolorallocatealpha
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecopyresampled, 0, 10, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, dst_im, GdImage, 0)
- ZEND_ARG_OBJ_INFO(0, src_im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, dst_image, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, src_image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, dst_x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, dst_y, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, src_x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, src_y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, dst_w, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, dst_h, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, src_w, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, src_h, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, dst_width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, dst_height, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, src_width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, src_height, IS_LONG, 0)
ZEND_END_ARG_INFO()
#if defined(PHP_WIN32)
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagegrabwindow, 0, 1, GdImage, MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, handle, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, client_area, IS_LONG, 0, "0")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, client_area, _IS_BOOL, 0, "false")
ZEND_END_ARG_INFO()
#endif
#endif
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagerotate, 0, 3, GdImage, MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
- ZEND_ARG_TYPE_INFO(0, bgdcolor, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, ignoretransparent, IS_LONG, 0, "0")
+ ZEND_ARG_TYPE_INFO(0, background_color, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, ignore_transparent, _IS_BOOL, 0, "false")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesettile, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_OBJ_INFO(0, tile, GdImage, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetbrush, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_OBJ_INFO(0, brush, GdImage, 0)
ZEND_END_ARG_INFO()
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagecreatefromstring, 0, 1, GdImage, MAY_BE_FALSE)
- ZEND_ARG_TYPE_INFO(0, image, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, data, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagecreatefromgif, 0, 1, GdImage, MAY_BE_FALSE)
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagecreatefromgd2part, 0, 5, GdImage, MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, srcX, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, srcY, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0)
ZEND_END_ARG_INFO()
#endif
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagexbm, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 1)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, foreground, IS_LONG, 1, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, foreground_color, IS_LONG, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagegif, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, to, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, file, "null")
ZEND_END_ARG_INFO()
#if defined(HAVE_GD_PNG)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagepng, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, to, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, file, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filters, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()
#if defined(HAVE_GD_WEBP)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagewebp, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, to, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, file, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()
#endif
#if defined(HAVE_GD_JPG)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagejpeg, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, to, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, file, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()
#endif
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagewbmp, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, to, "null")
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, foreground, IS_LONG, 1, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, file, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, foreground_color, IS_LONG, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagegd, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, file, IS_STRING, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagegd2, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, to, IS_STRING, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, file, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, chunk_size, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, mode, IS_LONG, 0)
ZEND_END_ARG_INFO()
#if defined(HAVE_GD_BMP)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagebmp, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, to, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, file, "null")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, compressed, _IS_BOOL, 0, "true")
ZEND_END_ARG_INFO()
#endif
#define arginfo_imagedestroy arginfo_imageistruecolor
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagecolorallocate, 0, 4, MAY_BE_LONG|MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, green, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, blue, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagecolorat, 0, 3, MAY_BE_LONG|MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagecolorclosesthwb arginfo_imagecolorallocate
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecolordeallocate, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagecolorresolve arginfo_imagecolorallocate
#define arginfo_imagecolorexact arginfo_imagecolorallocate
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecolorset, 0, 5, _IS_BOOL, 1)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, green, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagecolorsforindex, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagegammacorrect, 0, 3, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, inputgamma, IS_DOUBLE, 0)
- ZEND_ARG_TYPE_INFO(0, outputgamma, IS_DOUBLE, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, input_gamma, IS_DOUBLE, 0)
+ ZEND_ARG_TYPE_INFO(0, output_gamma, IS_DOUBLE, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetpixel, 0, 4, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageline, 0, 6, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, x1, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y1, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, x2, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y2, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagedashedline arginfo_imageline
#define arginfo_imagefilledrectangle arginfo_imageline
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagearc, 0, 8, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, cx, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, cy, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, w, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, h, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, s, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, e, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, center_x, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, center_y, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, start_angle, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, end_angle, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imageellipse arginfo_imagefilledellipse
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagefilltoborder, 0, 5, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, border, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, border_color, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagefill arginfo_imagesetpixel
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecolorstotal, 0, 1, IS_LONG, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecolortransparent, 0, 1, IS_LONG, 1)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, col, IS_LONG, 1, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, color, IS_LONG, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageinterlace, 0, 1, IS_LONG, 1)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, interlace, IS_LONG, 1, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, enable, _IS_BOOL, 1, "null")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagepolygon, 0, 3, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, points, IS_ARRAY, 0)
- ZEND_ARG_TYPE_INFO(0, num_points_or_col, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, col, IS_LONG, 1, "null")
+ ZEND_ARG_TYPE_INFO(0, num_points_or_color, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, color, IS_LONG, 1, "null")
ZEND_END_ARG_INFO()
#define arginfo_imageopenpolygon arginfo_imagepolygon
#define arginfo_imagefontheight arginfo_imagefontwidth
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagechar, 0, 6, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, font, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, c, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, char, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagecharup arginfo_imagechar
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagestring, 0, 6, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, font, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagestringup arginfo_imagestring
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecopy, 0, 8, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, dst_im, GdImage, 0)
- ZEND_ARG_OBJ_INFO(0, src_im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, dst_image, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, src_image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, dst_x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, dst_y, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, src_x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, src_y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, src_w, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, src_h, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, src_width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, src_height, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagecopymerge, 0, 9, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, dst_im, GdImage, 0)
- ZEND_ARG_OBJ_INFO(0, src_im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, dst_image, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, src_image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, dst_x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, dst_y, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, src_x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, src_y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, src_w, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, src_h, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, src_width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, src_height, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, pct, IS_LONG, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagesy arginfo_imagecolorstotal
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetclip, 0, 5, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, x1, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, x2, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y1, IS_LONG, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagegetclip, 0, 1, IS_ARRAY, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_END_ARG_INFO()
#if defined(HAVE_GD_FREETYPE)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imageftbbox, 0, 4, MAY_BE_ARRAY|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(0, size, IS_DOUBLE, 0)
ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
- ZEND_ARG_TYPE_INFO(0, font_file, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extrainfo, IS_ARRAY, 0, "[]")
+ ZEND_ARG_TYPE_INFO(0, font_filename, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()
#endif
#if defined(HAVE_GD_FREETYPE)
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imagefttext, 0, 8, MAY_BE_ARRAY|MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, size, IS_DOUBLE, 0)
ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, col, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO(0, font_file, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, color, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO(0, font_filename, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, extrainfo, IS_ARRAY, 0, "[]")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
ZEND_END_ARG_INFO()
#endif
#endif
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagefilter, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, filtertype, IS_LONG, 0)
- ZEND_ARG_VARIADIC_INFO(0, filter_args)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, filter, IS_LONG, 0)
+ ZEND_ARG_VARIADIC_INFO(0, args)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageconvolution, 0, 4, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, matrix3x3, IS_ARRAY, 0)
- ZEND_ARG_TYPE_INFO(0, div, IS_DOUBLE, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, matrix, IS_ARRAY, 0)
+ ZEND_ARG_TYPE_INFO(0, divisor, IS_DOUBLE, 0)
ZEND_ARG_TYPE_INFO(0, offset, IS_DOUBLE, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageflip, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, mode, IS_LONG, 0)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imageantialias, 0, 2, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, on, _IS_BOOL, 0)
-ZEND_END_ARG_INFO()
+#define arginfo_imageantialias arginfo_imagealphablending
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagecrop, 0, 2, GdImage, MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, rect, IS_ARRAY, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, rectangle, IS_ARRAY, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagecropauto, 0, 1, GdImage, MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "IMG_CROP_DEFAULT")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, threshold, IS_DOUBLE, 0, "0.5")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, color, IS_LONG, 0, "-1")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imagescale, 0, 2, GdImage, MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO(0, new_width, IS_LONG, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, new_height, IS_LONG, 0, "-1")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, height, IS_LONG, 0, "-1")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "IMG_BILINEAR_FIXED")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_imageaffine, 0, 2, GdImage, MAY_BE_FALSE)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO(0, affine, IS_ARRAY, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, clip, IS_ARRAY, 1, "null")
ZEND_END_ARG_INFO()
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imageaffinematrixconcat, 0, 2, MAY_BE_ARRAY|MAY_BE_FALSE)
- ZEND_ARG_TYPE_INFO(0, m1, IS_ARRAY, 0)
- ZEND_ARG_TYPE_INFO(0, m2, IS_ARRAY, 0)
+ ZEND_ARG_TYPE_INFO(0, matrix1, IS_ARRAY, 0)
+ ZEND_ARG_TYPE_INFO(0, matrix2, IS_ARRAY, 0)
ZEND_END_ARG_INFO()
#define arginfo_imagegetinterpolation arginfo_imagecolorstotal
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_imagesetinterpolation, 0, 1, _IS_BOOL, 0)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, method, IS_LONG, 0, "IMG_BILINEAR_FIXED")
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_imageresolution, 0, 1, MAY_BE_ARRAY|MAY_BE_BOOL)
- ZEND_ARG_OBJ_INFO(0, im, GdImage, 0)
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, res_x, IS_LONG, 1, "null")
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, res_y, IS_LONG, 1, "null")
+ ZEND_ARG_OBJ_INFO(0, image, GdImage, 0)
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, resolution_x, IS_LONG, 1, "null")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, resolution_y, IS_LONG, 1, "null")
ZEND_END_ARG_INFO()