in reply to Removing EXIF profiles with Perl Image-Magick

Hi, thanks for your reply! I'm now removing the EXIF and XMP Profiles using $image->Profile(name=>'profilename',profile=>' ') for each. Is this method recommended?

I'm also looking into how to remove the extra gibberish in the IPTC Profile. There's only a limited number of IPTC fields that I need, so is there a way to remove everything in the IPTC Profile except for a specified list of fields?

Thanks and regards,
Ralph

Replies are listed 'Best First'.
Re^2: Removing EXIF profiles with Perl Image-Magick
by zentara (Cardinal) on Sep 08, 2006 at 18:58 UTC
    I'm not familiar enough with all the different terms, to know what is the best way to do it. Have you looked at the exiftool utility script that comes with Image-ExifTool? A quick lookthru at it's perldoc, seems to indicate that you can rewrite the IPTC Profile using certain fields only. You may have to save the current info and delete it out of the file, then process it, and rewrite it into the file. The exiftools script has a very nice perldoc with examples for doing almost everything. It's a bit too complex for me to delve into "just for fun". :-)

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum