Cannot update Artist EXIF tag

Started by hotshoe, October 27, 2017, 01:22:14 AM

Previous topic - Next topic

hotshoe

Hi. New to ExifTool and forum. Thank you for your fine contribution!!

I was banging my head against wall trying to update Artist metadata property from Perl script, only to discover it's not working from command line either.

E.g., '$ exiftool -artist=roland foo.raf' from command line.

However, same command line and perl script have no issues updating Author property.

Any ideas?

Thanks again,

-Roland.


StarGeek

What is the output when you run that command?
"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 Roland,

Add the -v2 option to your command to see what is happening.  Artist is an EXIF tag, while Author is an XMP tag.  ExifTool should be able to write either to a RAF file.  Here is what I get for a RAF from an X30:

> exiftool -ver
10.64
> exiftool a.raf -artist=phil -v2
Writing PNG:Artist
Writing Pentax:Artist if tag exists
Writing XMP-tiff:Artist if tag exists
Writing XMP-xmpDM:Artist if tag exists
Writing IFD0:Artist
======== a.raf
Rewriting a.raf...
  Editing tags in: APP0 APP1 CIFF ExifIFD IFD0 JFIF MakerNotes PNG XMP
  Creating tags in: APP1 IFD0 PNG
JPEG APP1 (65448 bytes):
  Rewriting IFD0
    + IFD0:Artist = 'phil'
  Rewriting ExifIFD
  Rewriting MakerNoteFujiFilm
  Rewriting InteropIFD
  Rewriting IFD1
JPEG DHT (416 bytes):
JPEG DQT (130 bytes):
JPEG DRI (2 bytes):
JPEG SOF0:
JPEG SOS
    1 image files updated
> exiftool a.raf -author=phil -v2
Writing PDF:Author if tag exists
Writing PNG:Author
Writing PostScript:Author
Writing MIE-Doc:Author
Writing XMP-pdf:Author
Writing XMP-acdsee:Author if tag exists
Writing XMP-xmp:Author if tag exists
======== a.raf
Rewriting a.raf...
  Editing tags in: APP1 MIE-Doc PDF PNG PostScript XMP
  Creating tags in: APP1 MIE-Doc PNG PostScript XMP
JPEG APP1 (11484 bytes):
Creating APP1:
  Creating XMP
    + XMP-pdf:Author = 'phil'
JPEG DHT (416 bytes):
JPEG DQT (130 bytes):
JPEG DRI (2 bytes):
JPEG SOF0:
JPEG SOS
    1 image files updated


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