Page 1 of 1

rounded corners are not symmetrical

Posted: 2018-09-25T18:40:31-07:00
by donahchoo
Hi,

I'm rounding corners on an image and I'm seeing that the corners are not symmetrical.

I've zoomed in and cropped to make it easier to see. The right corner does not extend down as var as the left. The same thing happens on the bottom corners. If you click the image it will load a larger version (slowly)

Image

Here's the command I'm trying:

Code: Select all

convert 2000x3000ss.jpg -auto-orient -resize "400x600^" -gravity Center -crop 400x600+0+0 \
 \( +clone -threshold -1 -negate -fill white -gravity Center -draw "roundRectangle 0,0 400,600 25,25" \) \
 -alpha Off -compose CopyOpacity -composite -border 800x200 -background "#f8f8f8" -alpha remove foo.jpg
Any suggestions on what I'm doing wrong? I can't tell if this is happening because the whole right edge is being clipped or if there's an issue with the corners...

Version: ImageMagick 6.9.3-1 Q16 x86_64 2016-01-25 http://www.imagemagick.org

Re: rounded corners are not symmetrical

Posted: 2018-09-25T19:01:28-07:00
by fmw42
You are using a very old version of Imagemagick -- more than 3 years old. Try upgrading and then try your command again.