Page 1 of 1

Re: Using identify to confirm image type without extension ?

Posted: 2008-03-04T10:47:02-07:00
by magick
Try, for example,
  • identify -format "%m" -ping tga:FILENAME
This forces ImageMagick to interpret the image as Targa.