rounded corners are not symmetrical
Posted: 2018-09-25T18:40:31-07:00
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)
Here's the command I'm trying:
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
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)
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
Version: ImageMagick 6.9.3-1 Q16 x86_64 2016-01-25 http://www.imagemagick.org