Rename tag name

Started by Birdman, June 29, 2021, 04:09:47 PM

Previous topic - Next topic

Birdman

Hello,
is there a way to directly rename a tag? Or is it necessary to write the contest to the new tag? When exporting a raw file from DxO PhotoLab 4 this programme changes the tag "description" to "description-x-repair" and i would like to rename it to the original name.
Best regards,

Martin (Birdman)

Joanna Carter

I just exported a NEF file, that contains the description and imageDescription tags, to a jpg, from PL4 and got the same two tags written to the jpeg.

1. What is the exact tag in the original file?
2. What type of file is it?
3. Have you raised this in the DxO forums?

StarGeek

As to Joanna's point 1, see FAQ #3 for how to figure out the exact tag name.

If it is indeed different, you would have to copy the new tag back into Description.
exiftool "-Description<TAG" /path/to/files/

Also, if you can share an example file, I'd like to see this other tag.
"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

Birdman

Sorry for the delayed reply!
Quote from: Joanna Carter on June 29, 2021, 06:22:27 PM
I just exported a NEF file, that contains the description and imageDescription tags, to a jpg, from PL4 and got the same two tags written to the jpeg.

1. What is the exact tag in the original file?
2. What type of file is it?
3. Have you raised this in the DxO forums?
That is strange, but the DxO-Support told me the same thing, eventhough we are using the same PL4 version. Are you using PL4 on a mac or with Windows? I am running it under Windows 10, latest updates and exporting Canon CR3-files.

The exact name of the original tag in the CR3 reads: "[XMP-dc] Description"
After the export into a JPG (TIFF is the same): "[XMP-dc] Description-x-repair" The content is identical, but Adobe Bridge is not able to read the "Description-x-repair".

I am in contact with the DxO support and even did send them sample files. But it seems as if there is no renaming after export at their system (like at your system).


Quote from: StarGeek on June 29, 2021, 09:05:40 PM... Also, if you can share an example file, I'd like to see this other tag.
Here are the links to the sample files (large!):
Original CR3: www.mmbici.de/Bilder/Sample-Description.CR3
Exported JPG: www.mmbici.de/Bilder/Sample-Description.jpg
Best regards,

Martin (Birdman)

Phil Harvey

Hi Martin,

The tag in the JPG file is XMP-dc:Description, but the language code is set to "x-repair" for some reason.  To fix this, you can use this command:

exiftool "-xmp:description<description-x-repair" Sample-Description.jpg

See the 5th paragraph here for an indication of what is happening.

- 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 ($).

Birdman

Hi all,

I solved it. Phil's hint to the language made me take a closer look to the preferences of DxO PL4. Under "Processing" the point "Preserve metadata in XMP sidecars for RAW images" was activated. By unselecting this the export files keep the name of the "Description" tag as in the original. I have to tell the DxO-Support, may be this is not as intended. Thanks to all of you!
Best regards,

Martin (Birdman)