[magick-users] Frustrated with -page

Nathanial Ziarek nathanial.ziarek at mu.edu
Mon Jul 10 08:38:12 PDT 2006


My goal is to add a white border and a drop shadow to an image. I  
can't tell you how frustrating it is not to be able to accomplish  
this, but I just don't understand how IM uses "-page" no matter how  
many samples I look at on Anthony's web site.

Here's what I've got so far (ripped pretty much directly from Anthony):

convert -page +10+10 pic3.png -bordercolor white -border 10 \( +clone  
-background black -shadow 80x5+0+2 \) -background white +swap - 
flatten tater.png

I want the drop shadow to go straight down - I don't want it off to  
the left or right. This command gives me something tantalizingly  
close, but pushes the right/lower end of the image right off the  
image. If I do a "normal" drop shadow (one that looks like the light  
source is at the upper-left  and the shadow is at the lower right) it  
works no problem. However, I can not find any way to "pad" the image  
to get the entire shadow showing.

Seems simple. Why does it have to be so complex?

Thanks for any suggestions,

Nate


More information about the Magick-users mailing list