Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
AFAIK, and according to some emails I exchanged with the maintainer, doing the right thing with image metadata is a PITA. There are many formats, each one slightly incompatible with the other... and it's easy to get trapped.

Moreover, the MakerNotes has additional issues, and it's clearly stated in the docs that it might be read as a whole block instead of single items. Try to see the MakerNotes option (that defaults to 0, i.e. "Do not extract writable subdirectories"). Even worse things can happen if you play with the preview, because this seems not to be guaranteed to be small enough to make all the image formats happy, and tends to be left out when copying metadata from one file to another (e.g. to restore metadata on some photo you have worked on). You have to go through some loops to get the data back safely.

The bottom line is that Image::ExifTool is a wonderful module, but it has quite a few glitches when it comes to writing metadata, especially MakerNotes ones.

Last, but not least, take into account that exiftool (the program) generates "fake" metadata as well, taking as input stuff like file size, file date, etc. These tend to be read-only, so don't lose too much time trying to modify them.

perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Io ho capito... ma tu che hai detto?

In reply to Re: (Solved) Change "Date Picture Taken" with Image::ExifTool by polettix
in thread (Solved) Change "Date Picture Taken" with Image::ExifTool by Limbic~Region

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (3)
    As of 2020-10-25 00:43 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My favourite web site is:












      Results (248 votes). Check out past polls.

      Notices?