Main Menu

Recent posts

#1
Newbies / custom tag
Last post by ofelia - Today at 01:49:02 AM
I created a custom tag named "APP",  but after writen the tag into a picture, the tag automaticaly became "App", what should I do if I want the tag to keep what it was, following is my config file:
%Image::ExifTool::UserDefined = (
    'Image::ExifTool::XMP::Main' => {
        CUSTOM => {
            SubDirectory => {
                TagTable => 'Image::ExifTool::UserDefined::CUSTOM',
            },
        },
    },
);
%Image::ExifTool::UserDefined::CUSTOM = (
    GROUPS => { 0 => 'XMP', 1 => 'XMP-CUSTOM', 2 => 'Other' },
    NAMESPACE => { 'CUSTOM' => 'http://yourdomain.com/xmp/custom/1.0/' },
    WRITABLE => 'string',
    APP => {
      Name => 'APP',
      Writable => 'string'
    },
);
#2
Metadata / Re: Remove Photoshop Ancestors...
Last post by StarGeek - Today at 12:05:40 AM
Quote from: Phil Harvey on July 02, 2025, 08:34:15 PMBut I can't help with the Xinet-specific details.

To be fair, you already did help. The reason I asked for a sample was because I suspected that there was probably more tags than in your original config. I was planning on updating that config file.
#3
Metadata / Re: Remove Photoshop Ancestors...
Last post by Phil Harvey - July 02, 2025, 08:34:15 PM
There are no Perl files in the example you linked.  However, there are shell scripts, and you could run exiftool commands from them (using the command-line interface -- no need to use the Perl API).

But I can't help with the Xinet-specific details.

- Phil
#4
Bug Reports / Feature Requests / Re: Bug with -fileNUM option
Last post by Phil Harvey - July 02, 2025, 08:20:57 PM
Great, thanks for this report, and for the detailed description to allow this bug to be reproduced.

This will be fixed in version 13.32.

- Phil
#5
Asking wouldn't help, even if they answered (which they wouldn't).  I know what to do already.  The problem is the work involved in doing it.

- Phil
#6
Bug Reports / Feature Requests / Re: Adding QuickTime:Rotation ...
Last post by golemus - July 02, 2025, 01:50:44 PM
Quote from: Phil Harvey on July 01, 2025, 07:33:39 PMExifTool can edit QuickTime:Rotation if it exists, but can't yet create it if it doesn't.

The reason is because of the overly-complex format of HEIC, and the associated difficulty adding this feature.  But I'll add this to my to-do list, and maybe I'll find some time to look into it.

- Phil

Maybe you could ask insights/help from MS Photos team @ Microsoft or related team @ Apple? As they have already done it. Or is their policy to ignore open source developers? I really don't know how these things work. Anyway reinventing the whole wheel feels a bit pointless. IMO its not like NTFS where MS made (AFAIK) open source community to reverse-engineer the whole thing. Even MS/Apple might benefit from these formats becoming more common as they host a lot of content which consumes a lot of bandwidth.

Anyway is it not kind of 2 flies with one hit problem as both HEIC and AVIF share the same HEIF container format? So that if you solve it for HEIC it is at same time solved for AVIF?
#7
Metadata / Re: Custom Photoshop XMP Info ...
Last post by aorta - July 02, 2025, 12:27:54 PM
Sorry here is the sample file with XMP data written
#8
Metadata / Re: Custom Photoshop XMP Info ...
Last post by aorta - July 02, 2025, 11:24:28 AM
Here is a sample file with some Xinet fields written.

xmlns:xwnv="http://ns.xinet.com/ns/xinetschema#"

<xwnv:usage_start_date>2025-07-03</xwnv:usage_start_date>
         <xwnv:usage_end_date>2026-07-02</xwnv:usage_end_date>
         <xwnv:smyths_buyers>alanor@spurious.com</xwnv:smyths_buyers>
         <xwnv:smyths_special_instructions>Retouch special instructions</xwnv:smyths_special_instructions>
         <xwnv:URGENT>True</xwnv:URGENT>
         <xwnv:Region>UKI</xwnv:Region>
         <xwnv:FILEID>27358438</xwnv:FILEID>
#9
Metadata / Re: Custom Photoshop XMP Info ...
Last post by StarGeek - July 02, 2025, 11:00:31 AM
I have serious doubts that it is possible, but I'd be happy to be proven wrong.

BTW, do you happen to have an image with Xinet metadata that you can share? There's a config file for writing such data, but it's very old, and I think it was incomplete even then.
#10
Bug Reports / Feature Requests / Bug with -fileNUM option
Last post by ywzc - July 02, 2025, 10:04:46 AM
I think there is a bug with the -fileNUM option. When using a tag name as the ALTFILE format (e.g. -file1 '$XMP-xmpMM:PreservedFileName') with more than one file, the ALTFILE becomes the same one for all files (probably the first one) even though each SRCFILE has a different XMP-xmpMM:PreservedFileName value.

Steps to reproduce:

1. Directory with 3 images IMG_0001.JPG, IMG_0002.JPG, IMG_0003.JPG.
2. exiftool -overwrite_original '-XMP-xmpMM:PreservedFileName<FileName' DIR3. Create copies of these three images and name them 1.JPG, 2.JPG, 3.JPG respectivly.
4. exiftool -s -G1:8 -file1 '$XMP-xmpMM:PreservedFileName' -FileName -file1:FileName 1.JPG 2.JPG 3.JPGThe output is:
======== 1.JPG
[System]        FileName                        : 1.JPG
[System:File1]  FileName                        : IMG_0001.JPG
======== 2.JPG
[System]        FileName                        : 2.JPG
[System:File1]  FileName                        : IMG_0001.JPG
======== 3.JPG
[System]        FileName                        : 3.JPG
[System:File1]  FileName                        : IMG_0001.JPG
    3 image files read

Is this a bug or am I missing something?