QUERY_GIF is a method of obtaining information about a GIF image file without having to read the file. See QUERY_* Routines for more information.

Syntax


Result = QUERY_GIF ( Filename [, Info] )

Return Value


This routine returns a long with the value of 1 (one) if the query was successful (and the file type was correct) or 0 (zero) on failure.

Arguments


Filename

A scalar string containing the pathname of the GIF file to query.

Info

Returns an anonymous structure containing information about the image in the file. The Info.TYPE field will return the value ‘GIF’.

Note: See QUERY_* Routines for detailed structure info.

Keywords


None

Version History


5.2

Introduced

See Also


QUERY_* Routines, READ_GIF, WRITE_GIF