Read FotoStation custom field

Started by akiandy, March 15, 2011, 09:05:13 AM

Previous topic - Next topic

akiandy

Hi, i have a little problem with reading an custom field that has been written to the image via FotoStation.

On the command line i see the following:

Warning                         : Unrecognized IPTC record 240, subsequent records ignored

-Has this to do with the field that is written with FotoStation?
-Is it possible to read the info again?

Phil Harvey

It would help if you posted a sample image (or mail it to: philharvey66 at gmail.com).

Thanks.

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

akiandy

Hello again,

i just send you an email. Hope that you can find something..

Phil Harvey

Thanks for the sample.

There is a lot of non-standard information written in the IPTC of this image, some in the Application record, but much in the non-standard record 240.  If I modify exiftool to decode record 240 as the "FotoStation" record, I get the following:

exiftool ~/Desktop/test.jpg -iptc:all -u
Caption-Abstract                : Richard Strauß Brunnen in Garmisch-Partenkirchen, Oberbayern, Bayern, Deutschland
Urgency                         : 0 (reserved)
Keywords                        : Bayerische Alpen, Werdenfelser Land, Hochformat, Frühling, Alpen, Europa, Berg, Gebirge, Blüte, Baumblüte, blühen, Platz, Statue, Denkmal, Skulptur, Springbrunnen, Fontäne, Alpspitze (2628 m), Wasserspiele, Frühlingstimmung
Special Instructions            : Abdruck nur gegen Honorar und Beleg
Date Created                    : 2003:02:27
By-line                         : Bildagentur Huber
City                            : Garmisch-Partenkirchen
Province-State                  : Bayern
Country-Primary Location Name   : Deutschland
Original Transmission Reference : 1/N10657 A
Headline                        : Richard Strauž Brunnen in Garmisch-Partenkirchen, Oberbayern, Bayern, Deutschland
Credit                          : ' Bildagentur Huber
Source                          : Dia 4 x 5 inch
Copyright Notice                : Bildagentur Huber
Writer-Editor                   : Toni
Envelope Record Version         : 0
File Format                     : No ObjectData
File Version                    : 0
Envelope Priority               : Unknown ()
ARM Identifier                  : 0
ARM Version                     : 0
Application Record Version      : 0
IPTC Application Record 21      : X
IPTC Application Record 56      : 20030315
Object Cycle                    : Unknown ()
IPTC Application Record 111     : 0
IPTC Application Record 112     : 0000999
IPTC Application Record 113     : 0
Local Caption                   : 00010657
IPTC Application Record 123     : 0000
IPTC Application Record 133     : 1/N10657 A
IPTC Image Width                : 0
IPTC Image Height               : 0
IPTC Foto Station 2             : 7
IPTC Foto Station 13            : 0000
IPTC Foto Station 14            : 0000
IPTC Foto Station 15            : 000000
IPTC Foto Station 21            : 0000000000000
IPTC Foto Station 22            : 0
IPTC Foto Station 23            : 0000000000000
IPTC Foto Station 26            : 0
IPTC Foto Station 32            : 00000
IPTC Foto Station 33            : 00000
IPTC Foto Station 34            : 00000
IPTC Foto Station 35            : 00000
IPTC Foto Station 36            : 00000
IPTC Foto Station 37            : X
IPTC Foto Station 38            : X
IPTC Foto Station 39            : X
IPTC Foto Station 40            : X
IPTC Foto Station 43            : 0000000000000
IPTC Foto Station 44            : 0000000000000
IPTC Foto Station 49            : 00000000
IPTC Foto Station 50            : 00000
IPTC Foto Station 51            : 00000
IPTC Foto Station 56            : 0000
IPTC Foto Station 57            : 0000
IPTC Foto Station 58            : 00
IPTC Foto Station 61            : 0000
IPTC Foto Station 65            : 0
IPTC Foto Station 68            : 0000000000000
IPTC Foto Station 71            : 0
IPTC Foto Station 73            : 00000000
IPTC Foto Station 74            : 00000000
IPTC Foto Station 75            : 00000000
IPTC Foto Station 76            : 00000000
IPTC Foto Station 77            : 00000000
IPTC Foto Station 78            : 0000
IPTC Foto Station 79            : 0000
IPTC Foto Station 80            : 0000
IPTC Foto Station 81            : 0000
IPTC Foto Station 82            : 0000
IPTC Foto Station 83            : 0000
IPTC Foto Station 84            : 00000
IPTC Foto Station 85            : 00000
IPTC Foto Station 88            : 00000
IPTC Foto Station 89            : 00000
IPTC Foto Station 90            : 00000
IPTC Foto Station 91            : 00000
IPTC Foto Station 92            : 00000
IPTC Foto Station 93            : 00000
IPTC Foto Station 94            : 00000
IPTC Foto Station 103           : 0
IPTC Foto Station 105           : de
IPTC Foto Station 127           : 0
IPTC Foto Station 251           : /home/huberimages/images/high
IPTC Foto Station 252           : /home/huberimages/images/low
IPTC Foto Station 253           : /home/huberimages/images/low


I can't find any specification for what these FotoStation tags should be named.  Is this the information you want extracted?  If so, do you have any ideas about names for 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 ($).

akiandy

Ah cool, this is a result, but I don´t know if the information I´m looking for is listed above :)

I´m just looking for a number, but I can´t remember the number that should belong to that image. I just send you an email again.
The attached image should contain the number 214. The field is called "Sonderfeld 01 / Custom field 01".

Phil Harvey

I see this information in the image you sent.  IPTC Application Record 112 has the value "0000214".  You can extract this with the -u option and the current version of ExifTool (the tag name is IPTC_ApplicationRecord_112).  With the next ExifTool release, you will also be able to extract the FotoStation record information with the -u option.

exiftool ~/Desktop/check.jpg -iptc:all -u
Caption-Abstract                : Guggenheim Museum in Bilbao, Vizcaya, Basque Country, Spain
Urgency                         : 1 (most urgent)
Keywords                        : Digital, Europe, Frank Gehry, Nervion, abstract, aluminium, aluminum, architecture, asymmetric, asymmetrical, building, hph15, modern, titan, titanium, tourism, tourists, town
Special Instructions            : reproduction only by payment or fees and sample
Date Created                    : 2008:02:11
By-line                         : Bildagentur Huber/Lubenow
City                            : Bilbao
Province-State                  : Basque Country
Country-Primary Location Name   : Spain
Original Transmission Reference : 20419577
Credit                          : © Bildagentur Huber
Source                          : digital
Copyright Notice                : © Bildagentur Huber/Lubenow
Writer-Editor                   : guido
Envelope Record Version         : 0
File Format                     : No ObjectData
File Version                    : 0
Envelope Priority               : Unknown ()
ARM Identifier                  : 0
ARM Version                     : 0
Application Record Version      : 2
IPTC Application Record 21      : X
IPTC Application Record 56      : 20090812
Originating Program             : confessMEDiA Imagia 2
Program Version                 : 2.0.34
Object Cycle                    : Unknown ()
IPTC Application Record 111     : 0
IPTC Application Record 112     : 0000214
IPTC Application Record 113     : 0
Local Caption                   : 90419577
IPTC Application Record 123     : 0000
Image Orientation               : Unknown (L#)
IPTC Application Record 133     : 20419577
Object Preview File Format      : Unknown (3289396)
IPTC Image Width                : 4992
IPTC Image Height               : 3360
IPTC Foto Station 2             : 7
IPTC Foto Station 13            : 0000
IPTC Foto Station 14            : 0000
IPTC Foto Station 15            : 000000
IPTC Foto Station 21            : 0000000000000
IPTC Foto Station 22            : 0
IPTC Foto Station 23            : 0000000000000
IPTC Foto Station 26            : 0
IPTC Foto Station 32            : 00000
IPTC Foto Station 33            : 00000
IPTC Foto Station 34            : 00000
IPTC Foto Station 35            : 00000
IPTC Foto Station 36            : 00000
IPTC Foto Station 37            : X
IPTC Foto Station 38            : X
IPTC Foto Station 39            : X
IPTC Foto Station 40            : X
IPTC Foto Station 43            : 0000000000000
IPTC Foto Station 44            : 0000000000000
IPTC Foto Station 49            : 00000000
IPTC Foto Station 50            : 00000
IPTC Foto Station 51            : 00000
IPTC Foto Station 53            : MIS
IPTC Foto Station 56            : 0000
IPTC Foto Station 57            : 0000
IPTC Foto Station 58            : 00
IPTC Foto Station 61            : 0000
IPTC Foto Station 65            : 0
IPTC Foto Station 68            : 0000000000000
IPTC Foto Station 71            : 0
IPTC Foto Station 73            : 00000000
IPTC Foto Station 74            : 00000000
IPTC Foto Station 75            : 00000000
IPTC Foto Station 76            : 00000000
IPTC Foto Station 77            : 00000000
IPTC Foto Station 78            : 0000
IPTC Foto Station 79            : 0000
IPTC Foto Station 80            : 0000
IPTC Foto Station 81            : 0000
IPTC Foto Station 82            : 0000
IPTC Foto Station 83            : 0000
IPTC Foto Station 84            : 00000
IPTC Foto Station 85            : 00000
IPTC Foto Station 88            : 00000
IPTC Foto Station 89            : 00000
IPTC Foto Station 90            : 00000
IPTC Foto Station 91            : 00000
IPTC Foto Station 92            : 00000
IPTC Foto Station 93            : 00000
IPTC Foto Station 94            : 00000
IPTC Foto Station 103           : 0
IPTC Foto Station 105           : en
IPTC Foto Station 127           : 0
IPTC Foto Station 251           : /home/huberimages/images/high
IPTC Foto Station 252           : /home/huberimages/images/low
IPTC Foto Station 253           : /home/huberimages/images/low


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

akiandy

Hi Phil,

great! This is a working solution for me. Tanks a lot!