summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-01-05 10:54:05 +0100
committerRemi Collet <remi@php.net>2022-01-05 10:54:05 +0100
commit65c8379409617e03e07b1a2fecdb7404b3f5996d (patch)
tree5d78fd9e6a940524b30b58f1e8ba6b71e3dafe40
parentba274c4ce3ea9757a9e5af40bf49fb4c916c41e5 (diff)
update to 3.7.0RC1
-rw-r--r--PHPINFO-im62
-rw-r--r--PHPINFO-im72
-rw-r--r--REFLECTION-im610
-rw-r--r--REFLECTION-im7202
-rw-r--r--php-pecl-imagick.spec11
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 [ <persistent> extension #76 imagick version 3.6.0 ] {
+Extension [ <persistent> extension #76 imagick version 3.7.0RC1 ] {
- Dependencies {
Dependency [ gmagick (Conflicts) ]
@@ -496,8 +496,8 @@ Extension [ <persistent> 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 [ <persistent> extension #76 imagick version 3.6.0 ] {
- Parameters [1] {
Parameter #0 [ <required> string $artifact ]
}
- - Return [ string ]
+ - Return [ ?string ]
}
Method [ <internal:imagick> public method setImageArtifact ] {
- Parameters [2] {
Parameter #0 [ <required> string $artifact ]
- Parameter #1 [ <required> string $value ]
+ Parameter #1 [ <required> ?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 [ <persistent> extension #77 imagick version 3.6.0 ] {
+Extension [ <persistent> extension #77 imagick version 3.7.0RC1 ] {
- Dependencies {
Dependency [ gmagick (Conflicts) ]
@@ -485,7 +485,7 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
Class [ <internal:imagick> <iterateable> 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 [ <persistent> 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 [ <persistent> 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 [ <persistent> extension #77 imagick version 3.6.0 ] {
- Properties [0] {
}
- - Methods [354] {
+ - Methods [376] {
Method [ <internal:imagick> public method optimizeImageLayers ] {
- Parameters [0] {
@@ -1338,6 +1349,16 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
- Return [ bool ]
}
+ Method [ <internal:imagick> public method waveImageWithMethod ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> float $amplitude ]
+ Parameter #1 [ <required> float $length ]
+ Parameter #2 [ <required> int $interpolate_method ]
+ }
+ - Return [ bool ]
+ }
+
Method [ <internal:imagick> public method vignetteImage ] {
- Parameters [4] {
@@ -1499,6 +1520,17 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
- Return [ bool ]
}
+ Method [ <internal:imagick> public method polaroidWithTextAndMethod ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> ImagickDraw $settings ]
+ Parameter #1 [ <required> float $angle ]
+ Parameter #2 [ <required> string $caption ]
+ Parameter #3 [ <required> int $method ]
+ }
+ - Return [ bool ]
+ }
+
Method [ <internal:imagick> public method polaroidImage ] {
- Parameters [2] {
@@ -1965,14 +1997,14 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
- Parameters [1] {
Parameter #0 [ <required> string $artifact ]
}
- - Return [ string ]
+ - Return [ ?string ]
}
Method [ <internal:imagick> public method setImageArtifact ] {
- Parameters [2] {
Parameter #0 [ <required> string $artifact ]
- Parameter #1 [ <required> string $value ]
+ Parameter #1 [ <required> ?string $value ]
}
- Return [ bool ]
}
@@ -2485,6 +2517,15 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
- Return [ bool ]
}
+ Method [ <internal:imagick> public method oilPaintImageWithSigma ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> float $radius ]
+ Parameter #1 [ <required> float $sigma ]
+ }
+ - Return [ bool ]
+ }
+
Method [ <internal:imagick> public method oilPaintImage ] {
- Parameters [1] {
@@ -2797,6 +2838,15 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
- Return [ bool ]
}
+ Method [ <internal:imagick> public method spreadImageWithMethod ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> float $radius ]
+ Parameter #1 [ <required> int $interpolate_method ]
+ }
+ - Return [ bool ]
+ }
+
Method [ <internal:imagick> public method swirlImage ] {
- Parameters [1] {
@@ -2805,6 +2855,15 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
- Return [ bool ]
}
+ Method [ <internal:imagick> public method swirlImageWithMethod ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> float $degrees ]
+ Parameter #1 [ <required> int $interpolate_method ]
+ }
+ - Return [ bool ]
+ }
+
Method [ <internal:imagick> public method stripImage ] {
- Parameters [0] {
@@ -3454,6 +3513,15 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
- Return [ bool ]
}
+ Method [ <internal:imagick> public method implodeImageWithMethod ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> float $radius ]
+ Parameter #1 [ <required> int $pixel_interpolate_method ]
+ }
+ - Return [ bool ]
+ }
+
Method [ <internal:imagick> public method inverseFourierTransformImage ] {
- Parameters [2] {
@@ -4296,6 +4364,126 @@ Extension [ <persistent> extension #77 imagick version 3.6.0 ] {
}
- Return [ bool ]
}
+
+ Method [ <internal:imagick> public method deleteOption ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $option ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:imagick> public method getBackgroundColor ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ImagickPixel ]
+ }
+
+ Method [ <internal:imagick> public method getImageArtifacts ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> string $pattern = "*" ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:imagick> public method getImageKurtosis ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:imagick> public method getImageMean ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:imagick> public method getImageRange ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:imagick> public method getInterpolateMethod ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:imagick> public method getOptions ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> string $pattern = "*" ]
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:imagick> public method getOrientation ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:imagick> public method getResolution ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+
+ Method [ <internal:imagick> public method getType ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
+ }
+
+ Method [ <internal:imagick> public method polynomialImage ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $terms ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:imagick> public method setDepth ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $depth ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:imagick> public method setExtract ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $geometry ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:imagick> public method setInterpolateMethod ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $method ]
+ }
+ - Return [ bool ]
+ }
+
+ Method [ <internal:imagick> public method setOrientation ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> 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 <remi@remirepo.net> - 3.7.0~RC1-1
+- update to 3.7.0RC1
+
* Mon Nov 22 2021 Remi Collet <remi@remirepo.net> - 3.6.0-2
- rebuild with latest ImageMagick 6/7