css3 - imagemagick command-line -shadow like photoshop inner-shadow problems -


i'm trying create photoshop inner-shadow effect, same css3 box-shadow inset effect.

step 1 (i'm generating button - rounded rectangle):

convert -size 220x50 xc:none -fill '#bdbdbd' -draw 'roundrectangle 0,0 219,49 25,25' /var/www/test.local/public/images/button.png 

i got image - it's ok:

step 1 http://artshevtsov.ru/button.png

step 2 (now i'd result can see on image below, i've made photoshop):

step 2 http://wellkin.info/re/rounded.jpg

how apply effect rounded rectangle, using imagemagick -shadow , maybe options repage or compose?

p.s.: can't find example here http://www.imagemagick.org/usage/thumbnails/#shadow works case.

discussion moved imagemagick board, question solved here: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=23417&p=98450#p98514


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

php - Satis Composer Repository Installation -