#include <jpeglib.h>
boolean jpeg_has_multiple_scans(j_decompress_ptr cinfo);
boolean jpeg_has_multiple_scans
jpeg_has_multiple_scans() shall return TRUE if the incoming image file has more than one scan.
TRUE for multiple scans, FALSE otherwise.