ExifTool Forum

ExifTool => Newbies => Topic started by: registryLogE on September 30, 2023, 09:38:24 AM

Title: Error setting InitialEditCaptureTime to null
Post by: registryLogE on September 30, 2023, 09:38:24 AM
An error displays when removing tag InitialEditCaptureTime by setting the value to null:

Warning: Tag 'XMP-kbrg:InitialEditCaptureTime' is not defined
Nothing to do.
exiftool.exe -XMP:XMP-kbrg:InitialEditCaptureTime= FILE.jpg

exiftool.exe -u -G1 -v2 FILE.jpg
  ExifToolVersion = 12.67
  FileName = FILE.jpg
JPEG APP1 (5898 bytes):
  + [XMP directory, 5869 bytes]
  | [adding XMP-kbrg:InitialEditCaptureTime]
  | InitialEditCaptureTime = 2023-01-01T01:01:01-00:00
  | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/kbrg:InitialEditCaptureTime'

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 9.1-c001 79.a8d4753, 2023/03/23-08:56:37        ">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:dc="http://purl.org/dc/elements/1.1/"
            xmlns:kbrg="http://ns.adobe.com/bridge/1.0/"
            xmlns:xmp="http://ns.adobe.com/xap/1.0/"
            xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
            xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
            xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
            xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
            xmlns:exif="http://ns.adobe.com/exif/1.0/"
            xmlns:tiff="http://ns.adobe.com/tiff/1.0/">
        <dc:format>image/jpeg</dc:format>
        <kbrg:InitialEditCaptureTime>2023-01-01T01:01:01-00:00</kbrg:InitialEditCaptureTime>
        <xmp:CreatorTool>Adobe Photoshop 25.0 (Windows)</xmp:CreatorTool>

Any help is appreciated.
Title: Re: Error setting InitialEditCaptureTime to null
Post by: registryLogE on October 01, 2023, 07:51:37 PM
exiftool.exe -XMP-kbrg:all= FILE.jpg
The above command removed the 'kbrg' tags, including the InitialEditCaptureTime.
Title: Re: Error setting InitialEditCaptureTime to null
Post by: StarGeek on October 01, 2023, 08:16:01 PM
Exiftool can't edit tags it doesn't know about.  As the error says, that tag is not defined. Exiftool doesn't have a definition for any tag in the XMP-kbrg group.  Doing a search with several different search engines pulls up this post as the only source of "XMP-kbrg".

Do you have any information about what program wrote this data?
Title: Re: Error setting InitialEditCaptureTime to null
Post by: Phil Harvey on October 06, 2023, 08:09:51 AM
You can create user-defined tags for any tags you want to write (or delete) that aren't already in ExifTool's list of standard tags (http://exiftool.org/TagNames/).  See the example config file (https://exiftool.org/config.html) for examples on how to use a config file to define new tags.

- Phil