in reply to Extract details from image files

you can use Imagemagick and its perl binding: perlmagick