Page Blocks

Hosting sponsored by:

Point In Space

 

API: Img

Filename:
fwpImg_rotate.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

API Reference

fwpImg_rotate (Tag)

Description

Uses ImageMagick and PassThru to rotate, flip, or flop a specified image file.

Use this custom tag format, or the fwp_imageFile custom type format.

Syntax

fwpImg_rotate:
   -srcfile = path,
   -destfile	 = path,
   -angle = integer|'flip'|'flop',
   -bgcolor = string|#RRGGBB;

Parameters & Member Tags

-srcFile - required : a qualified pathname to the image file to be modified

-destFile - required : a qualified pathname for the new image file

-angle - required : an integer value for degrees (0-360), or the string 'flip' to mirror the image vertically, or 'flop' to mirror the image horizontally

-bgcolor - optional : a string of an english color name in the color.mgk file or use #RRGGBB.

Examples

[fwpImg_rotate:
   -srcfile = $srcFilePath,
   -destfile = 'ford-gt40-ROTATE.jpg',
   -angle = 30,
   -bgcolor = '#cccc99'];

© 2002-2012, pageblocks.org