IDL

QUERY_JPEG

QUERY_JPEG

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

Syntax


Result = QUERY_JPEG ( 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 JPEG file to query.

Info

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

Note: See General Query * Routine Info Structures for detailed structure information.

Keywords


None.

Version History


5.2

Introduced

See Also


QUERY_* Routines, READ_JPEG, WRITE_JPEG

Notes


This page has no user notes yet. Be the first one!


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2014 Exelis Visual Information Solutions