Current I am able to get the file format using identify -verbose filename.hpg
, I get Format: JPEG (Joint Photographic Experts Group JFIF format)
from the array.
How can I return this exact same line using the -format option,
example: identify -verbose -format "%XXX" filename.hpg
whereas XXX is the format charcter to return Format: JPEG (Joint Photographic Experts Group JFIF format)