PICTInfo
PICTInfo (pictNameStr)
The PICTInfo function returns a string containing a semicolon-separated list of information about the named picture. If the named picture does not exist, then "" is returned. Valid picture names can be found in the Pictures dialog.
Details
The string contains six pieces of information, each prefaced by a keyword and colon and terminated with a semicolon.
| Keyword | Information Following Keyword | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TYPE | One of the following types: | ||||||||||||||||||||||
| |||||||||||||||||||||||
| BYTES | Amount of memory used by the picture. | ||||||||||||||||||||||
| WIDTH | Width of the picture in pixels. | ||||||||||||||||||||||
| HEIGHT | Height of the picture in pixels. | ||||||||||||||||||||||
| PHYSWIDTH | Physical width of the picture in points. | ||||||||||||||||||||||
| PHYSHEIGHT | Physical height of the picture in points. |
Examples
Print PICTInfo("PICT_0")
will print the following in the history area:
TYPE:PICT;BYTES:55734;WIDTH:468;HEIGHT:340;PHYSWIDTH:468;PHYSHEIGHT:340;
See Also
The ImageLoad operation for loading PICT and other image file types into waves, and the PICTList function.