I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-02-22 12:00:28-08 by bogdan in response to 10043
Re: Need help to change the Exif's Focal Length in a .JPG file
Hi,

Try with:
exiftool -exif:FocalLength=50 MyImage.tif

Above works, but there's a problem I've noticed when using PSP X2 (v12.5). That is, PSP doesn't save Makernotes as it should (that is: Makernotes section is somewhat corrupt).
Because of that, exiftool will (by default) refuse to write into such image file. To make writting possible, you should use:
exiftool -m -exif:FocalLength=50 MyImage.tif
-which ignores "m"inor errors and thus writes metadata

Of course, you can delete complete existing Makernote section (it became useless anyway) and write FocalLength as shown in first example.

Greetings,
Bogdan
Direct Responses: Write a response