I'm trying to apply rounded corners to an image.. What I have so far is:
Code: Select all
convert -resize 800 xc:none -fill #111111 -draw "roundRectangle 0,0 800,534 1
5,15" bmx.jpg -compose SrcIn -composite bmx-result.jpg
-The image may have *any* aspect ratio. So I want the rounded rectangle's height to be equal to the image's height.
-I specified -fill #111111. But the background color remains black?!
-The corners do not seem to be antialiased. I tried adding the -antialias option right after convert, but it didn't change anything.
Thanks, cireFlow