Bulleted list

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?".
Post Reply
abs2act
Posts: 10
Joined: 2014-08-12T20:41:45-07:00
Authentication code: 6789

Bulleted list

Post by abs2act »

Is there a way to create a bulleted text image list?

Something to this effect

Groceries:
*Apple
*Orange
*Banana
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Bulleted list

Post by fmw42 »

try this using line feeds to move to next line between words

Code: Select all

convert -size x300 -font arial -gravity west -fill black -background white label:"Groceries:\n*Apple\n*Orange\n*Banana" result.png
or

Code: Select all

convert -size x300 -font arial -gravity west -fill black -background white label:"Groceries:\n•Apple\n•Orange\n•Banana" show:
see http://www.imagemagick.org/Usage/text/#label_lines
abs2act
Posts: 10
Joined: 2014-08-12T20:41:45-07:00
Authentication code: 6789

Re: Bulleted list

Post by abs2act »

Thanks again for the quick reply. That's actually what I'm using now for my text image. I was hoping there was an actual way of displaying a bullet instead of using an asterisk in its place.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Bulleted list

Post by snibgo »

Fred's last example uses a bullet character. Bullets are simply characters, just like asterisks. If you are on Unix or Mac, it should work fine. If on Windows, it is a bit more clumsy; see my page on Utf8 text.
snibgo's IM pages: im.snibgo.com
Post Reply