in reply to Re: How do I find the type of an image?in thread How do I find the type of an image?
#!/usr/bin/perl -w use strict; use Image::Info qw(image_info); use Data::Dumper; while (@ARGV) { print Dumper(image_info(shift)), "\n"; } [download]