read JPEG image header, determine dimensions and number of components. return false if image is not JPEG (i hope).
read JPEG image header, determine dimensions and number of components. return false if image is not JPEG (i hope).