#!/usr/bin/perl -w use strict; use Image::Info qw(image_info); use Data::Dumper; while (@ARGV) { print Dumper(image_info(shift)), "\n"; }