I try to add border to a transparent png image, and I found some solutions here
But my problem is I can't increase the image size in the same amount like the border size.
Currently I use this code:
Code: Select all
convert stone.png -bordercolor none -border 15 -background red -alpha background -channel A -blur 15x15 -level 0,0% result.png
original image:
my result with the code above:
As you can see, the bottom corners are cutted, and the little the top too. They should be rounded.