resampling image with perl module while keeping IPTC and EXIF data

Started by Archive, May 12, 2010, 08:53:51 AM

Previous topic - Next topic

Archive

[Originally posted by aneumann on 2005-10-29 19:23:36-07]

Hi all,

I want to create my own customized version of a HTML image gallery generator and am looking for a perl module that can resample images but should keep all metadata (EXIF, IPTC). Is there any perl module you can recommend me for that purpose? Or would I need to read out all metadata with Image-ExifTool and then apply the read out metadata to the newly created resampled version?

Thanks for any ideas,
Andreas

Archive

[Originally posted by exiftool on 2005-10-29 22:03:03-07]

I just use 'convert' to resample for my web galleries.  I've written my cataloguing software so it always uses the information from the original image (which is available if you click the resampled image), so it isn't a problem for me if the resampled image doesn't contain meta information. You may consider doing this with your gallery.

But if that isn't feasible, I would suggest using whatever is convenient to resample the image, and then copying over the meta information with ExifTool if the resampling software drops it.

Archive

[Originally posted by aneumann on 2005-11-08 22:26:37-08]

sorry for my late reply - was away for a week. ImageMagick (convert) worked perfectly fine and preserved all the metadata.

Thank you for the suggestion,
Andreas