Error using "-stroke" and "label:"

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
GeeMack
Posts: 609
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Error using "-stroke" and "label:"

Post by GeeMack » 2018-05-17T22:45:53-07:00

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".

User avatar
magick
Site Admin
Posts: 10831
Joined: 2003-05-31T11:32:55-07:00

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

Post by magick » 2018-05-18T04:21:27-07:00

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.

Post Reply