Arbortext Command Language > Functions by Alphabetical Listing > graphic_information
  
graphic_information
graphic_information (image, arr)
 
This function fills the array arr with a list of attributes of the specified graphic, image, where image is the full path and file name of the graphic. graphic_information returns 1 if image exists, otherwise, it returns 0.
arr is filled with the following values:
arr['format'] contains the name of the graphic format. If Arbortext Editor does not recognize the format, arr['format'] will be unknown.
arr['resolution'] contains the resolution value (in dpi) if the file has a specified resolution. Otherwise, arr['resolution'] contains 0.
arr['width'] contains the width of the image.
arr['height'] contains the height of the image.