|
IDL Reference Guide: Procedures and Functions |
|
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.
Result = QUERY_JPEG ( Filename [, Info] )
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.
A scalar string containing the pathname of the JPEG file to query.
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. |
None.
QUERY_* Routines, READ_JPEG, WRITE_JPEG
IDL Online Help (March 06, 2007)