This method returns some basic information about an image file.
ImageInfo = Exec_Method( "SYSTEM", "GETIMAGEINFO", FileName )
Name | Required | Description |
---|---|---|
FileName | Yes | Name and path of the image file to query. |
An @fm delimited array of image information formatted as follows:
<1> Image Width (pixels)
<2> Image Height (pixels)
<3> Image FrameCount
N/A
// Get the dimensions of an image ImageInfo = Exec_Method( "SYSTEM", "GETIMAGEINFO", "c:\temp\test.png" ImageWidth = ImageInfo<1> ImageHeight = ImageInfo<2>
IMAGE API