ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl print qq|Content-Type: text/html \n\n|; use Image::IPTCInfo; my $file = '/home/www/images/test/nova-1.jpg'; my $k = Image::IPTCInfo->new( $file ); # || die Im +age::IPTCInfo::Error(); # my $info = new Image::IPTCInfo('file-name-here.jp +g'); # Check if file had IPTC data unless (defined($k)) { die Image::IPTCInfo::Erro +r(); } print "DATE WAS: " . $k->Attribute( 'date created' + ); print "END";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Image::IPTCInfo doesn't seem to work :/
by bellaire (Hermit) on Mar 12, 2009 at 14:06 UTC | |
by ultranerds (Hermit) on Mar 12, 2009 at 14:10 UTC | |
by ultranerds (Hermit) on Mar 13, 2009 at 15:24 UTC | |
by ultranerds (Hermit) on May 01, 2009 at 11:09 UTC |