hvdwolf / jExifToolGUI

jExifToolGUI is a multi-platform java/Swing graphical frontend for the excellent command-line ExifTool application by Phil Harvey
https://hvdwolf.github.io/jExifToolGUI/
GNU General Public License v3.0
461 stars 38 forks source link

Repair tool correctly fixes corrupt usercomment but changes imagedescription to description #210

Open mgray06 opened 2 years ago

mgray06 commented 2 years ago

**Version V1.10.0

Describe the bug jExifToolGUI correctly creates an imagedescription tag when editing exif data Pix creates an imagedescription tag and a corrupt usercomment tag when creating a description The jExifToolGUI repair tool correctly fixes this corrupt usercomment but changes the imagdescription to a description tag This matters to me because I have code extracting imagedescription for all my images To Reproduce Steps to reproduce the behaviour: 1.Use Linux Mint Pix to create a description of an image

  1. exiftool -imagedescription reveals problem with usercomment
  2. Use jExifToolGUI repair on the image 4.exiftool -imagedescription shows nothing
  3. exiftool -description shows the description origninaly entered
hvdwolf commented 2 years ago

I think this is not jExifToolGUI. I think it is exiftool itself writing to "default" tags instead of deprecated tags, in this case from exif:imagedescription to xmp-dc:description. Can you please directly try with exiftool to repair the same image(s) exiftool -all= -tagsfromfile @ -all:all -unsafe corrupt_exif.jpg And then check again?

Further: If this is indeed the default functionality from exiftool, I can't really change it (right now). What you can do in the exiftool commands tab for the selected images to do a: exif:imagedescription<xmp-dc:description This should rewrite the "new" tag also to the "old" tag. And if that works, save it as a favorite for later use.