I'd like to create an icon for google maps, as a result I need to add a shadow to an image.
Thanks to this post:
viewtopic.php?f=1&t=13639
Based on IM example:
http://www.imagemagick.org/Usage/distorts/#shadow3d
I can create such a shadow, But with an image with a slight border like this one:
I get this result, which is crappy (the border is crappy):
Here is my full command:
Code: Select all
convert input.png -flip +distort SRT '0,0 1,-1 0' \( +clone -background none -shadow 60x5+0+0 -virtual-pixel Transparent +distort Affine '0,0 0,0 100,0 100,0 0,100 -100,50' \) +swap -background none -layers merge -fuzz 2% -trim +repage output.png