Page Blocks

Hosting sponsored by:

Point In Space

 

API: Img

Filename:
fwpImg_format.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_format (Tag)

Description

Uses ImageMagick and PassThru to acquire an image file format parameter of a specified image file. If no parameter is specified the file format is returned.

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

Syntax

fwpImg_format:
   -srcfile = path,
   -param = string;

Parameters & Member Tags

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

-param - optional : any of the following supported format parameter names:

Image, Format, Geometry, Class, Type, Depth, Colors, Profile-APP12,
Resolution, Filesize, Interlace, BackgroundColor, BorderColor, MatteColor,
UndefinedIterations, Compression, Signature, Tainted, Time, ElapsedTime

Examples

[fwpImg_format:'rolloverdemo.psd']

[fwpImg_format:'rolloverdemo.psd', -Depth]

[fwpImg_format:'rolloverdemo.psd', -Resolution]

© 2002-2012, pageblocks.org