Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
It doesn't work, the rectangle gets a width of 1 pixel regardless the height of the source image. I suppose -strokewidth doesn’t support percent escapes. Is there Another way of accomplishing this?
------------------------------------------------------------------------
Imagemagick v 7.0.4 | Windows 10
It doesn't work, the rectangle gets a width of 1 pixel regardless the height of the source image. I suppose -strokewidth doesn’t support percent escapes. Is there Another way of accomplishing this?
Your example code shows your FX expression as "%%[fx:h*0,03]". It seems you should replace that comma "," with a decimal point ".". Also, unless you're using that "%%[tjock]" variable somewhere else in the command, you should be able to run it directly where you're using it like "-strokewidth %%[fx:h*0.03]".
Thanks, it's always the commas or semicolons that screws up the code . The comma is used in Sweden instead of the decimal point for decimal indication, which I sometimes forgets.
BTW, the parameter is used elsewhere, I just didn't copy the whole code.
------------------------------------------------------------------------
Imagemagick v 7.0.4 | Windows 10