From 65c8379409617e03e07b1a2fecdb7404b3f5996d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 5 Jan 2022 10:54:05 +0100 Subject: update to 3.7.0RC1 --- PHPINFO-im6 | 2 +- PHPINFO-im7 | 2 +- REFLECTION-im6 | 10 +-- REFLECTION-im7 | 202 ++++++++++++++++++++++++++++++++++++++++++++++++-- php-pecl-imagick.spec | 11 ++- 5 files changed, 209 insertions(+), 18 deletions(-) diff --git a/PHPINFO-im6 b/PHPINFO-im6 index 05e6503..b73bb61 100644 --- a/PHPINFO-im6 +++ b/PHPINFO-im6 @@ -2,7 +2,7 @@ imagick imagick module => enabled -imagick module version => 3.6.0 +imagick module version => 3.7.0RC1 imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel Imagick compiled with ImageMagick version => ImageMagick 6.9.12-34 Q16 x86_64 2021-12-22 https://imagemagick.org Imagick using ImageMagick library version => ImageMagick 6.9.12-34 Q16 x86_64 2021-12-22 https://imagemagick.org diff --git a/PHPINFO-im7 b/PHPINFO-im7 index 07c4038..a051234 100644 --- a/PHPINFO-im7 +++ b/PHPINFO-im7 @@ -2,7 +2,7 @@ imagick imagick module => enabled -imagick module version => 3.6.0 +imagick module version => 3.7.0RC1 imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel Imagick compiled with ImageMagick version => ImageMagick 7.1.0-19 Q16-HDRI x86_64 2021-12-22 https://imagemagick.org Imagick using ImageMagick library version => ImageMagick 7.1.0-19 Q16-HDRI x86_64 2021-12-22 https://imagemagick.org diff --git a/REFLECTION-im6 b/REFLECTION-im6 index 100d85c..696f1f8 100644 --- a/REFLECTION-im6 +++ b/REFLECTION-im6 @@ -1,4 +1,4 @@ -Extension [ extension #76 imagick version 3.6.0 ] { +Extension [ extension #76 imagick version 3.7.0RC1 ] { - Dependencies { Dependency [ gmagick (Conflicts) ] @@ -496,8 +496,8 @@ Extension [ extension #76 imagick version 3.6.0 ] { Constant [ public int COLOR_OPACITY ] { 18 } Constant [ public int COLOR_ALPHA ] { 19 } Constant [ public int COLOR_FUZZ ] { 20 } - Constant [ public int IMAGICK_EXTNUM ] { 30600 } - Constant [ public string IMAGICK_EXTVER ] { 3.6.0 } + Constant [ public int IMAGICK_EXTNUM ] { 30700 } + Constant [ public string IMAGICK_EXTVER ] { 3.7.0RC1 } Constant [ public int QUANTUM_RANGE ] { 65535 } Constant [ public int USE_ZEND_MM ] { 0 } Constant [ public int COMPOSITE_DEFAULT ] { 40 } @@ -1976,14 +1976,14 @@ Extension [ extension #76 imagick version 3.6.0 ] { - Parameters [1] { Parameter #0 [ string $artifact ] } - - Return [ string ] + - Return [ ?string ] } Method [ public method setImageArtifact ] { - Parameters [2] { Parameter #0 [ string $artifact ] - Parameter #1 [ string $value ] + Parameter #1 [ ?string $value ] } - Return [ bool ] } diff --git a/REFLECTION-im7 b/REFLECTION-im7 index c1301b3..dee4083 100644 --- a/REFLECTION-im7 +++ b/REFLECTION-im7 @@ -1,4 +1,4 @@ -Extension [ extension #77 imagick version 3.6.0 ] { +Extension [ extension #77 imagick version 3.7.0RC1 ] { - Dependencies { Dependency [ gmagick (Conflicts) ] @@ -485,7 +485,7 @@ Extension [ extension #77 imagick version 3.6.0 ] { Class [ class Imagick implements Stringable, Iterator, Traversable, Countable ] { - - Constants [615] { + - Constants [626] { Constant [ public int COLOR_BLACK ] { 11 } Constant [ public int COLOR_BLUE ] { 12 } Constant [ public int COLOR_CYAN ] { 13 } @@ -495,8 +495,8 @@ Extension [ extension #77 imagick version 3.6.0 ] { Constant [ public int COLOR_MAGENTA ] { 17 } Constant [ public int COLOR_ALPHA ] { 18 } Constant [ public int COLOR_FUZZ ] { 19 } - Constant [ public int IMAGICK_EXTNUM ] { 30600 } - Constant [ public string IMAGICK_EXTVER ] { 3.6.0 } + Constant [ public int IMAGICK_EXTNUM ] { 30700 } + Constant [ public string IMAGICK_EXTVER ] { 3.7.0RC1 } Constant [ public int QUANTUM_RANGE ] { 65535 } Constant [ public int USE_ZEND_MM ] { 0 } Constant [ public int COMPOSITE_DEFAULT ] { 54 } @@ -1101,6 +1101,17 @@ Extension [ extension #77 imagick version 3.6.0 ] { Constant [ public int COMPLEX_OPERATOR_MULTIPLY ] { 5 } Constant [ public int COMPLEX_OPERATOR_REALIMAGINARY ] { 6 } Constant [ public int COMPLEX_OPERATOR_SUBTRACT ] { 7 } + Constant [ public int IMAGE_TYPE_BILEVEL ] { 1 } + Constant [ public int IMAGE_TYPE_GRAYSCALE ] { 2 } + Constant [ public int IMAGE_TYPE_GRAYSCALE_ALPHA ] { 3 } + Constant [ public int IMAGE_TYPE_PALETTE ] { 4 } + Constant [ public int IMAGE_TYPE_PALETTE_ALPHA ] { 5 } + Constant [ public int IMAGE_TYPE_TRUE_COLOR ] { 6 } + Constant [ public int IMAGE_TYPE_TRUE_COLOR_ALPHA ] { 7 } + Constant [ public int IMAGE_TYPE_COLOR_SEPARATION ] { 8 } + Constant [ public int IMAGE_TYPE_COLOR_SEPARATION_ALPHA ] { 9 } + Constant [ public int IMAGE_TYPE_OPTIMIZE ] { 10 } + Constant [ public int IMAGE_TYPE_PALETTE_BILEVEL_ALPHA ] { 11 } } - Static properties [0] { @@ -1274,7 +1285,7 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Properties [0] { } - - Methods [354] { + - Methods [376] { Method [ public method optimizeImageLayers ] { - Parameters [0] { @@ -1338,6 +1349,16 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Return [ bool ] } + Method [ public method waveImageWithMethod ] { + + - Parameters [3] { + Parameter #0 [ float $amplitude ] + Parameter #1 [ float $length ] + Parameter #2 [ int $interpolate_method ] + } + - Return [ bool ] + } + Method [ public method vignetteImage ] { - Parameters [4] { @@ -1499,6 +1520,17 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Return [ bool ] } + Method [ public method polaroidWithTextAndMethod ] { + + - Parameters [4] { + Parameter #0 [ ImagickDraw $settings ] + Parameter #1 [ float $angle ] + Parameter #2 [ string $caption ] + Parameter #3 [ int $method ] + } + - Return [ bool ] + } + Method [ public method polaroidImage ] { - Parameters [2] { @@ -1965,14 +1997,14 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Parameters [1] { Parameter #0 [ string $artifact ] } - - Return [ string ] + - Return [ ?string ] } Method [ public method setImageArtifact ] { - Parameters [2] { Parameter #0 [ string $artifact ] - Parameter #1 [ string $value ] + Parameter #1 [ ?string $value ] } - Return [ bool ] } @@ -2485,6 +2517,15 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Return [ bool ] } + Method [ public method oilPaintImageWithSigma ] { + + - Parameters [2] { + Parameter #0 [ float $radius ] + Parameter #1 [ float $sigma ] + } + - Return [ bool ] + } + Method [ public method oilPaintImage ] { - Parameters [1] { @@ -2797,6 +2838,15 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Return [ bool ] } + Method [ public method spreadImageWithMethod ] { + + - Parameters [2] { + Parameter #0 [ float $radius ] + Parameter #1 [ int $interpolate_method ] + } + - Return [ bool ] + } + Method [ public method swirlImage ] { - Parameters [1] { @@ -2805,6 +2855,15 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Return [ bool ] } + Method [ public method swirlImageWithMethod ] { + + - Parameters [2] { + Parameter #0 [ float $degrees ] + Parameter #1 [ int $interpolate_method ] + } + - Return [ bool ] + } + Method [ public method stripImage ] { - Parameters [0] { @@ -3454,6 +3513,15 @@ Extension [ extension #77 imagick version 3.6.0 ] { - Return [ bool ] } + Method [ public method implodeImageWithMethod ] { + + - Parameters [2] { + Parameter #0 [ float $radius ] + Parameter #1 [ int $pixel_interpolate_method ] + } + - Return [ bool ] + } + Method [ public method inverseFourierTransformImage ] { - Parameters [2] { @@ -4296,6 +4364,126 @@ Extension [ extension #77 imagick version 3.6.0 ] { } - Return [ bool ] } + + Method [ public method deleteOption ] { + + - Parameters [1] { + Parameter #0 [ string $option ] + } + - Return [ bool ] + } + + Method [ public method getBackgroundColor ] { + + - Parameters [0] { + } + - Return [ ImagickPixel ] + } + + Method [ public method getImageArtifacts ] { + + - Parameters [1] { + Parameter #0 [ string $pattern = "*" ] + } + - Return [ array ] + } + + Method [ public method getImageKurtosis ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method getImageMean ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method getImageRange ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method getInterpolateMethod ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method getOptions ] { + + - Parameters [1] { + Parameter #0 [ string $pattern = "*" ] + } + - Return [ array ] + } + + Method [ public method getOrientation ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method getResolution ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method getType ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ public method polynomialImage ] { + + - Parameters [1] { + Parameter #0 [ array $terms ] + } + - Return [ bool ] + } + + Method [ public method setDepth ] { + + - Parameters [1] { + Parameter #0 [ int $depth ] + } + - Return [ bool ] + } + + Method [ public method setExtract ] { + + - Parameters [1] { + Parameter #0 [ string $geometry ] + } + - Return [ bool ] + } + + Method [ public method setInterpolateMethod ] { + + - Parameters [1] { + Parameter #0 [ int $method ] + } + - Return [ bool ] + } + + Method [ public method setOrientation ] { + + - Parameters [1] { + Parameter #0 [ int $orientation ] + } + - Return [ bool ] + } } } diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec index dc4ead4..f3ce45f 100644 --- a/php-pecl-imagick.spec +++ b/php-pecl-imagick.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-imagick # -# Copyright (c) 2008-2021 Remi Collet +# Copyright (c) 2008-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -35,8 +35,8 @@ %else %global ini_name 40-%{pecl_name}.ini %endif -%global upstream_version 3.6.0 -#global upstream_prever RC2 +%global upstream_version 3.7.0 +%global upstream_prever RC1 %if %{with im7} Summary: Extension to create and modify images using ImageMagick 7 @@ -50,7 +50,7 @@ Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} Release: 0.10.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -Release: 2.3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz %endif License: PHP @@ -362,6 +362,9 @@ cd ../ZTS %changelog +* Wed Jan 5 2022 Remi Collet - 3.7.0~RC1-1 +- update to 3.7.0RC1 + * Mon Nov 22 2021 Remi Collet - 3.6.0-2 - rebuild with latest ImageMagick 6/7 -- cgit