pictformat()

Function group Execute on client Platform(s)
Picture NO Win, Mac

Syntax

pictformat(source-data)

Description

Returns a character string which indicates the picture format of the binary source-data. See pictconvfrom() for details of possible formats.

Note that there are certain formats that pictformat() cannot recognize (for example, OLE data, GIF), and in these cases, pictformat() returns an empty string.

Example

Calculate lFormat as  pictformat(lJpegData)
# returns "JPEG"