The Usage guide :
Command: picframe [-f frameid] [-m mattesize] [-c mattecolor] [-b bordersize] [-s shade] [-a adjust] [-o opacity ] [-d distance] infile outfile
-f frameid : is the id number of the picture frame. Basically for this framing to work, you need to follow a certain convention. For adding a custom frame, you need to cut out a square section from the lower right corner of a picture frame, whose dimensions are the thickness of the frame and place it in a directory with a name of “brcorner#.png” where # is any valid integer number(you can change the brcorner to any other valid name too, but for that to work, you need to change in the picframe script as well).
-m mattesize : is the thickness in pixels for the optional matte around an image. The default is 0 or no matte.
-c mattecolor : is the color of the optional matte surrounding the image. Any valid color is allowed. Do remember to put the color code inside double quotes.
-b bordersize : is the thickness of the optional black border around the image. The default is 0 or no black border.
-s shade : is the percentage shading from an upper left light source. Values can be anything from the range of 0 to 100. Default is 0 or no shading.
-a adjust : is for adjusting the brightness, saturation and hue of the frame.
-o opacity : is the inner shadow opacity for upper and left sides. Values can be anything in the range of 0 to 100 & must be integers. The default value is set at 50.
-d distance : is the inner shadow distance in pixels for upper and left sides. Values can be any integer number greater than zero. If distance is set to zero, then no shadow will be created. The default value is set at 0.
infile : the input picture file path
outfile :the path where you want to store the framed picture image.
Other than this picframe script, imagemagick has got numerous other script which can do wonders to images, like 3DReflection, colorbalance, gaussian effect,kaleidoscopic effect, recursion effect, shapemorph effect and many more.
So this is all regarding imagemagick bash script.
Also other simple feature like rotating, resizing, cropping an image can be done in a snap using the imagemagick(simple one, here you don’t need these bash scripts).
To learn more about imagemagick bash scripts, please visit the following url:www.fmwconcepts.com/imagemagick/index.php
To learn more about imagemagick, please visit the following url:www.imagemagick.org/script/index.php