IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Same code with direction from https://www.imagemagick.org/script/gradient.php
I get the error message: Uncaught exception 'ImagickException' with message 'unrecognized color `direction=east gradient:#cbcbcb'
So tried also "gradient:angle=90 gradient: #cbcbcb-#94938f" but with the same error message. Any idea how to make a gradient with a specific direction ?
Thanks,
Vincent.
My version of Imagick :
imagick module version 3.2.0RC1
And:
convert -version
Version: ImageMagick 6.9.3-10 Q16 x86 2016-05-04 http://www.imagemagick.org