dumpimage: add 'T' option to explicitly set the image type