Another "-stroke" and "label:" issue.

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: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Another "-stroke" and "label:" issue.

Post by GeeMack »

Using ImageMagick 7.0.7-34 Q16 x64 HDRI from the command line or BAT script with Windows 10. This problem appears to be related to the one described at THIS link. When using certain combinations of "label:" and "-stroke" I can crash the IM program leaving only the Windows generated error. An example, using this command at a prompt ...

Code: Select all

magick -pointsize 144 -strokewidth 20 -stroke black label:"A" label.png
Creates this error message and no output image...

Image



Oddly enough, some combinations of characters will not crash the IM program, but will leave an incomplete stroke around the characters in the resulting label. As an example, this command...

Code: Select all

magick -pointsize 144 -strokewidth 20 -stroke black label:"TESTING" label.png
Creates this image...

Image

Notice the small notch in the mostly lower left corners of each character. I checked some previous work, and it looks like this behavior has been present since at least the last version, IM 7.0.7-33.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Another "-stroke" and "label:" issue.

Post by snibgo »

Those problems don't occur on v7.0.7-28 on Windows 8.1.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Another "-stroke" and "label:" issue.

Post by fmw42 »

Works fine in IM 7.0.7.34 Q16 Mac OSX Sierra.

Code: Select all

magick -pointsize 144 -strokewidth 20 -stroke black label:"A" label.png
Post Reply