Search found 4 matches

by artshevtsov
2013-05-15T17:28:40-07:00
Forum: Users
Topic: -shadow like photoshop inner-shadow on rounded rectangle
Replies: 23
Views: 42224

Re: -shadow like photoshop inner-shadow on rounded rectangle

Can you provide a better example from Photoshop that is not evenly shaded like you want? Of course ;) It's interesting! Layer we work with, rounded rectangle again: http://artshevtsov.ru/button.png I need to get 1 command that can provide me Inner Shadow effect with different values of parameters ...
by artshevtsov
2013-05-15T04:53:49-07:00
Forum: Users
Topic: -shadow like photoshop inner-shadow on rounded rectangle
Replies: 23
Views: 42224

Re: -shadow like photoshop inner-shadow on rounded rectangle

This will make your gray inner shadow like image: convert \( -size 220x50 xc:none -fill '#bdbdbd' -draw 'roundrectangle 0,0 219,49 25,25' \) \ \( -clone 0 -alpha extract \) \ \( -clone 0 -bordercolor none -border 9 -channel rgba -blur 9x65000 -shave 9x9 \) \ -delete 0 +swap -alpha off -compose copy ...
by artshevtsov
2013-05-14T12:11:40-07:00
Forum: Users
Topic: -shadow like photoshop inner-shadow on rounded rectangle
Replies: 23
Views: 42224

Re: -shadow like photoshop inner-shadow on rounded rectangle

fmw42 wrote:Your IM version is rather old and may be the cause of the artifact. You should consider upgrading.
Thanks for your reply, I'll try to upgrade.

And what about inner-shadow? I still can't make it work fine. Can somebody help with that?
by artshevtsov
2013-05-14T09:00:30-07:00
Forum: Users
Topic: -shadow like photoshop inner-shadow on rounded rectangle
Replies: 23
Views: 42224

-shadow like photoshop inner-shadow on rounded rectangle

I'm trying to create a Photoshop inner-shadow effect, same as 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 an image - it's ok ...