- identify -format "%m" -ping tga:FILENAME
Using identify to confirm image type without extension ?
Re: Using identify to confirm image type without extension ?
Try, for example,