viewtopic.php?f=6&t=8149&p=24951&hilit= ... ent#p24951
I have installed the most recent version of ImageMagick (7.0.8-27 Q16 x64 2019-02-09) on a Windows 7 computer.
I would like to know if the gradient options can be used in MagickWand—the options that are listed on https://imagemagick.org/script/gradient.php, that can be set using the -define argument in command line.
I know that the following MagickWand code generates a gradient.
Code: Select all
MagickReadImage(magick_wand,"gradient:black-white");
Code: Select all
MagickReadImage(magick_wand,"gradient:black-white -define gradient:direction=East");
The following code generates an error.
Code: Select all
MagickReadImage(magick_wand,"-define gradient:direction=East gradient:black-white");
Magick exception description: unable to open image '-define gradient:direction=East gradient:black-white': Invalid argument @ error/blob.c/OpenBlob/3485
Magick exception severity: 435
Magick exception type: 435
Is it possible to use the gradient options via MagickWand? If so, how?