Cannot change exif-values anew when tey have been set with an older version

Started by uher, July 08, 2024, 11:44:48 AM

Previous topic - Next topic

uher

In the past I have set some exif-values using version 12.70. When I now try to change them again with a newer version (I have tried 12.84 or 12.87) I always get following error:
    Error: [minor] Error copying hidden data - <filename>
    0 image files updated
    1 files weren't updated due to errors

If I switch back to the older version 12.70, then all works as expected, no errors.

So what is going wrong?

Kind regards
Ulrich Herrmann

StarGeek

What kind of file is it and can you share a sample file?  No way for us to know what's wrong if we can't actually look at it.

Looking at the version history, it might be because of Version 12.72, which says

QuoteFixed writing of JPG/ARW images from some newer Sony models to preserve HiddenData
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Hi Ulrich,

Versions before 12.72 didn't handle the hidden data properly.  If you used an older version to edit an ARW file then the hidden data would be lost.  I don't know what this data is for, and I haven't seen any effect due to it being missing.  However, with 12.72 or later you will need to add the -m option to ignore the minor warning to be able to write these files.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

uher

#3
Thank you for your answers. The -m option did it, the value is written, but I still get an error-message. The output now is:
    Warning: Error copying hidden data - <filename>
    1 image files updated

The warning is not suppressed with the -m option?

Some additional information:
The image-file is an arw-file from a Sony camera (Alpha7R5).
My OS is Windows11, newest version.

Phil Harvey

The -m option downgrades minor errors to warnings.  The warning may be suppressed using -q -q or via the API NoWarning option.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).