Dotted chars

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?".
xpt
Posts: 59
Joined: 2010-10-06T20:18:24-07:00
Authentication code: 8675308

Re: Dotted chars

Post by xpt »

This is your first patterns: . . .

This is your second pattern:
THANKS A LOT!

wonderful patterns!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Dotted chars

Post by fmw42 »

Did that help with your dotted Letters? If so, please show a result and your command line.

Note IM has some built-in patterns. see http://www.imagemagick.org/script/forma ... n-patterns
xpt
Posts: 59
Joined: 2010-10-06T20:18:24-07:00
Authentication code: 8675308

Re: Dotted chars

Post by xpt »

Did that help with your dotted Letters? If so, please show a result and your command line.
Sure, will edit the OP.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Dotted chars

Post by anthony »

xpt wrote:NOTE, the OP has been edited to a QA style to give the scenario/request and solution.
> I'm wondering how feasible it is to use ImageMagick tools to produce dotted characters for kids, so they can practice writing following those dotted letters.
yes I am late to this discussion, but looking at the solution I wondered if there was a way to get draw to stroke a dotted outline of a font. Seems it works though quite as I expected.

First using annotate so I am sure I have all my font and canvas setting right...

Code: Select all

convert -size 180x80 xc: -font ArialBk -pointsize 72 -gravity center -fill none -stroke black \
      -annotate 0 Abc font_ann.png
Image

Now try to draw a dotted outline.

Code: Select all

convert -size 180x80 xc: -font ArialBk -pointsize 72 -gravity center -fill none -stroke black \
      -draw 'stroke-dasharray 1 6 text 0,0 "Abc" ' font_dotty.png
Image

Now that is interesting but seem to have extra dots in it, almost like the stroke did not end but was drawn from one character to the next, without being turned off in between.

Seem to be a bug, replacing stroke-dasharray values with values like '10 1' shows up this BUG very clearly.

However if you combine the dotty output with a full stroked output you should get what you want.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Dotted chars

Post by anthony »

Bonzo wrote:There was a post a while ago where the user was placing tiny images of band members? onto letters in a stadium to spell out names. That would work but I can not remember where the post is now. I only deleted the image off my laptop last week :(
The Discussion was "A Fun Experience with IM"
viewtopic.php?f=1&t=17259
Example from that discussion...
Image

The font was 'dot' But is not available any more from the original source.
But I have uploaded it to
https://dl.dropbox.com/u/9500683/Dot.ttf
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
xpt
Posts: 59
Joined: 2010-10-06T20:18:24-07:00
Authentication code: 8675308

Re: Dotted chars

Post by xpt »

Thanks a lot for your more input, Anthony!
Post Reply