From 055ffb2525b2757e996b0f358a043b47e7ed3071 Mon Sep 17 00:00:00 2001 From: Danack Date: Thu, 8 Feb 2024 21:59:48 +0000 Subject: [PATCH] Add @generate-legacy-arginfo to get legacy arginfo. --- Imagick.stub.php | 5 +- ImagickDraw.stub.php | 5 +- ImagickKernel.stub.php | 5 +- ImagickPixel.stub.php | 5 +- ImagickPixelIterator.stub.php | 5 +- ImagickPixelIterator_arginfo.h | 4 + Imagick_arginfo.h | 4759 +++++++++++++++++++++++++++++--- 7 files changed, 4350 insertions(+), 438 deletions(-) diff --git a/Imagick.stub.php b/Imagick.stub.php index 0b396b10..a105e36a 100644 --- a/Imagick.stub.php +++ b/Imagick.stub.php @@ -1,6 +1,9 @@ 0x628 diff --git a/ImagickKernel.stub.php b/ImagickKernel.stub.php index 7dd33ff8..9ab6d328 100644 --- a/ImagickKernel.stub.php +++ b/ImagickKernel.stub.php @@ -1,6 +1,9 @@ = 80100) ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_ImagickPixelIterator_next, 0, 0, IS_VOID, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ImagickPixelIterator_next, 0, 0, 0) +#endif ZEND_END_ARG_INFO() #define arginfo_class_ImagickPixelIterator_rewind arginfo_class_ImagickPixelIterator_next diff --git a/Imagick_arginfo.h b/Imagick_arginfo.h index d8374b2e..9819a3ae 100644 --- a/Imagick_arginfo.h +++ b/Imagick_arginfo.h @@ -1,360 +1,1170 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: c56568e4af9dc9d050b6f2d1a4f36429608a13ec */ +* Stub hash: regen with 'sh regen_arginfo.sh' +* file has been fixedup for different versions */ + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_optimizeImageLayers, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_optimizeImageLayers, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_compareImageLayers, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_compareImageLayers, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, metric) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_pingImageBlob, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, image, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_pingImageBlob, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, image, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, image) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_pingImageFile, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, filehandle, IS_MIXED, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_pingImageFile, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, filehandle, IS_MIXED, 0) +#else + ZEND_ARG_INFO(0, filehandle) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null") +#else + ZEND_ARG_INFO(0, filename) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_transposeImage arginfo_class_Imagick_optimizeImageLayers #define arginfo_class_Imagick_transverseImage arginfo_class_Imagick_optimizeImageLayers + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_trimImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_trimImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_waveImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, amplitude, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, length, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_waveImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, amplitude, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, amplitude) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, length, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, length) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_waveImageWithMethod, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, amplitude, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, length, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, interpolate_method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_waveImageWithMethod, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, amplitude, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, amplitude) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, length, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, length) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, interpolate_method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, interpolate_method) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_vignetteImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_vignetteImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, black_point) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, white_point) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_uniqueImageColors arginfo_class_Imagick_optimizeImageLayers #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageMatte, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageMatte, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageMatte, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, matte, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageMatte, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, matte, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, matte) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_adaptiveResizeImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bestfit, _IS_BOOL, 0, "false") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_adaptiveResizeImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bestfit, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, bestfit) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, legacy) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_sketchImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_sketchImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, angle) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_shadeImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, gray, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, azimuth, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, elevation, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_shadeImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gray, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, gray) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, azimuth, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, azimuth) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, elevation, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, elevation) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getSizeOffset, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getSizeOffset, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setSizeOffset, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setSizeOffset, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, offset) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_adaptiveBlurImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_adaptiveBlurImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_contrastStretchImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_contrastStretchImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, black_point) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, white_point) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #define arginfo_class_Imagick_adaptiveSharpenImage arginfo_class_Imagick_adaptiveBlurImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_randomThresholdImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, low, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, high, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_randomThresholdImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, low, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, low) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, high, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, high) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_roundCornersImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, x_rounding, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, y_rounding, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, stroke_width, IS_DOUBLE, 0, "10") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, displace, IS_DOUBLE, 0, "5") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_roundCornersImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x_rounding, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, x_rounding) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y_rounding, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, y_rounding) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, stroke_width, IS_DOUBLE, 0, "10") +#else + ZEND_ARG_INFO(0, stroke_width) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, displace, IS_DOUBLE, 0, "5") +#else + ZEND_ARG_INFO(0, displace) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, size_correction, IS_DOUBLE, 0, "-6") ZEND_END_ARG_INFO() #define arginfo_class_Imagick_roundCorners arginfo_class_Imagick_roundCornersImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setIteratorIndex, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setIteratorIndex, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, index) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getIteratorIndex arginfo_class_Imagick_getSizeOffset #if MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_transformImage, 0, 2, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, crop, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, geometry, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_transformImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, crop, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, crop) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, geometry, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, geometry) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x630 && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageOpacity, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageOpacity, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, opacity) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageAlpha, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageAlpha, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, alpha) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_orderedPosterizeImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, threshold_map, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_orderedPosterizeImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold_map, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, threshold_map) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_polaroidWithTextAndMethod, 0, 4, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_polaroidWithTextAndMethod, 0, 0, 4) +#endif + ZEND_ARG_OBJ_INFO(0, settings, ImagickDraw, 0) - ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, caption, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, angle) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, caption, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, caption) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, method) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_polaroidImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_polaroidImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, settings, ImagickDraw, 0) - ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, angle) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageProperty, 0, 1, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageProperty, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, name) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageProperty, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageProperty, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, name) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, value) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_deleteImageProperty, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_deleteImageProperty, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, name) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_identifyFormat, 0, 1, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_identifyFormat, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, format) +#endif ZEND_END_ARG_INFO() #if IM_HAVE_IMAGICK_SETIMAGEINTERPOLATEMETHOD + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageInterpolateMethod, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageInterpolateMethod, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, method) +#endif ZEND_END_ARG_INFO() #endif #define arginfo_class_Imagick_getImageInterpolateMethod arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_linearStretchImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_linearStretchImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, black_point) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, white_point) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageLength arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_extentImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_extentImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion > 0x633 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageOrientation, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageOrientation, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x633 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageOrientation, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, orientation, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageOrientation, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, orientation, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, orientation) +#endif ZEND_END_ARG_INFO() #endif #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion > 0x634 && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_paintFloodfillImage, 0, 5, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_paintFloodfillImage, 0, 0, 5) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, fill_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif ZEND_ARG_OBJ_TYPE_MASK(0, border_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_clutImage, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_clutImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, lookup_table, Imagick, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_clutImageWithInterpolate, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_clutImageWithInterpolate, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, lookup_table, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, pixel_interpolate_method, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pixel_interpolate_method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, pixel_interpolate_method) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageProperties, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageProperties, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 0, "\"*\"") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, include_values, _IS_BOOL, 0, "true") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, include_values, _IS_BOOL, 0, "true") +#else + ZEND_ARG_INFO(0, include_values) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageProfiles arginfo_class_Imagick_getImageProperties + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_distortImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, distortion, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, arguments, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO(0, bestfit, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_distortImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, distortion, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, distortion) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, arguments, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, arguments) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, bestfit, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, bestfit) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_writeImageFile, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, filehandle, IS_MIXED, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_STRING, 1, "null") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_writeImageFile, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, filehandle, IS_MIXED, 0) +#else + ZEND_ARG_INFO(0, filehandle) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_STRING, 1, "null") +#else + ZEND_ARG_INFO(0, format) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_writeImagesFile arginfo_class_Imagick_writeImageFile + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_resetImagePage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, page, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_resetImagePage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, page, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, page) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageClipMask, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageClipMask, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, clip_mask, imagick, 0) ZEND_END_ARG_INFO() #endif #if MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getImageClipMask, 0, 0, Imagick, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageClipMask, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_animateImages, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, x_server, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_animateImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x_server, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, x_server) +#endif ZEND_END_ARG_INFO() #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_recolorImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, matrix, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_recolorImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, matrix, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, matrix) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x636 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setFont, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, font, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setFont, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, font, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, font) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x636 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getFont, 0, 0, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getFont, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x636 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setPointSize, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, point_size, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setPointSize, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, point_size, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, point_size) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x636 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getPointSize, 0, 0, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getPointSize, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x636 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_mergeImageLayers, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, layermethod, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_mergeImageLayers, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, layermethod, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, layermethod) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x637 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageAlphaChannel, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, alphachannel, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageAlphaChannel, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, alphachannel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, alphachannel) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x637 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_floodfillPaintImage, 0, 6, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_floodfillPaintImage, 0, 0, 6) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, fill_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif ZEND_ARG_OBJ_TYPE_MASK(0, border_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, invert) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 1, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x637 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_opaquePaintImage, 0, 4, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_opaquePaintImage, 0, 0, 4) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, target_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_ARG_OBJ_TYPE_MASK(0, fill_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, invert) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x637 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_transparentPaintImage, 0, 4, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_transparentPaintImage, 0, 0, 4) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, target_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, alpha) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, invert) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x638 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_liquidRescaleImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, delta_x, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, rigidity, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_liquidRescaleImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, delta_x, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, delta_x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rigidity, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, rigidity) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x638 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_encipherImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, passphrase, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_encipherImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, passphrase, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, passphrase) +#endif ZEND_END_ARG_INFO() #endif @@ -363,259 +1173,808 @@ ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x639 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setGravity, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, gravity, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setGravity, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gravity, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, gravity) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x639 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getGravity, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getGravity, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x639 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageChannelRange, 0, 1, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageChannelRange, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x639 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageAlphaChannel, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageAlphaChannel, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x642 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageChannelDistortions, 0, 2, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageChannelDistortions, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, reference_image, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, metric) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x643 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageGravity, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, gravity, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageGravity, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gravity, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, gravity) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x643 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageGravity, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageGravity, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x645 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_importImagePixels, 0, 7, _IS_BOOL, 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_ARG_TYPE_INFO(0, map, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, pixelstorage, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, pixels, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_importImagePixels, 0, 0, 7) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, map, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, map) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pixelstorage, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, pixelstorage) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pixels, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, pixels) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x645 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_deskewImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_deskewImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x645 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_segmentImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, cluster_threshold, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, smooth_threshold, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, verbose, _IS_BOOL, 0, "false") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_segmentImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, colorspace) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, cluster_threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, cluster_threshold) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, smooth_threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, smooth_threshold) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, verbose, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, verbose) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x645 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_sparseColorImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, sparsecolormethod, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, arguments, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_sparseColorImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sparsecolormethod, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, sparsecolormethod) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, arguments, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, arguments) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x645 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_remapImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_remapImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, replacement, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, dither_method, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, dither_method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, dither_method) +#endif ZEND_END_ARG_INFO() #endif #if PHP_IMAGICK_HAVE_HOUGHLINE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_houghLineImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_houghLineImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x646 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_exportImagePixels, 0, 6, IS_ARRAY, 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_ARG_TYPE_INFO(0, map, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, pixelstorage, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_exportImagePixels, 0, 0, 6) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, map, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, map) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pixelstorage, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, pixelstorage) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x648 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageChannelKurtosis, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageChannelKurtosis, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x648 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_functionImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, function, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, parameters, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_functionImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, function, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, function) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, parameters, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, parameters) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x651 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_transformImageColorspace, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_transformImageColorspace, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, colorspace) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x652 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_haldClutImage, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_haldClutImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, clut, Imagick, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x655 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_autoLevelImage, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_autoLevelImage, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x655 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_blueShiftImage, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_blueShiftImage, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, factor, IS_DOUBLE, 0, "1.5") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x656 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageArtifact, 0, 1, IS_STRING, 1) - ZEND_ARG_TYPE_INFO(0, artifact, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageArtifact, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, artifact, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, artifact) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x656 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageArtifact, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, artifact, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 1) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageArtifact, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, artifact, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, artifact) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 1) +#else + ZEND_ARG_INFO(0, value) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x656 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_deleteImageArtifact, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, artifact, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_deleteImageArtifact, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, artifact, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, artifact) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x656 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getColorspace, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getColorspace, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x656 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setColorspace, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setColorspace, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, colorspace) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x656 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_clampImage, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_clampImage, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x667 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_smushImages, 0, 2, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, stack, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_smushImages, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, stack, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, stack) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, offset) +#endif ZEND_END_ARG_INFO() #endif ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick___construct, 0, 0, 0) - ZEND_ARG_TYPE_MASK(0, files, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_NULL, "null") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_MASK(0, files, MAY_BE_STRING|MAY_BE_ARRAY|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_NULL, "null") +#else + ZEND_ARG_INFO(0, files) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick___toString, 0, 0, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick___toString, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #if PHP_VERSION_ID >= 50600 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_count, 0, 0, IS_LONG, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_count, 0, 0, 0) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "0") +#else + ZEND_ARG_INFO(0, mode) +#endif + ZEND_END_ARG_INFO() #endif #if !(PHP_VERSION_ID >= 50600) + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_count, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_count, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getPixelIterator, 0, 0, ImagickPixelIterator, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getPixelIterator, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getPixelRegionIterator, 0, 4, ImagickPixelIterator, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getPixelRegionIterator, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_readImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_readImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, filename) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_readImages, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, filenames, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_readImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, filenames, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, filenames) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_readImageBlob, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, image, IS_STRING, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_readImageBlob, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, image, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, image) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null") +#else + ZEND_ARG_INFO(0, filename) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageFormat, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageFormat, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, format, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, format) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_scaleImage arginfo_class_Imagick_adaptiveResizeImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_writeImage, 0, 0, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_writeImage, 0, 0, 0) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 1, "null") +#else + ZEND_ARG_INFO(0, filename) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_writeImages, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, adjoin, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_writeImages, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, filename) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, adjoin, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, adjoin) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_blurImage arginfo_class_Imagick_adaptiveBlurImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_thumbnailImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 1) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 1) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bestfit, _IS_BOOL, 0, "false") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fill, _IS_BOOL, 0, "false") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_thumbnailImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 1) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 1) +#else + ZEND_ARG_INFO(0, rows) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bestfit, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, bestfit) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, fill, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, fill) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, legacy) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_cropThumbnailImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_cropThumbnailImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, legacy) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageFilename arginfo_class_Imagick___toString @@ -632,7 +1991,13 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_clear arginfo_class_Imagick_optimizeImageLayers + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_clone, 0, 0, Imagick, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_clone, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageSize arginfo_class_Imagick_getSizeOffset @@ -645,7 +2010,13 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setLastIterator arginfo_class_Imagick_optimizeImageLayers + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_resetIterator, 0, 0, IS_VOID, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_resetIterator, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_previousImage arginfo_class_Imagick_optimizeImageLayers @@ -660,213 +2031,769 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageIndex arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_commentImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, comment, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_commentImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, comment, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, comment) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_cropImage arginfo_class_Imagick_extentImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_labelImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, label, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_labelImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, label, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, label) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageGeometry, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageGeometry, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_drawImage, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_drawImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, drawing, ImagickDraw, 0) ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageCompressionQuality, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, quality, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageCompressionQuality, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, quality, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, quality) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageCompressionQuality arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageCompression, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, compression, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageCompression, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, compression, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, compression) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageCompression arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_annotateImage, 0, 5, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_annotateImage, 0, 0, 5) +#endif + ZEND_ARG_OBJ_INFO(0, settings, ImagickDraw, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, y) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, angle) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, text) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_compositeImage, 0, 4, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_compositeImage, 0, 0, 4) +#endif + ZEND_ARG_OBJ_INFO(0, composite_image, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, composite, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, composite, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, composite) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() -ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_modulateImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, brightness, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, saturation, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, hue, IS_DOUBLE, 0) -ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_modulateImage, 0, 3, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_modulateImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, brightness, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, brightness) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, saturation, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, saturation) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, hue, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, hue) +#endif +ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageColors arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_montageImage, 0, 5, Imagick, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_montageImage, 0, 0, 5) +#endif + ZEND_ARG_OBJ_INFO(0, settings, ImagickDraw, 0) - ZEND_ARG_TYPE_INFO(0, tile_geometry, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, thumbnail_geometry, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, monatgemode, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, frame, IS_STRING, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, tile_geometry, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, tile_geometry) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, thumbnail_geometry, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, thumbnail_geometry) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, monatgemode, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, monatgemode) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, frame, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, frame) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_identifyImage, 0, 0, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, append_raw_output, _IS_BOOL, 0, "false") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_identifyImage, 0, 0, 0) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, append_raw_output, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, append_raw_output) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_thresholdImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_thresholdImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_adaptiveThresholdImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_adaptiveThresholdImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, offset) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_blackThresholdImage, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_blackThresholdImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, threshold_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_END_ARG_INFO() #define arginfo_class_Imagick_whiteThresholdImage arginfo_class_Imagick_blackThresholdImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_appendImages, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, stack, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_appendImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, stack, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, stack) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_charcoalImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_charcoalImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_normalizeImage, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_normalizeImage, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_oilPaintImageWithSigma, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_oilPaintImageWithSigma, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_oilPaintImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_oilPaintImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_posterizeImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, levels, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_posterizeImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, levels, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, levels) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, dither) +#endif ZEND_END_ARG_INFO() #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_radialBlurImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_radialBlurImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, angle) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_raiseImage, 0, 5, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, 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, raise, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_raiseImage, 0, 0, 5) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, raise, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, raise) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_resampleImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, x_resolution, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, y_resolution, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, filter, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, blur, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_resampleImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x_resolution, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, x_resolution) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y_resolution, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, y_resolution) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, filter, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, filter) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, blur, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, blur) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_resizeImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, filter, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, blur, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bestfit, _IS_BOOL, 0, "false") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_resizeImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, filter, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, filter) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, blur, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, blur) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bestfit, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, bestfit) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, legacy) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_rollImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_rollImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_rotateImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_rotateImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, background_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, degrees, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, degrees, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, degrees) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_sampleImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_sampleImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_solarizeImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_solarizeImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_shadowImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_shadowImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, opacity) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageAttribute, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageAttribute, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, key) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, value) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageBackgroundColor, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageBackgroundColor, 0, 0, 1) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, background_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageChannelMask, 0, 1, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageChannelMask, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageCompose, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, compose, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageCompose, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, compose, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, compose) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageDelay, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, delay, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageDelay, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, delay, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, delay) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageDepth, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, depth, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageDepth, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, depth, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, depth) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageGamma, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageGamma, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, gamma) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageIterations, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, iterations, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageIterations, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, iterations, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, iterations) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion < 0x700 || MagickLibVersion >= 0x705 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageMatteColor, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageMatteColor, 0, 0, 1) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, matte_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_END_ARG_INFO() #endif @@ -876,40 +2803,127 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setImageProgressMonitor arginfo_class_Imagick_readImage #if MagickLibVersion > 0x653 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setProgressMonitor, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setProgressMonitor, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0) +#else + ZEND_ARG_INFO(0, callback) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageResolution, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, x_resolution, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, y_resolution, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageResolution, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x_resolution, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, x_resolution) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y_resolution, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, y_resolution) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageScene, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, scene, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageScene, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, scene, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, scene) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageTicksPerSecond, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, ticks_per_second, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageTicksPerSecond, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, ticks_per_second, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, ticks_per_second) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageType, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, image_type, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageType, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, image_type, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, image_type) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageUnits, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, units, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageUnits, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, units, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, units) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_sharpenImage arginfo_class_Imagick_adaptiveBlurImage #define arginfo_class_Imagick_shaveImage arginfo_class_Imagick_sampleImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_shearImage, 0, 3, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_shearImage, 0, 0, 3) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, background_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, x_shear, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, y_shear, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x_shear, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, x_shear) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y_shear, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, y_shear) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_spliceImage arginfo_class_Imagick_extentImage @@ -918,8 +2932,19 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_readImageFile arginfo_class_Imagick_pingImageFile + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_displayImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, servername, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_displayImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, servername, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, servername) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_displayImages arginfo_class_Imagick_displayImage @@ -927,160 +2952,513 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_spreadImage arginfo_class_Imagick_oilPaintImage #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_spreadImageWithMethod, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, interpolate_method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_spreadImageWithMethod, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, interpolate_method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, interpolate_method) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_swirlImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, degrees, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_swirlImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, degrees, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, degrees) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_swirlImageWithMethod, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, degrees, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, interpolate_method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_swirlImageWithMethod, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, degrees, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, degrees) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, interpolate_method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, interpolate_method) +#endif ZEND_END_ARG_INFO() #endif #define arginfo_class_Imagick_stripImage arginfo_class_Imagick_optimizeImageLayers + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_queryFormats, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_queryFormats, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 0, "\"*\"") ZEND_END_ARG_INFO() #define arginfo_class_Imagick_queryFonts arginfo_class_Imagick_queryFormats + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_queryFontMetrics, 0, 2, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_queryFontMetrics, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, settings, ImagickDraw, 0) - ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, multiline, _IS_BOOL, 1, "null") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, text, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, text) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, multiline, _IS_BOOL, 1, "null") +#else + ZEND_ARG_INFO(0, multiline) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_steganoImage, 0, 2, Imagick, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_steganoImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, watermark, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, offset) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_addNoiseImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, noise, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_addNoiseImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, noise, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, noise) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #if IM_HAVE_IMAGICK_ADD_NOISE_WITH_ATTENUATE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_addNoiseImageWithAttenuate, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, noise, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, attenuate, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_addNoiseImageWithAttenuate, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, noise, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, noise) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, attenuate, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, attenuate) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_motionBlurImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_motionBlurImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, angle) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #if MagickLibVersion < 0x700 && !defined(MAGICKCORE_EXCLUDE_DEPRECATED) + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_mosaicImages, 0, 0, Imagick, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_mosaicImages, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_morphImages, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, number_frames, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_morphImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, number_frames, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, number_frames) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_minifyImage arginfo_class_Imagick_optimizeImageLayers + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_affineTransformImage, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_affineTransformImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, settings, ImagickDraw, 0) ZEND_END_ARG_INFO() #define arginfo_class_Imagick_averageImages arginfo_class_Imagick_clone + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_borderImage, 0, 3, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_borderImage, 0, 0, 3) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, border_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_borderImageWithComposite, 0, 4, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_borderImageWithComposite, 0, 0, 4) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, border_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, composite, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, composite, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, composite) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_calculateCrop, 0, 4, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO(0, original_width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, original_height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, desired_width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, desired_height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_calculateCrop, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, original_width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, original_width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, original_height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, original_height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, desired_width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, desired_width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, desired_height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, desired_height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, legacy) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_chopImage arginfo_class_Imagick_extentImage #define arginfo_class_Imagick_clipImage arginfo_class_Imagick_optimizeImageLayers + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_clipPathImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, pathname, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, inside, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_clipPathImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pathname, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, pathname) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, inside, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, inside) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_clipImagePath, 0, 2, IS_VOID, 0) - ZEND_ARG_TYPE_INFO(0, pathname, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, inside, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_clipImagePath, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pathname, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, pathname) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, inside, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, inside) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_coalesceImages arginfo_class_Imagick_clone #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_colorFloodfillImage, 0, 5, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_colorFloodfillImage, 0, 0, 5) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, fill_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif ZEND_ARG_OBJ_TYPE_MASK(0, border_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_colorizeImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_colorizeImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, colorize_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_ARG_OBJ_TYPE_MASK(0, opacity_color, ImagickPixel, MAY_BE_STRING|MAY_BE_FALSE, NULL) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 1, "false") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 1, "false") +#else + ZEND_ARG_INFO(0, legacy) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_compareImageChannels, 0, 3, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_compareImageChannels, 0, 0, 3) +#endif + ZEND_ARG_OBJ_INFO(0, reference, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, metric) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_compareImages, 0, 2, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_compareImages, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, reference, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, metric) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_contrastImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, sharpen, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_contrastImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sharpen, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, sharpen) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_combineImages, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_combineImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, colorspace) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_convolveImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, kernel, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_convolveImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, kernel, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, kernel) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_cycleColormapImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, displace, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_cycleColormapImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, displace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, displace) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_deconstructImages arginfo_class_Imagick_clone @@ -1095,15 +3473,42 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_equalizeImage arginfo_class_Imagick_optimizeImageLayers + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_evaluateImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, evaluate, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, constant, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_evaluateImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, evaluate, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, evaluate) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, constant, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, constant) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x687 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_evaluateImages, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, evaluate, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_evaluateImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, evaluate, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, evaluate) +#endif ZEND_END_ARG_INFO() #endif @@ -1114,79 +3519,246 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_flopImage arginfo_class_Imagick_optimizeImageLayers #if MagickLibVersion >= 0x655 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_forwardFourierTransformImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, magnitude, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_forwardFourierTransformImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, magnitude, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, magnitude) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_frameImage, 0, 5, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_frameImage, 0, 0, 5) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, matte_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, inner_bevel, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, outer_bevel, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, inner_bevel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, inner_bevel) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, outer_bevel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, outer_bevel) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_frameImageWithComposite, 0, 6, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_frameImageWithComposite, 0, 0, 6) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, matte_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, inner_bevel, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, outer_bevel, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, composite, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, inner_bevel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, inner_bevel) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, outer_bevel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, outer_bevel) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, composite, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, composite) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_fxImage, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_fxImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, expression) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_gammaImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_gammaImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, gamma) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #define arginfo_class_Imagick_gaussianBlurImage arginfo_class_Imagick_adaptiveBlurImage #if MagickLibVersion < 0x700 && !defined(MAGICKCORE_EXCLUDE_DEPRECATED) + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageAttribute, 0, 1, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageAttribute, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, key) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getImageBackgroundColor, 0, 0, ImagickPixel, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageBackgroundColor, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageBluePrimary arginfo_class_Imagick_getImageGeometry #define arginfo_class_Imagick_getImageBorderColor arginfo_class_Imagick_getImageBackgroundColor + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageChannelDepth, 0, 1, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageChannelDepth, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageChannelDistortion, 0, 3, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageChannelDistortion, 0, 0, 3) +#endif + ZEND_ARG_OBJ_INFO(0, reference, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, metric) +#endif ZEND_END_ARG_INFO() #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageChannelExtrema, 0, 1, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageChannelExtrema, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageChannelMean, 0, 1, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageChannelMean, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageChannelStatistics arginfo_class_Imagick_getImageGeometry + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getImageColormapColor, 0, 1, ImagickPixel, 0) - ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageColormapColor, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, index) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageColorspace arginfo_class_Imagick_getSizeOffset @@ -1197,19 +3769,42 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageDepth arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageDistortion, 0, 2, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageDistortion, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, reference, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, metric, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, metric) +#endif ZEND_END_ARG_INFO() #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageExtrema, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageExtrema, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #define arginfo_class_Imagick_getImageDispose arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageGamma, 0, 0, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageGamma, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageGreenPrimary arginfo_class_Imagick_getImageGeometry @@ -1223,21 +3818,59 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageIterations arginfo_class_Imagick_getSizeOffset #if MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getImageMatteColor, 0, 0, ImagickPixel, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageMatteColor, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #define arginfo_class_Imagick_getImagePage arginfo_class_Imagick_getImageGeometry + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getImagePixelColor, 0, 2, ImagickPixel, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImagePixelColor, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #if IM_HAVE_IMAGICK_SETIMAGEPIXELCOLOR + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_setImagePixelColor, 0, 3, ImagickPixel, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImagePixelColor, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_ARG_OBJ_TYPE_MASK(0, color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_END_ARG_INFO() #endif @@ -1270,165 +3903,530 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImageTotalInkDensity arginfo_class_Imagick_getImageGamma + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getImageRegion, 0, 4, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageRegion, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_implodeImage arginfo_class_Imagick_oilPaintImage #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_implodeImageWithMethod, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, pixel_interpolate_method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_implodeImageWithMethod, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pixel_interpolate_method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, pixel_interpolate_method) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x658 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_inverseFourierTransformImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_inverseFourierTransformImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, complement, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, magnitude, _IS_BOOL, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, magnitude, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, magnitude) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_levelImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_levelImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, black_point) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, gamma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, white_point) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #define arginfo_class_Imagick_magnifyImage arginfo_class_Imagick_optimizeImageLayers #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_mapImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_mapImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, map, imagick, 0) - ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, dither) +#endif ZEND_END_ARG_INFO() #endif #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_matteFloodfillImage, 0, 5, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_matteFloodfillImage, 0, 0, 5) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, alpha) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif ZEND_ARG_OBJ_TYPE_MASK(0, border_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion < 0x700 && !defined(MAGICKCORE_EXCLUDE_DEPRECATED) + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_medianFilterImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_medianFilterImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_negateImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, gray, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_negateImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gray, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, gray) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_paintOpaqueImage, 0, 3, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_paintOpaqueImage, 0, 0, 3) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, target_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_ARG_OBJ_TYPE_MASK(0, fill_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_paintTransparentImage, 0, 3, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_paintTransparentImage, 0, 0, 3) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, target_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, alpha) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, fuzz, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, fuzz) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_previewImages, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, preview, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_previewImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, preview, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, preview) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_profileImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, profile, IS_STRING, 1) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_profileImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, name) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, profile, IS_STRING, 1) +#else + ZEND_ARG_INFO(0, profile) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_quantizeImage, 0, 5, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, number_colors, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, tree_depth, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, measure_error, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_quantizeImage, 0, 0, 5) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, number_colors, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, number_colors) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, colorspace) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, tree_depth, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, tree_depth) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, dither, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, dither) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, measure_error, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, measure_error) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_quantizeImages arginfo_class_Imagick_quantizeImage #if !defined(MAGICKCORE_EXCLUDE_DEPRECATED) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_reduceNoiseImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_reduceNoiseImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif ZEND_END_ARG_INFO() #endif #define arginfo_class_Imagick_removeImageProfile arginfo_class_Imagick_getImageProperty + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_separateImageChannel, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_separateImageChannel, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_sepiaToneImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_sepiaToneImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageBias, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, bias, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageBias, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, bias, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, bias) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageBiasQuantum, 0, 1, IS_VOID, 0) - ZEND_ARG_TYPE_INFO(0, bias, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageBiasQuantum, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, bias, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, bias) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageBluePrimary, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, z, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageBluePrimary, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, y) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, z, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, z) +#endif ZEND_END_ARG_INFO() #endif #if !(MagickLibVersion >= 0x700) + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageBluePrimary, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageBluePrimary, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, x, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, x) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, y, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, y) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageBorderColor, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageBorderColor, 0, 0, 1) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, border_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageChannelDepth, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, depth, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageChannelDepth, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, channel, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, channel) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, depth, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, depth) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageColormapColor, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageColormapColor, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, index) +#endif ZEND_ARG_OBJ_TYPE_MASK(0, color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageColorspace, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageColorspace, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, colorspace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, colorspace) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageDispose, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, dispose, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageDispose, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, dispose, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, dispose) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setImageExtent arginfo_class_Imagick_sampleImage @@ -1441,13 +4439,40 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setImageGreenPrimary arginfo_class_Imagick_setImageBluePrimary #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageInterlaceScheme, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, interlace, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageInterlaceScheme, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, interlace, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, interlace) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageProfile, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, profile, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageProfile, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, name) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, profile, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, profile) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 @@ -1458,12 +4483,34 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setImageRedPrimary arginfo_class_Imagick_setImageBluePrimary #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageRenderingIntent, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, rendering_intent, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageRenderingIntent, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rendering_intent, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rendering_intent) +#endif ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageVirtualPixelMethod, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageVirtualPixelMethod, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, method) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x700 @@ -1474,54 +4521,174 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setImageWhitePoint arginfo_class_Imagick_setImageBluePrimary #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_sigmoidalContrastImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, sharpen, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, beta, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_sigmoidalContrastImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sharpen, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, sharpen) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, alpha, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, alpha) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, beta, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, beta) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_stereoImage, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_stereoImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, offset_image, Imagick, 0) ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_textureImage, 0, 1, Imagick, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_textureImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, texture, Imagick, 0) ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_tintImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_tintImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, tint_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_ARG_OBJ_TYPE_MASK(0, opacity_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, legacy, _IS_BOOL, 0, "false") +#else + ZEND_ARG_INFO(0, legacy) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_unsharpMaskImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, amount, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_unsharpMaskImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, amount, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, amount) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getImage arginfo_class_Imagick_clone + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_addImage, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_addImage, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, image, Imagick, 0) ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setImage arginfo_class_Imagick_addImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_newImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_newImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif ZEND_ARG_OBJ_TYPE_MASK(0, background_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_STRING, 0, "null") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, format, IS_STRING, 0, "null") +#else + ZEND_ARG_INFO(0, format) +#endif + ZEND_END_ARG_INFO() + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_newPseudoImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, pseudo_format, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_newPseudoImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pseudo_format, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, pseudo_format) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getCompression arginfo_class_Imagick_getSizeOffset @@ -1533,7 +4700,13 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getConfigureOptions arginfo_class_Imagick_queryFormats #if MagickLibVersion > 0x660 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getFeatures, 0, 0, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getFeatures, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif @@ -1545,8 +4718,19 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getInterlaceScheme arginfo_class_Imagick_getSizeOffset + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getOption, 0, 1, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getOption, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, key) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getPackageName arginfo_class_Imagick___toString @@ -1563,8 +4747,19 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getReleaseDate arginfo_class_Imagick___toString + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getResource, 0, 1, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getResource, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, type) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getResourceLimit arginfo_class_Imagick_getResource @@ -1587,36 +4782,100 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setInterlaceScheme arginfo_class_Imagick_setImageInterlaceScheme + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setOption, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setOption, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, key) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, value, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, value) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setPage arginfo_class_Imagick_extentImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setResourceLimit, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, limit, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setResourceLimit, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, type) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, limit, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, limit) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setResolution arginfo_class_Imagick_setImageResolution + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setSamplingFactors, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, factors, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setSamplingFactors, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, factors, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, factors) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_setSize arginfo_class_Imagick_sampleImage + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setType, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, imgtype, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setType, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, imgtype, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, imgtype) +#endif ZEND_END_ARG_INFO() #if MagickLibVersion > 0x628 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_key, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_key, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif +#if (PHP_VERSION_ID >= 80100) ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_next, 0, 0, IS_VOID, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_next, 0, 0, 0) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_rewind arginfo_class_Imagick_next @@ -1626,49 +4885,153 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_current arginfo_class_Imagick_clone #if MagickLibVersion >= 0x659 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_brightnessContrastImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, brightness, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, contrast, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_brightnessContrastImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, brightness, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, brightness) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, contrast, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, contrast) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion > 0x661 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_colorMatrixImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, color_matrix, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_colorMatrixImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, color_matrix, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, color_matrix) +#endif ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_selectiveBlurImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_selectiveBlurImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #if MagickLibVersion >= 0x689 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_rotationalBlurImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_rotationalBlurImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, angle) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x683 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_statisticImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_statisticImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, type) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x652 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_subimageMatch, 0, 1, Imagick, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_subimageMatch, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, image, Imagick, 0) - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(1, offset, IS_ARRAY, 1, "null") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(1, similarity, IS_DOUBLE, 1, "null") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(1, offset, IS_ARRAY, 1, "null") +#else + ZEND_ARG_INFO(1, offset) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(1, similarity, IS_DOUBLE, 1, "null") +#else + ZEND_ARG_INFO(1, similarity) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, threshold, IS_DOUBLE, 0, "0.0") - ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, metric, IS_LONG, 0, "0") + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, metric, IS_LONG, 0, "0") +#else + ZEND_ARG_INFO(0, metric) +#endif + ZEND_END_ARG_INFO() #endif @@ -1683,46 +5046,108 @@ ZEND_END_ARG_INFO() #define arginfo_class_Imagick_listRegistry arginfo_class_Imagick_getImageGeometry #if MagickLibVersion >= 0x680 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_morphology, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, morphology, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, iterations, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_morphology, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, morphology, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, morphology) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, iterations, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, iterations) +#endif ZEND_ARG_OBJ_INFO(0, kernel, ImagickKernel, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_DEFAULT") ZEND_END_ARG_INFO() #endif #if defined(IMAGICK_WITH_KERNEL) && MagickLibVersion < 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_filter, 0, 1, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_filter, 0, 0, 1) +#endif + ZEND_ARG_OBJ_INFO(0, kernel, ImagickKernel, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 0, "Imagick::CHANNEL_UNDEFINED") ZEND_END_ARG_INFO() #endif + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setAntialias, 0, 1, IS_VOID, 0) - ZEND_ARG_TYPE_INFO(0, antialias, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setAntialias, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, antialias, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, antialias) +#endif ZEND_END_ARG_INFO() #define arginfo_class_Imagick_getAntialias arginfo_class_Imagick_optimizeImageLayers #if MagickLibVersion > 0x676 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_colorDecisionListImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, color_correction_collection, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_colorDecisionListImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, color_correction_collection, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, color_correction_collection) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x687 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_optimizeImageTransparency, 0, 0, IS_VOID, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_optimizeImageTransparency, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x660 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_autoGammaImage, 0, 0, IS_VOID, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_autoGammaImage, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, channel, IS_LONG, 1, "Imagick::CHANNEL_ALL") ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x692 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_autoOrient, 0, 0, IS_VOID, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_autoOrient, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif @@ -1731,248 +5156,716 @@ ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x692 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_compositeImageGravity, 0, 3, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_compositeImageGravity, 0, 0, 3) +#endif + ZEND_ARG_OBJ_INFO(0, image, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, composite_constant, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, gravity, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, composite_constant, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, composite_constant) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gravity, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, gravity) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x693 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_localContrastImage, 0, 2, IS_VOID, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, strength, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_localContrastImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, strength, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, strength) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x700 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_identifyImageType, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_identifyImageType, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GETSETIMAGEMASK + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getImageMask, 0, 1, Imagick, 1) - ZEND_ARG_TYPE_INFO(0, pixelmask, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageMask, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pixelmask, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, pixelmask) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GETSETIMAGEMASK + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setImageMask, 0, 2, IS_VOID, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setImageMask, 0, 0, 2) +#endif + ZEND_ARG_OBJ_INFO(0, clip_mask, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, pixelmask, IS_LONG, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, pixelmask, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, pixelmask) +#endif ZEND_END_ARG_INFO() #endif #if MagickLibVersion >= 0x709 + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_cannyEdgeImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, lower_percent, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, upper_percent, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_cannyEdgeImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, lower_percent, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, lower_percent) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, upper_percent, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, upper_percent) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_SETSEED + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setSeed, 0, 1, IS_VOID, 0) - ZEND_ARG_TYPE_INFO(0, seed, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setSeed, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, seed, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, seed) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_WAVELETDENOISEIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_waveletDenoiseImage, 0, 2, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, softness, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_waveletDenoiseImage, 0, 0, 2) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, threshold, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, threshold) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, softness, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, softness) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_MEANSHIFTIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_meanShiftImage, 0, 3, _IS_BOOL, 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_distance, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_meanShiftImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, color_distance, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, color_distance) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_KMEANSIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_kmeansImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, number_colors, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, max_iterations, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, tolerance, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_kmeansImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, number_colors, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, number_colors) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, max_iterations, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, max_iterations) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, tolerance, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, tolerance) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_RANGETHRESHOLDIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_rangeThresholdImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, low_black, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, low_white, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, high_white, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, high_black, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_rangeThresholdImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, low_black, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, low_black) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, low_white, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, low_white) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, high_white, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, high_white) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, high_black, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, high_black) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_AUTOTHRESHOLDIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_autoThresholdImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, auto_threshold_method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_autoThresholdImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, auto_threshold_method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, auto_threshold_method) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_BILATERALBLURIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_bilateralBlurImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, intensity_sigma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, spatial_sigma, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_bilateralBlurImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, radius, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, radius) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, intensity_sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, intensity_sigma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, spatial_sigma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, spatial_sigma) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_CLAHEIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_claheImage, 0, 4, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, number_bins, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, clip_limit, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_claheImage, 0, 0, 4) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, width, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, width) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, height, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, height) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, number_bins, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, number_bins) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, clip_limit, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, clip_limit) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_CHANNELFXIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_channelFxImage, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_channelFxImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, expression, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, expression) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_COLORTHRESHOLDIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_colorThresholdImage, 0, 2, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_colorThresholdImage, 0, 0, 2) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, start_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_ARG_OBJ_TYPE_MASK(0, stop_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_COMPLEXIMAGES + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_complexImages, 0, 1, Imagick, 0) - ZEND_ARG_TYPE_INFO(0, complex_operator, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_complexImages, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, complex_operator, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, complex_operator) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_INTERPOLATIVERESIZEIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_interpolativeResizeImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) - ZEND_ARG_TYPE_INFO(0, interpolate, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_interpolativeResizeImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, columns, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, columns) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, rows, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, rows) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, interpolate, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, interpolate) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_LEVELIMAGECOLORS + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_levelImageColors, 0, 3, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_levelImageColors, 0, 0, 3) +#endif + ZEND_ARG_OBJ_TYPE_MASK(0, black_color, ImagickPixel, MAY_BE_STRING, NULL) ZEND_ARG_OBJ_TYPE_MASK(0, white_color, ImagickPixel, MAY_BE_STRING, NULL) - ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, invert, _IS_BOOL, 0) +#else + ZEND_ARG_INFO(0, invert) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_LEVELIZEIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_levelizeImage, 0, 3, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) - ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_levelizeImage, 0, 0, 3) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, black_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, black_point) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, gamma, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, gamma) +#endif + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, white_point, IS_DOUBLE, 0) +#else + ZEND_ARG_INFO(0, white_point) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_ORDEREDDITHERIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_orderedDitherImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, dither_format, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_orderedDitherImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, dither_format, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, dither_format) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_WHITEBALANCEIMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_whiteBalanceImage, 0, 0, _IS_BOOL, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_whiteBalanceImage, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_DELETE_OPTION + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_deleteOption, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, option, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_deleteOption, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, option, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, option) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_BACKGROUND_COLOR + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_class_Imagick_getBackgroundColor, 0, 0, ImagickPixel, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getBackgroundColor, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_IMAGE_ARTIFACTS + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageArtifacts, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageArtifacts, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 0, "\"*\"") ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_IMAGE_KURTOSIS + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageKurtosis, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageKurtosis, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_IMAGE_MEAN + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageMean, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageMean, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_IMAGE_RANGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getImageRange, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getImageRange, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_INTERPOLATE_METHOD + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getInterpolateMethod, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getInterpolateMethod, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_OPTIONS + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getOptions, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getOptions, 0, 0, 0) +#endif + ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 0, "\"*\"") ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_ORIENTATION + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getOrientation, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getOrientation, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_RESOLUTION + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getResolution, 0, 0, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getResolution, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_GET_TYPE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_getType, 0, 0, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_getType, 0, 0, 0) +#endif + ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_POLYNOMIAL_IMAGE + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_polynomialImage, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, terms, IS_ARRAY, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_polynomialImage, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, terms, IS_ARRAY, 0) +#else + ZEND_ARG_INFO(0, terms) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_SET_DEPTH + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setDepth, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, depth, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setDepth, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, depth, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, depth) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_SET_EXTRACT + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setExtract, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, geometry, IS_STRING, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setExtract, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, geometry, IS_STRING, 0) +#else + ZEND_ARG_INFO(0, geometry) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_SET_INTERPOLATE_METHOD + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setInterpolateMethod, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setInterpolateMethod, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, method, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, method) +#endif ZEND_END_ARG_INFO() #endif #if IM_HAVE_IMAGICK_SET_ORIENTATION + +#if PHP_VERSION_ID >= 80000 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Imagick_setOrientation, 0, 1, _IS_BOOL, 0) - ZEND_ARG_TYPE_INFO(0, orientation, IS_LONG, 0) +#else +ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Imagick_setOrientation, 0, 0, 1) +#endif + + +#if PHP_VERSION_ID >= 80000 + ZEND_ARG_TYPE_INFO(0, orientation, IS_LONG, 0) +#else + ZEND_ARG_INFO(0, orientation) +#endif ZEND_END_ARG_INFO() #endif @@ -3414,4 +7307,4 @@ static const zend_function_entry class_Imagick_methods[] = { ZEND_ME(Imagick, setOrientation, arginfo_class_Imagick_setOrientation, ZEND_ACC_PUBLIC) #endif ZEND_FE_END -}; +}; \ No newline at end of file