Page 1 of 1

Error using "-stroke" and "label:"

Posted: 2018-05-17T22:45:53-07:00
by GeeMack
Running from the command line on Windows 10, I've encountered errors when using both "-stroke" and "label:" with IM6 and IM7.


With IM 6.9.9-43 running this command...

Code: Select all

convert -stroke black label:"X X" test.png
I get this error...

Code: Select all

convert.exe: non-conforming drawing primitive definition `path' @ error/draw.c/DrawImage/4073.

The same command with IM 7.0.7-33 "magick"...

Code: Select all

magick -stroke black label:"X X" test.png
Produces a nearly identical error...

Code: Select all

magick: non-conforming drawing primitive definition `path' @ error/draw.c/DrawImage/4205.

It requires a space in the label text to cause these errors, like "X X".

It doesn't seem to matter what color is designated for the "-stroke".

Re: Error using "-stroke" and "label:"

Posted: 2018-05-18T04:21:27-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick within a few days.