Not strictly a Perl solution but ImageMagick comes with a utility called identify which prints out image attributes in a nice parseable format. Or you could use the Perl interface to ImageMagick, PerlMagick, which others have mentioned.
--
Murray Barton
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho
In reply to Re: how do read & display file attributes
by greenFox
in thread Reading and displaying JPEG attributes
by tech2040
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |