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 2010-02-17 20:43:20.114721-08 by odog502 in response to 12418
Re: Should XPComment changes affect Exif Byte Order and File Mod Time?

Phil, Thanks for the explanation. That was exactly the information I was looking for. I just wanted to make sure that you were aware of and could explain the differences in my results, and you did. Im actually surprised that windows XP fails at a function as fundamental as changing file properties. All my experiments I was doing with test copies of pics so I didn't corrupt any originals in the process. After your explanation I feel safe using your ExifTool on my pics now.

Jim, just to clarify: My file Modification times were NOT changing when using the ExifTool, but this was intentional. If you look above at the command I was using, I included the "-P" flag(that Phil also mentioned) to keep this property from changing.

Jim's comment also got me curious to see if Vista and Windows 7 corrupt as much as XP does. So I tried the same experiment on a vista and windows 7 machines and heres what I got when I MANUALLY changed the comments with those operating systems:

Windows 7
- File Modification Date/Time was changed(however, unlike XP it actually changed it to the correct current date)
- File size changed(duh) and XPComment changed(duh)
- Interoperability Index is still deleted
- Offset Schema and Padding properties are added
- Various thumbnail properties are altered

The results for Vista were the same as windows 7 except for the following:
- Vista did NOT delete the Interoperability property like win 7 did(strange)
- Vista adds an "about" property that has a hex value in it
- Vista adds a "user comment" property which is redundant to the "XPComment" property that it also adds.

So I guess in conclusion, Vista and 7 still seem to screw up the properties a little bit, but at least its not quite as bad as XP.

I will definitely only be using ExifTool for making any types of changes to my pics metadata. Thanks for making this awesome tool, Phil.

Direct Responses: Write a response