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