How to convert line to line stroke or dotted line?

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
ooker
Posts: 22
Joined: 2014-07-24T10:32:57-07:00
Authentication code: 6789

How to convert line to line stroke or dotted line?

Post by ooker »

I have tried using

Code: Select all

convert line.png -fill white -stroke black -strockwidth 0 line_stroke.png
but noting changes. What should I do? Thank you.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: How to convert line to line stroke or dotted line?

Post by snibgo »

"-fill", "-stroke" and "-strokewidth" are settings for operations that follow. But you have no operations.
snibgo's IM pages: im.snibgo.com
ooker
Posts: 22
Joined: 2014-07-24T10:32:57-07:00
Authentication code: 6789

Re: How to convert line to line stroke or dotted line?

Post by ooker »

so what operation should I use?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to convert line to line stroke or dotted line?

Post by fmw42 »

Best if you provide your input image and explain what it is you want to do with it. snibgo is saying that you have all settings and no operators to use those settings.
Post Reply