Skip to main content

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.

KeywordInformation Following Keyword
TYPEOne of the following types:
DIB
Encapsulated PostScript
Enhanced metafile
JPEG
PDF
PNG
SVG
TIFF
Windows bitmap
Windows metafile
Unknown type
BYTESAmount of memory used by the picture.
WIDTHWidth of the picture in pixels.
HEIGHTHeight of the picture in pixels.
PHYSWIDTHPhysical width of the picture in points.
PHYSHEIGHTPhysical 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.

Pictures, Pictures Dialog, StringFromList