[Originally posted by robster on 2007-10-19 19:40:47-07]I'm trying to write IPTC information into EPS files but do not see the desired output. Here's how my code looks:
$et = new Image::ExifTool;
($success, $errStr) = $et->SetNewValue('Source',"Source");
my $result = $et->WriteInfo($source_file);
Even though I do not get any error message, I don't see the information when I view the image using Photoshop CS2.
Would any one now why?
Thank you.
[Originally posted by exiftool on 2007-10-19 22:16:12-07]
Can you use the exiftool application to verify that the
information was written? I verified here that PS7 will
display IPTC:Source as written by exiftool for a sample
EPS image I had laying around. If it doesn't work for you,
then the only things that are different are the EPS image
and the PS version. If you send me the EPS I can test it
out here (mail to philharvey66 at gmail.com), and
possibly figure out what is going wrong.
Also, you should the return value of WritteInfo(). While
a return value of 0 indicates an error (then check the
"Error" tag for a reason), but there is no error yet nothing
was changed if the return value is 2. Only with a return
value of 1 will the file be changed.
- Phil