guides:programming:programmers_reference_manual:getimageinfo_method_system

GETIMAGEINFO method (System)

This method returns some basic information about an image file.

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

NameRequiredDescription
FileNameYesName 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

  • guides/programming/programmers_reference_manual/getimageinfo_method_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1