Shadow using image magick

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
ratneshsoni
Posts: 38
Joined: 2010-12-14T03:56:10-07:00
Authentication code: 8675308

Shadow using image magick

Post by ratneshsoni » 2012-01-30T10:59:20-07:00

HI
Greetings of the day.

I have problem while giving shadow in image. In this i have two images one generated by flash and another one is using imagemagick.
Difference between two images which created by using flash and imagemagick is that in flash we have bottom-left shadow where as by image magick it is giving top-left shadow.
I try it is giving me bottom-right or top-left shadow but i want bottom-left shadow using imagemagick.......

I WANT SAME SHADOW WHICH I GET FROM FLASH THAT IS BOTTOM-LEFT SHADOW.
PLEASE HELP ME........

there are these two images.

Image generated using flash
Image

Image generated using
Image


PLEASE HELP ME IN DOING THIS...

I am waiting for your response....

User avatar
fmw42
Posts: 25259
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Shadow using image magick

Post by fmw42 » 2012-01-30T11:32:07-07:00

Use negative offset terms in your -shadow. See last example at http://www.imagemagick.org/Usage/blur/#shadow

Post Reply