Table of Contents

GETIMAGEINFO method (System)

Description

This method returns some basic information about an image file.

Syntax

ImageInfo = Exec_Method( "SYSTEM", "GETIMAGEINFO", FileName )

Parameters

NameRequiredDescription
FileNameYesName and path of the image file to query.

Returns

An @fm delimited array of image information formatted as follows:

<1> Image Width (pixels)

<2> Image Height (pixels)

<3> Image FrameCount

Remarks

N/A

Example

 
// Get the dimensions of an image

   

   ImageInfo = Exec_Method( "SYSTEM", "GETIMAGEINFO", "c:\temp\test.png"

   

   ImageWidth  = ImageInfo<1>

   ImageHeight = ImageInfo<2>
 
 
 

See Also

IMAGE API