HypeMC
b47e91c83b
Fix getImage(s)Blob return type ( #735 )
2025-05-09 22:19:45 +02:00
Jakub Zelenka
4b70ba7dfb
Update 324_Imagick_polynomialImage test to clean after it
2025-03-13 17:55:25 +01:00
Danack
c597422cd3
Alter test to not use unreasonable values, and to give easier to understand error messages on failure.
2025-03-13 17:55:24 +01:00
Danack
fa415c0c20
Change test to be XFAIL for now, as the failure does not appear to be new, and shouldn't hold up a release.
2025-03-13 17:55:23 +01:00
Danack
468f727cd6
Silence errors on unlink for when tests are run in parallel.
2025-03-13 17:55:23 +01:00
Danack
d2359e98ef
Add width and height checking to maybe make sure image is actually read.
2025-03-13 17:55:23 +01:00
Stephan Wentz
f35ccbc43e
Add tests for read-filehandle in-memory- and file-streams
2025-03-13 17:55:23 +01:00
Danack
3a2940f173
PHP 8.4 insists that functions that have a default of null, also allow null to be passed.
2025-03-13 17:55:22 +01:00
Danack
ead49704bd
Force lower case for consistency across IM versions.
2025-03-13 17:55:21 +01:00
Danack
f884b67aac
Add test and parameter handling for Imagick::newImage.
2025-03-13 17:55:20 +01:00
Danack
fc54b2ab64
Disable invalid code in test.
2025-03-13 17:55:19 +01:00
Mikhail Galanin
81a326bc3d
Throw exception instead of returning NULL
...
The signature of the function tells us that getImageBlob()
always return string or throws Exception.
In this case, the returning value is NULL as retval is unset.
2025-03-13 17:55:19 +01:00
Danack
dbcfb5cdf6
Added explicit test for ImageBlob behaviour.
2025-03-13 17:55:19 +01:00
Remi Collet
a2b71dc8dc
regen
2025-03-13 17:55:15 +01:00
Remi Collet
08a86aa7d8
Fix Imagick::optimizeimagetransparency proto
2025-03-13 17:55:15 +01:00
Remi Collet
2369bae646
Fix Imagick::autoGammaImage() and autoOrient() proto
2025-03-13 17:55:14 +01:00
Remi Collet
bbec700031
unalias next/rewind for return type
2025-03-13 17:55:14 +01:00
Remi Collet
0c8654537f
Fix Imagick::resetIterator() proto
2025-03-13 17:55:14 +01:00
Remi Collet
c924fa57de
Fix Imagick::setImageMask() proto
2025-03-13 17:55:13 +01:00
Danack
69e50ab0a1
Improve test so that is passes.
...
The underlying maths for some statistics changed: https://github.com/ImageMagick/ImageMagick/issues/6924 so the tests need to pass on both before and after maths.
2025-03-13 17:55:08 +01:00
Danack
28f27044e4
Fix variable name on error.
2023-03-18 17:03:50 +00:00
Danack
a1e4d5b28c
Skip failing test on Windows.
2023-03-11 18:35:54 +00:00
Danack
5ae2ecf20a
Fixed missing ifdef around function.
...
Apparently the stub generator is now producing different output so the change is huge.
2023-03-01 18:19:26 +00:00
Danack
7a3531613a
Add test for Imagick::clutImageWithInterpolate.
2022-09-06 16:53:53 +01:00
Danack
7651b12601
Rebased dev changes.
2022-09-05 21:45:40 +01:00
Danack
33eb7ac78f
Fix test.
2022-01-04 17:08:13 +00:00
Danack
49c41a573d
Convert strings to lower case to avoid inconsistency.
2022-01-04 16:32:11 +00:00
Danack
b9332fe8c2
Probably fix a -Wpointer-bool-conversion problem. Fixes #527
2022-01-03 17:33:19 +00:00
Danack
b787cb908e
And fix this test.
2021-12-23 00:54:09 +00:00
Danack
86329ecf5a
Try to fix some tests.
2021-12-23 00:38:57 +00:00
Danack
7fe0afb61f
Don't run tests before methods available.
2021-12-23 00:11:13 +00:00
Danack
7cc02414a0
Added more functions that expose all the parameters available in IM7.
2021-12-22 23:36:23 +00:00
Danack
9727a84f0f
Actually test addNoiseImageWithAttenuate.
2021-12-22 12:54:03 +00:00
Danack
224734cbf0
Make test more reliable on ImageMagick compiled without HDRI.
...
(cherry picked from commit 37fcb7e93f2bf810277e2e800b38d72e4e3d5434)
2021-12-16 23:58:51 +00:00
Christoph M. Becker
79acec63f2
Mark 274_imagick_setImageAlpha.phpt as XFAIL on Windows for now
...
The test fails for reasons which need to be investigated. Due to lack
of time, we mark the test as XFAIL, so that CI results are otherwise
meaningful.
2021-12-14 17:35:38 +00:00
Danack
056ce0e5ca
And so the long day wore on.
2021-12-14 16:46:56 +00:00
Danack
d8c48bfbef
And so the long day wore on.
2021-12-14 16:37:28 +00:00
Danack
c7cb54dd6e
only test modern versions of IM.
2021-12-14 16:16:52 +00:00
Danack
4c747d3dc7
Further relax tests.
2021-12-14 15:24:52 +00:00
Danack
5580495666
Relax test standard as apparently calculating mean value has changed over versions.
2021-12-14 15:15:24 +00:00
Danack
edc7b09b79
Don't run test on version where it will fail.
2021-12-14 15:11:10 +00:00
Danack
07e5ee8e57
Tone down test so it doesn't fail on extra entries.
...
ImageMagick on windows populates some icc entries.
2021-12-14 15:10:54 +00:00
Danack
d702e60e88
will look at nullability later.
2021-12-14 13:53:11 +00:00
Danack
e9f76880d4
Added most of remaining functions.
2021-12-14 13:52:36 +00:00
Danack
7f705c4b51
Imagick::setImageArtifact can take null as second param, and getImageArtifact can return null.
2021-12-14 13:48:33 +00:00
Danack
1afa0e11cc
Add implodeImageWithMethod
2021-12-14 13:18:15 +00:00
Danack
77d6a29d73
Separate oilpaintImageWithSigma to avoid having to write complicated docs.
2021-12-10 20:56:36 +00:00
Danack
cb6c94a9fa
Allow oilPaintImage to take second parameter.
2021-12-10 20:33:01 +00:00
Danack
d60b74f263
Add Imagick::addNoiseImageWithAttenuate
2021-11-11 11:24:04 +00:00
Danack
34c5afcdba
Remove deprecation notice.
2021-11-10 13:51:31 +00:00