Page Blocks

Hosting sponsored by:

Point In Space

 

API: Img

Filename:
fwpImg_convert.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_convert (Tag)

Description

Uses ImageMagick and PassThru to convert a specified image file to another specified type. Conversion is accomplished with ImageMagick's mogrify command. The new file is named identical to the source file except that the file extension will (presumably) be different.

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

Syntax

fwpImg_convert:
   -srcfile = path,
   -type = string;

Parameters & Member Tags

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

-type - required : any supported file type (i.e. TIFF, GIF, JPEG, etc). Refer to the ImageMagick documentation of your platfom for supported formats.

Examples

[fwpImg_convert:
   -srcfile =  $testImage,
   -type = 'gif']

© 2002-2012, pageblocks.org