bordering and rounding corners, or vice versa

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
Leekao

bordering and rounding corners, or vice versa

Post by Leekao »

Hey everyone, i need help with something that seems simple enough but i cant get to work in a single line. what i need is to take an image, give it a border of some color and then round the corners around the whole thing and send it to std-out. i can put the border easily, and i can round the corners easy enough, but somehow i cant get the rounded-corners-border effect im trying to get. anyone got any tips ?

here is what I am shooting for:
Image

With thanks in advance
Erez
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: bordering and rounding corners, or vice versa

Post by snibgo »

See a recent post: viewtopic.php?f=1&t=16396

Does that do what you want?
snibgo's IM pages: im.snibgo.com
Likao

Re: bordering and rounding corners, or vice versa

Post by Likao »

nope, its almost what i wanted, i need the pic to have straight borders (square) and the border to be rounded.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: bordering and rounding corners, or vice versa

Post by snibgo »

i need the pic to have straight borders (square)
Set InRad to zero.
snibgo's IM pages: im.snibgo.com
Likao

Re: bordering and rounding corners, or vice versa

Post by Likao »

omg, why didnt i think of that :) ? works perfectly, thank you very much !
Post Reply