1 2 3 4 5 6 7 8 9
use std::env; extern crate imghdr; fn main() { for path in env::args().skip(1) { println!("{:?}", imghdr::from_file(&path)); } }