How do you round the corners on an 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?".
Post Reply
aLabelMaker
Posts: 19
Joined: 2011-01-10T12:25:14-07:00
Authentication code: 8675308

How do you round the corners on an image

Post by aLabelMaker »

I have an image that is a rectangle and I would like to make the corners rounded.
What is the best command to do this?
Thanks so much!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How do you round the corners on an image

Post by fmw42 »

aLabelMaker
Posts: 19
Joined: 2011-01-10T12:25:14-07:00
Authentication code: 8675308

Re: How do you round the corners on an image

Post by aLabelMaker »

Thanks, got it! On to the next step...
aLabelMaker
Posts: 19
Joined: 2011-01-10T12:25:14-07:00
Authentication code: 8675308

Re: How do you round the corners on an image

Post by aLabelMaker »

...actually I ran into a road bump...
I would like the border to be 2 pixels instead of 3.
When I replace all the "3's" to "2's" I did not give me the proper output. The border was not the same width all the way around. Any Ideas why this happened. (I'm pretty positive that I did not miss any "3's").
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How do you round the corners on an image

Post by fmw42 »

Post your command and links to the input and output images. Also Identify your IM version and platform
Post Reply