Background: image is of variable size, use 120px x 120 px as an example

I know how to use composite to add a layer over a background image.  I'm 
currently doing something like:

convert $file -resize 120 120px_border.png $file -composite $newfile

This works for a fixed size square image to add the rounded corner 
border I made up over the background.  Is there an easier way, perhaps a 
series of 2-3 commands that I can do to both create the overlay 
round-corner graphic, specify the border color with transparent inner 
then lay it above the image?

I would probably run it in a shell or php for loop.

-- 
Bob Meetin
www.dottedi.biz
303-926-0167

On www.Twitter.com/bobmeetin, Facebook, www.linkedin.com/in/bobmeetin, or catch 
my blog at www.dottedi.biz/blog.php

Standards - you gotta love em - with so many to choose from!

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to