Image::IPTCInfo

Image::IPTCInfo is a Perl extension for extracting IPTC image meta-data.
Download

Image::IPTCInfo Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Josh Carter
  • Publisher web site:
  • http://search.cpan.org/~jcarter/Image-IPTCInfo-1.95/IPTCInfo.pm

Image::IPTCInfo Tags


Image::IPTCInfo Description

Image::IPTCInfo is a Perl extension for extracting IPTC image meta-data. Image::IPTCInfo is a Perl extension for extracting IPTC image meta-data.SYNOPSIS use Image::IPTCInfo; # Create new info object my $info = new Image::IPTCInfo('file-name-here.jpg'); # Check if file had IPTC data unless (defined($info)) { die Image::IPTCInfo::Error(); } # Get list of keywords, supplemental categories, or contacts my $keywordsRef = $info->Keywords(); my $suppCatsRef = $info->SupplementalCategories(); my $contactsRef = $info->Contacts(); # Get specific attributes... my $caption = $info->Attribute('caption/abstract'); # Create object for file that may or may not have IPTC data. $info = create Image::IPTCInfo('file-name-here.jpg'); # Add/change an attribute $info->SetAttribute('caption/abstract', 'Witty caption here'); # Save new info to file ##### See disclaimer in 'SAVING FILES' section ##### $info->Save(); $info->SaveAs('new-file-name.jpg');Ever wish you add information to your photos like a caption, the place you took it, the date, and perhaps even keywords and categories? You already can. The International Press Telecommunications Council (IPTC) defines a format for exchanging meta-information in news content, and that includes photographs. You can embed all kinds of information in your images. The trick is putting it to use.That's where this IPTCInfo Perl module comes into play. You can embed information using many programs, including Adobe Photoshop, and IPTCInfo will let your web server -- and other automated server programs -- pull it back out. You can use the information directly in Perl programs, export it to XML, or even export SQL statements ready to be fed into a database. Requirements: · Perl


Image::IPTCInfo Related Software