how to draw an outline for a given image

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?".
acpaps
Posts: 11
Joined: 2016-01-05T16:44:00-07:00
Authentication code: 1151

Re: how to draw an outline for a given image

Post by acpaps »

Sorry..I am new here
I said I am using IM7 (Version: ImageMagick 7.0.2-7 Q16 x64 2016-08-06 http://www.imagemagick.org)

I tried to save as .jpg and dind't get what i wanted

Code: Select all

magick 781c0085d6.jpg -bordercolor white -border 1 -fuzz 20% -fill none -draw "alpha 0,0 floodfill" -shave 1x1 result.jpg
But now i tried to save as .png format

Code: Select all

magick 781c0085d6.jpg -bordercolor white -border 1 -fuzz 20% -fill none -draw "alpha 0,0 floodfill" -shave 1x1 result.png
It worked fine. Thanks again for the quick responses.
I need to figure this out to use in C#...thanks much!!!
acpaps
Posts: 11
Joined: 2016-01-05T16:44:00-07:00
Authentication code: 1151

Re: how to draw an outline for a given image

Post by acpaps »

I am able to get this work in C# too using IM library. Thanks again for the help.
Post Reply