IPTC metadata tags 200-210 ?Fotostation

Started by dacscomp, September 07, 2011, 03:28:55 AM

Previous topic - Next topic

dacscomp

Hi
I am currently using a program (Imatch) which allows me to add data to IPTC tags 201,202 etc. Is this possible using Exiftool? I would be doing this as part of my current commandline procedures. eg I would like to add data to the 'high tags' as I do for 'named' tags eg  -ObjectName  etc.

Is this possible?

Phil Harvey

These tags are already defined by the IPTC standard.  However, you can override standard tag definitions with user-defined tags if you want.

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

dacscomp

Hi

But where, in the IPTC tag names I can't find these tags - IPTC Fotostation Tags  are [no tags known]

Is there a web page you can point me to to get these Tag Names?

Thanks

Phil Harvey

I thought we were talking about iMatch, not FotoStation.

Regardless, you are asking the wrong person.  You should be asking the makers of the software for their documentation.

But if you own the software, it is probably easier for you to figure out what you want to call them by running some simple tests.

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

dacscomp

Hi
Misunderstanding here...

I can access the tags using Imatch - Sample from my Script below:

         iptc.Fields.Item(200) = str200
         iptc.Fields.Item(201) = str201
         iptc.Fields.Item(202) = str202
         iptc.Fields.Item(203) = str203
         iptc.Fields.Item(204) = str204
         iptc.Fields.Item(205) = str205
         iptc.Fields.Item(206) = str206
         iptc.Fields.Item(207) = strbyline

... I would like to do the same with exiftool & eventually not use Imatch.

Does that clarify what I am after?

Dave

Phil Harvey

If these are stored in the IPTC ApplicationRecord, then the config file could look like this:

%Image::ExifTool::UserDefined = (
    'Image::ExifTool::IPTC::ApplicationRecord' => {
        200 => {
            Name => 'IPTC200',
            Format => 'string[0,64]',
        },
        201 => {
            Name => 'IPTC201',
            Format => 'string[0,64]',
        },
        202 => {
            Name => 'IPTC202',
            Format => 'string[0,64]',
        },
        203 => {
            Name => 'IPTC203',
            Format => 'string[0,64]',
        },
        204 => {
            Name => 'IPTC204',
            Format => 'string[0,64]',
        },
        205 => {
            Name => 'IPTC205',
            Format => 'string[0,64]',
        },
        206 => {
            Name => 'IPTC206',
            Format => 'string[0,64]',
        },
        207 => {
            Name => 'IPTC207',
            Format => 'string[0,64]',
        },
    },
);
1; #end


I don't have a sample so I can't be sure they are stored in the application record.  (You can use the -v2 option to check this.)

Here I have given the tags simple names, but you can call them what you want.  Also, I have made them string-type with an allowed length between 0 and 64 characters, but you can set this to whatever you want.

After activating this config file you should be able to write these tags.

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

dacscomp

Many thanks for that...

And finally - I am running Exiftool in 'Windows' Where should the config file be saved?

Regards

Phil Harvey

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