API: Img
Filename:
fwpImg_frame.ctag
Released With:
5.0.0
Current Version:
1.1.1
Status: Active
Min Lasso Tested: 8.1.0
Max Lasso Tested: 8.5.3
Related:
Still don't get it?
Check out the talk list archives, or join and ask your questions.
Documentation Error or Request?
Email documentation corrections or comments
Uses ImageMagick and PassThru to add a frame around the perimiter of a specified image file.
Use this custom tag format, or the fwp_imageFile custom type format.
fwpImg_frame: -srcfile = path, -destfile = path, -width = integer, -height = integer, -bevelin = integer, -bevelout = integer, -mattecolor = string|#000000;
-srcFile - required : a qualified pathname to the image file to be modified
-destFile - required : a qualified pathname for the new image file
-width - optional : number of pixels wide the frame should be in total. Default is 1.
-height - optional : number of pixels high the frame should be in total. Default is 1.
-bevelin - optional : number of pixels the frame should be beveled inward. Default is 0.
-bevelout - optional : number of pixels the frame should be beveled outward. Default is 0.
-mattecolor - optional : the fill color of the frame. Use either english names as found in the colors.mgk file, or use #RRGGBB values. Default is black.
[fwpImg_frame: -srcfile = $myImagePath, -destfile = $myImageNewPath, -width = 10, -height = 10, -bevelin = 10, -mattecolor = 'red']
© 2002-2010, pageblocks.org