I am using the Image::MetaData::JPEG module to read an image's header information. I have the following:
my @files = </dir/*jpg>;
for (@files) {
my $image = new Image::MetaData::JPEG( $_ ) or die $!;
print $image . "\n";
}
This returns "Image::MetaData::JPEG=HASH(0x189b218)".
I've read through the module but how do I actually get the header info in a usable format?