Trying to get started with ExifTool

Started by emccainaz, October 31, 2011, 05:19:53 PM

Previous topic - Next topic

emccainaz

Okay, let me post the first seven lines of the csv file, which will be a bit messy here, I think. I've also included a line that shows what the XMP field name is for each column:


SourceFile XMP:Description XMP:CaptionWriter XMP:Headline XMP:Subject XMP:Title XMP:TransmissionReference XMP:Category XMP:SupplementalCategories XMP:Scene XMP:SubjectCode XMP:IntellectualGenre XMP:UsageTerms XMP:Instructions XMP:Location XMP:DateTimeOriginal XMP:ModifyDate XMP:AuthorsPosition XMP:Copyright XMP:CreatorWorkEmail
TestCopy 01.jpg XMPDescription XMPCaptionWriter XMPHeadline XMPSubject XMPTitle XMPTransmissionReference XMPCategory XMPSupplementalCategories XMPScene XMPSubjectCode XMPIntellectualGenre XMPUsageTerms XMPInstruction XMPLocation XMPDateTimeOriginal XMPModifyDate XMPAuthorsPosition XMPCopyright XMPCreatorWorkEmail
AustinBlindSalamander_SuzanneLCollins_FPWC_1_HIGHRES.tif Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology XMPCaptionWriter XMPHeadline amphibians;salamanders;candidate species AustinBlindSalamander_SuzanneLCollins_FPWC_1_HIGHRES.tif XMPTransmissionReference No E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_1_HIGHRES.tif No 10604 XMPIntellectualGenre FPWC: Full permission to use anytime with credit XMPInstruction XMPLocation 6/1/57 6/1/57 XMPAuthorsPosition Suzanne L. Collins, The Center for North American Herpetology http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/ Suzanne L. Collins at jcollins@ku.edu.
AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology XMPCaptionWriter XMPHeadline amphibians;salamanders;candidate species AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif XMPTransmissionReference No E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif No 10603 XMPIntellectualGenre FPWC: Full permission to use anytime with credit XMPInstruction XMPLocation 6/2/57 6/2/57 XMPAuthorsPosition Suzanne L. Collins, The Center for North American Herpetology http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/    Contact: Contact Suzanne L. Collins at jcollins@ku.edu.   
AustinBlindSalamander_SuzanneLCollins_FPWC_2_HIGHRES.tif Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology XMPCaptionWriter XMPHeadline amphibians;salamanders;candidate species AustinBlindSalamander_SuzanneLCollins_FPWC_2_HIGHRES.tif XMPTransmissionReference No E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_2_HIGHRES.tif No 10606 XMPIntellectualGenre FPWC: Full permission to use anytime with credit XMPInstruction XMPLocation 6/3/57 6/3/57 XMPAuthorsPosition Suzanne L. Collins, The Center for North American Herpetology http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/  Suzanne L. Collins at jcollins@ku.edu.
AustinBlindSalamander_SuzanneLCollins_FPWC_2.tif Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology XMPCaptionWriter XMPHeadline amphibians;salamanders;candidate species AustinBlindSalamander_SuzanneLCollins_FPWC_2.tif XMPTransmissionReference No E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_2.tif No 10605 XMPIntellectualGenre FPWC: Full permission to use anytime with credit XMPInstruction XMPLocation 6/4/57 6/4/57 XMPAuthorsPosition Suzanne L. Collins, The Center for North American Herpetology http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/  Suzanne L. Collins at jcollins@ku.edu.
AustinBlindSalamander_SuzanneLCollins_FPWC_3_HIGHRES.tif Austin blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology XMPCaptionWriter XMPHeadline amphibians;salamanders;candidate species AustinBlindSalamander_SuzanneLCollins_FPWC_3_HIGHRES.tif XMPTransmissionReference No E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_3_HIGHRES.tif No 10608 XMPIntellectualGenre FPWC: Full permission to use anytime with credit http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/  XMPLocation 6/5/57 6/5/57 XMPAuthorsPosition Suzanne L. Collins, The Center for North American Herpetology Suzanne L. Collins at jcollins@ku.edu
AustinBlindSalamander_SuzanneLCollins_FPWC_3.tif Austin blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology XMPCaptionWriter XMPHeadline amphibians;salamanders;candidate species AustinBlindSalamander_SuzanneLCollins_FPWC_3.tif XMPTransmissionReference No E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_3.tif No 10607 XMPIntellectualGenre FPWC: Full permission to use anytime with credit http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/ XMPLocation 6/6/57 6/6/57 XMPAuthorsPosition Suzanne L. Collins, The Center for North American Herpetology Suzanne L. Collins at jcollins@ku.edu.
BartonSpringsSalamander_WymanMeinzer_USGS_FPWC.jpg Barton Springs salamander Eurycea sosorum  Photo Credit: Wyman Meinzer, USGS XMPCaptionWriter XMPHeadline amphibians;salamanders;endangered species;Eurycea sosorum BartonSpringsSalamander_WymanMeinzer_USGS_FPWC.jpg XMPTransmissionReference No E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\BartonSpringsSalamander_WymanMeinzer_USGS_FPWC.jpg No 4233 AR2005;EEF05;EESP04 FPWC: Full permission to use anytime with credit XMPInstruction XMPLocation 6/7/57 6/7/57 http://www.ens-newswire.com/ens/aug2005/2005-08-26-01.asp Wyman Meinzer, USGS info@wymanmeinzer.com


The First file "TestCopy 01.jpg" comes out fine, as does the second file "AustinBlindSalamander_SuzanneLCollins_FPWC_1_HIGHRES.tif" but the next three files only have metadata in the following fields embedded:
XMP:Scene
XMP:SubjectCode
XMP:IntellectualGenre
XMP:RightsUsage
XMP:CreatorWorkEmail

Then, the next file "AustinBlindSalamander_SuzanneLCollins_FPWC_3_HIGHRES.tif" comes out okay, but the next file "AustinBlindSalamander_SuzanneLCollins_FPWC_3.tif has the same problem as the earlier files. The next file "BartonSpringsSalamander_WymanMeinzer_USGS_FPWC.jpg" comes out correctly.

I will attach a csv file with all the test metadata along with this post.

Thanks again!

Edward

emccainaz

PS - I haven't gotten the Time and Date right yet (I would mostly like to get the date, when possible). I'm not sure if it's Photo Mechanic or not. I will take a look with ExifTool and see what I can figure out.

Edward

Phil Harvey

Hi Edward,

I don't understand how that CSV file could work at all with ExifTool.  ExifTool requires comma-separated values (hence "CSV").  (Maybe I should state this explicitly in the documentation.)  The input CSV file must be in the exact same format as the output CSV file from the command "exiftool -csv FILE".

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

emccainaz

I have been using excel csv assuming that it is a true csv. I also saved an csv from Google docs but get exactly the same results. What program would be a better choice for creating a csv that is compatible with ExifTool?

Thanks,

Edward

emccainaz

I think that when I copy and pasted the previous message, it may have given the impression that the data was not comma-separated. Here is a copy and paste of the data from a text file, which should come through better. I will upload the csv file again just in case it didn't come through on my previous post:


SourceFile,XMP:Description,XMP:CaptionWriter,XMP:Headline,XMP:Subject,XMP:Title,XMP:TransmissionReference,XMP:Category,XMP:SupplementalCategories,XMP:Scene,XMP:SubjectCode,XMP:IntellectualGenre,XMP:UsageTerms,XMP:Instructions,XMP:Location,XMP:DateTimeOriginal,XMP:ModifyDate,XMP:AuthorsPosition,XMP:Copyright,XMP:CreatorWorkEmail
TestCopy 01.jpg,XMPDescription,XMPCaptionWriter,XMPHeadline,XMPSubject,XMPTitle,XMPTransmissionReference,XMPCategory,XMPSupplementalCategories,XMPScene,XMPSubjectCode,XMPIntellectualGenre,XMPUsageTerms,XMPInstruction,XMPLocation,XMPDateTimeOriginal,XMPModifyDate,XMPAuthorsPosition,XMPCopyright,XMPCreatorWorkEmail
AustinBlindSalamander_SuzanneLCollins_FPWC_1_HIGHRES.tif,"Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology",XMPCaptionWriter,XMPHeadline,amphibians;salamanders;candidate species,AustinBlindSalamander_SuzanneLCollins_FPWC_1_HIGHRES.tif,XMPTransmissionReference,No,E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_1_HIGHRES.tif,No,10604,XMPIntellectualGenre,FPWC: Full permission to use anytime with credit,XMPInstruction,XMPLocation,1957/06/01,1957/06/01,XMPAuthorsPosition,"Suzanne L. Collins, The Center for North American Herpetology",http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/ Suzanne L. Collins at jcollins@ku.edu.
AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif,"Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology",XMPCaptionWriter,XMPHeadline,amphibians;salamanders;candidate species,AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif,XMPTransmissionReference,No,E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif,No,10603,XMPIntellectualGenre,FPWC: Full permission to use anytime with credit,XMPInstruction,XMPLocation,1957/06/02,1957/06/02,XMPAuthorsPosition,"Suzanne L. Collins, The Center for North American Herpetology",http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/    Contact: Contact Suzanne L. Collins at jcollins@ku.edu.   
AustinBlindSalamander_SuzanneLCollins_FPWC_2_HIGHRES.tif,"Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology",XMPCaptionWriter,XMPHeadline,amphibians;salamanders;candidate species,AustinBlindSalamander_SuzanneLCollins_FPWC_2_HIGHRES.tif,XMPTransmissionReference,No,E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_2_HIGHRES.tif,No,10606,XMPIntellectualGenre,FPWC: Full permission to use anytime with credit,XMPInstruction,XMPLocation,1957/06/03,1957/06/03,XMPAuthorsPosition,"Suzanne L. Collins, The Center for North American Herpetology",http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/  Suzanne L. Collins at jcollins@ku.edu.
AustinBlindSalamander_SuzanneLCollins_FPWC_2.tif,"Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology",XMPCaptionWriter,XMPHeadline,amphibians;salamanders;candidate species,AustinBlindSalamander_SuzanneLCollins_FPWC_2.tif,XMPTransmissionReference,No,E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_2.tif,No,10605,XMPIntellectualGenre,FPWC: Full permission to use anytime with credit,XMPInstruction,XMPLocation,1957/06/04,1957/06/04,XMPAuthorsPosition,"Suzanne L. Collins, The Center for North American Herpetology",http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/  Suzanne L. Collins at jcollins@ku.edu.
AustinBlindSalamander_SuzanneLCollins_FPWC_3_HIGHRES.tif,"Austin blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology",XMPCaptionWriter,XMPHeadline,amphibians;salamanders;candidate species,AustinBlindSalamander_SuzanneLCollins_FPWC_3_HIGHRES.tif,XMPTransmissionReference,No,E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_3_HIGHRES.tif,No,10608,XMPIntellectualGenre,FPWC: Full permission to use anytime with credit,http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/  ,XMPLocation,1957/06/05,1957/06/05,XMPAuthorsPosition,"Suzanne L. Collins, The Center for North American Herpetology",Suzanne L. Collins at jcollins@ku.edu
AustinBlindSalamander_SuzanneLCollins_FPWC_3.tif,"Austin blind Salamander Eurycea waterlooensis  Photo Credit: Suzanne L. Collins, The Center for North American Herpetology",XMPCaptionWriter,XMPHeadline,amphibians;salamanders;candidate species,AustinBlindSalamander_SuzanneLCollins_FPWC_3.tif,XMPTransmissionReference,No,E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\AustinBlindSalamander_SuzanneLCollins_FPWC_3.tif,No,10607,XMPIntellectualGenre,FPWC: Full permission to use anytime with credit,http://www.livingunderworld.org/gallery/photos/caudata/plethodontidae/eurycea/  waterlooensis/ ,XMPLocation,1957/06/06,1957/06/06,XMPAuthorsPosition,"Suzanne L. Collins, The Center for North American Herpetology",Suzanne L. Collins at jcollins@ku.edu.
BartonSpringsSalamander_WymanMeinzer_USGS_FPWC.jpg,"Barton Springs salamander Eurycea sosorum  Photo Credit: Wyman Meinzer, USGS",XMPCaptionWriter,XMPHeadline,amphibians;salamanders;endangered species;Eurycea sosorum,BartonSpringsSalamander_WymanMeinzer_USGS_FPWC.jpg,XMPTransmissionReference,No,E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\BartonSpringsSalamander_WymanMeinzer_USGS_FPWC.jpg,No,4233,AR2005;EEF05;EESP04,FPWC: Full permission to use anytime with credit,XMPInstruction,XMPLocation,1957/06/07,1957/06/07,http://www.ens-newswire.com/ens/aug2005/2005-08-26-01.asp,"Wyman Meinzer, USGS",info@wymanmeinzer.com


Does this make more sense?

Thanks,

Edward


Phil Harvey

Sorry, I had only looked at the first 7 lines that you posted.  The file you uploaded looks good.  I tried the first 3 lines on test files here, and it worked fine, writing the following -v2 output for the 3rd file:

======== tmp/b.tif
Writing XMP-photoshop:AuthorsPosition
Writing XMP-photoshop:CaptionWriter
Writing XMP-photoshop:Category
Writing XMP-pdf:Copyright if tag exists
Writing XMP-pur:Copyright if tag exists
Writing XMP-prism:Copyright if tag exists
Writing XMP-xmpDM:Copyright if tag exists
Writing XMP-tiff:Copyright
Writing XMP-iptcCore:CreatorWorkEmail
Writing XMP-exif:DateTimeOriginal
Writing XMP-dc:Description
Writing XMP-xmp:Description if tag exists
Writing XMP-photoshop:Headline
Writing XMP-photoshop:Instructions
Writing XMP-iptcCore:IntellectualGenre
Writing XMP-prism:Location if tag exists
Writing XMP-iptcCore:Location
Writing XMP-mediapro:Location if tag exists
Writing XMP-xmp:ModifyDate
Writing XMP-iptcCore:Scene
Writing XMP-xmpDM:Scene if tag exists
Writing XMP-pdf:Subject if tag exists
Writing XMP-dc:Subject
Writing XMP-xmpMM:Subject if tag exists
Writing XMP-iptcCore:SubjectCode
Writing XMP-photoshop:SupplementalCategories
Writing XMP-pdf:Title if tag exists
Writing XMP-dc:Title
Writing XMP-xmp:Title if tag exists
Writing XMP-photoshop:TransmissionReference
Writing XMP-xmpRights:UsageTerms
Rewriting tmp/b.tif...
  Editing tags in: IFD0 TIFF XMP
  Creating tags in: IFD0 TIFF XMP
  FileType = TIFF
  MIMEType = image/tiff
  ExifByteOrder = MM
  Rewriting IFD0
  Creating XMP
    + XMP-photoshop:AuthorsPosition = 'XMPAuthorsPosition'
    + XMP-photoshop:CaptionWriter = 'XMPCaptionWriter'
    + XMP-photoshop:Category = 'No'
    + XMP-tiff:Copyright = 'Suzanne L. Collins, The Center for North American Herpetology'
    + XMP-iptcCore:CreatorWorkEmail = 'http://www.livingunderworld.org/gallery/phot[snip]'
    + XMP-exif:DateTimeOriginal = '1957-06-02'
    + XMP-dc:Description = 'Austin Blind Salamander Eurycea waterlooensis  Photo Cr[snip]'
    + XMP-photoshop:Headline = 'XMPHeadline'
    + XMP-photoshop:Instructions = 'XMPInstruction'
    + XMP-iptcCore:IntellectualGenre = 'XMPIntellectualGenre'
    + XMP-iptcCore:Location = 'XMPLocation'
    + XMP-xmp:ModifyDate = '1957-06-02'
    + XMP-iptcCore:Scene = 'No'
    + XMP-dc:Subject = 'amphibians;salamanders;candidate species'
    + XMP-iptcCore:SubjectCode = '10603'
    + XMP-photoshop:SupplementalCategories = 'E:\Staff\Bill_H\SharePoint_Photo_Expo[snip]'
    + XMP-dc:Title = 'AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif'
    + XMP-photoshop:TransmissionReference = 'XMPTransmissionReference'
    + XMP-xmpRights:UsageTerms = 'FPWC: Full permission to use anytime with credit'
  Rewriting IPTC
    [nothing changed]
  Rewriting ICC_Profile
  Copying 1 image data blocks
    1 directories scanned
    3 image files updated


Since this works for me, the only difference is the .tif files you are using.  Could you paste the output of -v2 for one of the files where tags are not getting written properly?  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 ($).

emccainaz

Here is the -v2 output, also from my third file:



EMcs-MBP-240:CBD_images_metadata emccainaz$ exiftool -v2 AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif
  ExifToolVersion = 8.68
  FileName = AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif
  Directory = .
  FileSize = 4821758
  FileModifyDate = 1320945362
  FilePermissions = 33188
  FileType = TIFF
  MIMEType = image/tiff
  ExifByteOrder = MM
  + [IFD0 directory with 22 entries]
  | 0)  SubfileType = 0
  |     - Tag 0x00fe (4 bytes, int32u[1])
  | 1)  ImageWidth = 2500
  |     - Tag 0x0100 (2 bytes, int16u[1])
  | 2)  ImageHeight = 1239
  |     - Tag 0x0101 (2 bytes, int16u[1])
  | 3)  BitsPerSample = 8 8 8
  |     - Tag 0x0102 (6 bytes, int16u[3])
  | 4)  Compression = 5
  |     - Tag 0x0103 (2 bytes, int16u[1])
  | 5)  PhotometricInterpretation = 2
  |     - Tag 0x0106 (2 bytes, int16u[1])
  | 6)  StripOffsets = 13058 118032 224044 335124 446472 559936 674938 793300 910758 10[snip]
  |     - Tag 0x0111 (148 bytes, int32u[37])
  | 7)  SamplesPerPixel = 3
  |     - Tag 0x0115 (2 bytes, int16u[1])
  | 8)  RowsPerStrip = 34
  |     - Tag 0x0116 (2 bytes, int16u[1])
  | 9)  StripByteCounts = 104973 106012 111079 111347 113464 115002 118361 117458 11791[snip]
  |     - Tag 0x0117 (148 bytes, int32u[37])
  | 10) XResolution = 200 (2000000/10000)
  |     - Tag 0x011a (8 bytes, rational64u[1])
  | 11) YResolution = 200 (2000000/10000)
  |     - Tag 0x011b (8 bytes, rational64u[1])
  | 12) PlanarConfiguration = 1
  |     - Tag 0x011c (2 bytes, int16u[1])
  | 13) ResolutionUnit = 2
  |     - Tag 0x0128 (2 bytes, int16u[1])
  | 14) Software = Adobe Photoshop CS Windows
  |     - Tag 0x0131 (27 bytes, string[27])
  | 15) ModifyDate = 2007:04:05 15:28:27
  |     - Tag 0x0132 (20 bytes, string[20])
  | 16) Predictor = 2
  |     - Tag 0x013d (2 bytes, int16u[1])
  | 17) ApplicationNotes (SubDirectory) -->
  |     - Tag 0x02bc (7061 bytes, int8u[7061] read as undef[7061])
  | + [XMP directory, 7061 bytes]
  | | XMPToolkit = Image::ExifTool 8.68
  | | About = uuid:f97efeb1-e3c4-11db-af4a-b041f632abb3
  | | CreatorWorkEmail = http://www.livingunderworld.org/gallery/photos/caudata/plethod[snip]
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:CreatorContactInfo/Iptc4xmpCore:CiEmailWork'
  | | IntellectualGenre = XMPIntellectualGenre
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:IntellectualGenre'
  | | Location = XMPLocation
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:Location'
  | | Scene = No
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:Scene/rdf:Bag/rdf:li 10'
  | | SubjectCode = 10603
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/Iptc4xmpCore:SubjectCode/rdf:Bag/rdf:li 10'
  | | Description = Austin Blind Salamander Eurycea waterlooensis  Photo Credit: Suzann[snip]
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:description/rdf:Alt/rdf:li 10'
  | | Format = image/tiff
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:format'
  | | Subject = amphibians;salamanders;candidate species
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:subject/rdf:Bag/rdf:li 10'
  | | Title = AustinBlindSalamander_SuzanneLCollins_FPWC_1.tif
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/dc:title/rdf:Alt/rdf:li 10'
  | | ColorSpace = 1
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/exif:ColorSpace'
  | | DateTimeOriginal = 1957:06:02
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/exif:DateTimeOriginal'
  | | ExifImageWidth = 2500
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/exif:PixelXDimension'
  | | ExifImageHeight = 1239
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/exif:PixelYDimension'
  | | AuthorsPosition = XMPAuthorsPosition
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:AuthorsPosition'
  | | CaptionWriter = XMPCaptionWriter
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:CaptionWriter'
  | | Category = No
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Category'
  | | Headline = XMPHeadline
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Headline'
  | | History =
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:History'
  | | Instructions = XMPInstruction
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:Instructions'
  | | SupplementalCategories = E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\[snip]
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:SupplementalCategories/rdf:Bag/rdf:li 10'
  | | TransmissionReference = XMPTransmissionReference
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/photoshop:TransmissionReference'
  | | Copyright = Suzanne L. Collins, The Center for North American Herpetology
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/tiff:Copyright/rdf:Alt/rdf:li 10'
  | | Orientation = 1
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/tiff:Orientation'
  | | ResolutionUnit = 2
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/tiff:ResolutionUnit'
  | | XResolution = 200
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/tiff:XResolution'
  | | YResolution = 200
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/tiff:YResolution'
  | | CreateDate = 2007:04:05 15:28:27-07:00
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xap:CreateDate'
  | | CreatorTool = Adobe Photoshop CS Windows
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xap:CreatorTool'
  | | MetadataDate = 2007:04:05 15:28:27-07:00
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xap:MetadataDate'
  | | ModifyDate = 1957:06:02
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xap:ModifyDate'
  | | DerivedFromDocumentID = adobe:docid:photoshop:8e1ad1c4-0447-11da-8d86-8d620a471a25
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xapMM:DerivedFrom/stRef:documentID'
  | | DerivedFromInstanceID = uuid:8e1ad1c5-0447-11da-8d86-8d620a471a25
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xapMM:DerivedFrom/stRef:instanceID'
  | | DocumentID = adobe:docid:photoshop:f97efeb0-e3c4-11db-af4a-b041f632abb3
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xapMM:DocumentID'
  | | UsageTerms = FPWC: Full permission to use anytime with credit
  | | - Tag 'x:xmpmeta/rdf:RDF/rdf:Description/xmpRights:UsageTerms/rdf:Alt/rdf:li 10'
  | 18) IPTC-NAA (SubDirectory) -->
  |     - Tag 0x83bb (8 bytes, int32u[2] read as undef[8])
  | + [IPTC directory, 8 bytes]
  | | CurrentIPTCDigest = .....V....0 ~2.
  | | -- IPTCApplication record --
  | | ApplicationRecordVersion = 2
  | | - Tag 0x0000, IPTCApplication record (2 bytes, int16u)
  | 19) PhotoshopSettings (SubDirectory) -->
  |     - Tag 0x8649 (4742 bytes, int8u[4742] read as undef[4742])
  | + [Photoshop directory, 4742 bytes]
  | | IPTCData (SubDirectory) -->
  | | - Tag 0x0404 (7 bytes)
  | | + [IPTC directory, 7 bytes]
  | | | -- IPTCApplication record --
  | | | ApplicationRecordVersion = 2
  | | | - Tag 0x0000, IPTCApplication record (2 bytes, int16u)
  | | IPTCDigest = F...&.V........w
  | | - Tag 0x0425 (16 bytes)
  | | ResolutionInfo (SubDirectory) -->
  | | - Tag 0x03ed (16 bytes)
  | | + [BinaryData directory, 16 bytes]
  | | | XResolution = 13107200
  | | | - Tag 0x0000 (4 bytes, int32u[1])
  | | | DisplayedUnitsX = 1
  | | | - Tag 0x0002 (2 bytes, int16u[1])
  | | | YResolution = 13107200
  | | | - Tag 0x0004 (4 bytes, int32u[1])
  | | | DisplayedUnitsY = 1
  | | | - Tag 0x0006 (2 bytes, int16u[1])
  | | PrintScale = ?.
  | | - Tag 0x0426 (14 bytes)
  | | GlobalAngle = .
  | | - Tag 0x040d (4 bytes)
  | | GlobalAltitude = .
  | | - Tag 0x0419 (4 bytes)
  | | PrintFlags = .
  | | - Tag 0x03f3 (9 bytes)
  | | CopyrightFlag =
  | | - Tag 0x040a (1 bytes)
  | | PrintFlagsInfo = ..
  | | - Tag 0x2710 (10 bytes)
  | | ColorHalftoningInfo = /ff.lff../ff......2.Z..5.-..
  | | - Tag 0x03f5 (72 bytes)
  | | ColorTransferFuncs = ............................................................[snip]
  | | - Tag 0x03f8 (112 bytes)
  | | GridGuidesInfo = ..@.@
  | | - Tag 0x0408 (16 bytes)
  | | URL_List =
  | | - Tag 0x041e (4 bytes)
  | | Slices = .....,AustinBlindSalamander_SuzanneLCollins_FPWC_1.........null..boundsO[snip]
  | | - Tag 0x041a (909 bytes)
  | | PixelAspectRatio = .?.
  | | - Tag 0x0428 (12 bytes)
  | | IDsBaseValue = .
  | | - Tag 0x0414 (4 bytes)
  | | PhotoshopThumbnail = ..O... .........JFIF...HH...Adobe_CM....Adobed..............[snip]
  | | - Tag 0x040c (3227 bytes)
  | | VersionInfo = ...Adobe Photoshop.Adobe Photoshop CS.
  | | - Tag 0x0421 (83 bytes)
  | 20) ExifOffset (SubDirectory) -->
  |     - Tag 0x8769 (4 bytes, int32u[1])
  | + [ExifIFD directory with 3 entries]
  | | 0)  ColorSpace = 65535
  | |     - Tag 0xa001 (2 bytes, int16u[1])
  | | 1)  ExifImageWidth = 2500
  | |     - Tag 0xa002 (4 bytes, int32u[1])
  | | 2)  ExifImageHeight = 1239
  | |     - Tag 0xa003 (4 bytes, int32u[1])
  | 21) ICC_Profile (SubDirectory) -->
  |     - Tag 0x8773 (560 bytes, undef[560])
  | + [ICC_Profile directory with 10 entries, 560 bytes]
  | | ProfileHeader (SubDirectory) -->
  | | + [BinaryData directory, 128 bytes]
  | | | ProfileCMMType = ADBE
  | | | - Tag 0x0004 (4 bytes, string[4])
  | | | ProfileVersion = 528
  | | | - Tag 0x0008 (2 bytes, int16s[1])
  | | | ProfileClass = mntr
  | | | - Tag 0x000c (4 bytes, string[4])
  | | | ColorSpaceData = RGB
  | | | - Tag 0x0010 (4 bytes, string[4])
  | | | ProfileConnectionSpace = XYZ
  | | | - Tag 0x0014 (4 bytes, string[4])
  | | | ProfileDateTime = 1999 6 3 0 0 0
  | | | - Tag 0x0018 (12 bytes, int16u[6])
  | | | ProfileFileSignature = acsp
  | | | - Tag 0x0024 (4 bytes, string[4])
  | | | PrimaryPlatform = APPL
  | | | - Tag 0x0028 (4 bytes, string[4])
  | | | CMMFlags = 0
  | | | - Tag 0x002c (4 bytes, int32u[1])
  | | | DeviceManufacturer = none
  | | | - Tag 0x0030 (4 bytes, string[4])
  | | | DeviceModel =
  | | | - Tag 0x0034 (4 bytes, string[4])
  | | | DeviceAttributes = 0 0
  | | | - Tag 0x0038 (8 bytes, int32u[2])
  | | | RenderingIntent = 0
  | | | - Tag 0x0040 (4 bytes, int32u[1])
  | | | ConnectionSpaceIlluminant = 0.9642 1 0.82491
  | | | - Tag 0x0044 (12 bytes, fixed32s[3])
  | | | ProfileCreator = ADBE
  | | | - Tag 0x0050 (4 bytes, string[4])
  | | | ProfileID = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  | | | - Tag 0x0054 (16 bytes, int8u[16])
  | | 0)  ProfileCopyright = Copyright 1999 Adobe Systems Incorporated
  | |     - Tag 'cprt' (50 bytes, type 'text')
  | | 1)  ProfileDescription = Adobe RGB (1998)
  | |     - Tag 'desc' (107 bytes, type 'desc')
  | | 2)  MediaWhitePoint = 0.95045 1 1.08905
  | |     - Tag 'wtpt' (20 bytes, type 'XYZ ')
  | | 3)  MediaBlackPoint = 0 0 0
  | |     - Tag 'bkpt' (20 bytes, type 'XYZ ')
  | | 4)  RedTRC = curv..3
  | |     - Tag 'rTRC' (14 bytes, type 'curv')
  | | 5)  GreenTRC = curv..3
  | |     - Tag 'gTRC' (14 bytes, type 'curv')
  | | 6)  BlueTRC = curv..3
  | |     - Tag 'bTRC' (14 bytes, type 'curv')
  | | 7)  RedMatrixColumn = 0.60974 0.31111 0.01947
  | |     - Tag 'rXYZ' (20 bytes, type 'XYZ ')
  | | 8)  GreenMatrixColumn = 0.20528 0.62567 0.06087
  | |     - Tag 'gXYZ' (20 bytes, type 'XYZ ')
  | | 9)  BlueMatrixColumn = 0.14919 0.06322 0.74457
  | |     - Tag 'bXYZ' (20 bytes, type 'XYZ ')


Thanks,

Edward

Phil Harvey

Hi Edward,

Sorry, I meant add the -v2 option to the command when you are writing (with -csv=CSVFILE) so I can see what is written and where.

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

emccainaz

Right, I added the -v2 to the csv command and the metadata does seem to be written. I just discovered that the main problem was me (of course) and that I was reading the metadata with Photo Mechanic, which was set to view the IPTC data first, then the XMP. When I reset it that in PM preferences, I could see metadata in most of the files! What a relief!

I did notice that I'm still not getting any metadata in this particular file:



EMcs-MBP-240:CBD_Salamanders emccainaz$ exiftool -csv=CBD_Salamanders.csv -v2 -o ../CBD_images_metadata/ .
======== ./FrostedFlatwoodsSalamander_c_MichaelGraziano_1TP.jpeg
Writing XMP-photoshop:AuthorsPosition
Writing XMP-photoshop:CaptionWriter
Writing XMP-photoshop:Category
  Warning = Malformed UTF-8 character(s)
Writing XMP-pur:Copyright if tag exists
Writing XMP-prism:Copyright if tag exists
Writing XMP-tiff:Copyright
Writing XMP-xmpDM:Copyright if tag exists
Writing XMP-pdf:Copyright if tag exists
Writing XMP-iptcCore:CreatorWorkEmail
Writing XMP-exif:DateTimeOriginal
Writing XMP-dc:Description
Writing XMP-xmp:Description if tag exists
Writing XMP-photoshop:Headline
Writing XMP-photoshop:Instructions
Writing XMP-iptcCore:IntellectualGenre
Writing XMP-prism:Location if tag exists
Writing XMP-iptcCore:Location
Writing XMP-mediapro:Location if tag exists
Writing XMP-xmp:ModifyDate
Writing XMP-iptcCore:Scene
Writing XMP-xmpDM:Scene if tag exists
Writing XMP-dc:Subject
Writing XMP-xmpMM:Subject if tag exists
Writing XMP-pdf:Subject if tag exists
Writing XMP-iptcCore:SubjectCode
Writing XMP-photoshop:SupplementalCategories
Writing XMP-dc:Title
Writing XMP-xmp:Title if tag exists
Writing XMP-pdf:Title if tag exists
Writing XMP-photoshop:TransmissionReference
Writing XMP-xmpRights:UsageTerms
'./FrostedFlatwoodsSalamander_c_MichaelGraziano_1TP.jpeg' --> '../CBD_images_metadata/FrostedFlatwoodsSalamander_c_MichaelGraziano_1TP.jpeg'
Rewriting ./FrostedFlatwoodsSalamander_c_MichaelGraziano_1TP.jpeg...
  Editing tags in: APP1 XMP
  Creating tags in: APP1 XMP
JPEG APP0 (14 bytes):
JPEG APP1 (14289 bytes):
JPEG APP1 (9149 bytes):
  Rewriting XMP
    + XMP-photoshop:AuthorsPosition = 'CalPhotos, http://calphotos.berkeley.edu, ht[snip]'
    + XMP-photoshop:CaptionWriter = 'XMPCaptionWriter'
    + XMP-photoshop:Category = 'No'
    + XMP-tiff:Copyright = '? Michael Graziano'
    + XMP-iptcCore:CreatorWorkEmail = 'mpgraziano@gmail.com'
    - XMP-exif:DateTimeOriginal = '2005-12-13T10:11:09-07:00'
    + XMP-exif:DateTimeOriginal = '1957-06-26'
    + XMP-dc:Description = 'Frosted Flatwoods Salamander Ambystoma cingulatum  Phot[snip]'
    + XMP-photoshop:Headline = 'XMPHeadline'
    + XMP-photoshop:Instructions = 'XMPInstruction'
    + XMP-iptcCore:IntellectualGenre = 'XMPIntellectualGenre'
    + XMP-iptcCore:Location = 'XMPLocation'
    - XMP-xmp:ModifyDate = '2005-12-13T10:11:09-07:00'
    + XMP-xmp:ModifyDate = '1957-06-26'
    + XMP-iptcCore:Scene = 'No'
    + XMP-dc:Subject = 'amphibians;salamanders'
    + XMP-iptcCore:SubjectCode = '8649'
    + XMP-photoshop:SupplementalCategories = 'E:\Staff\Bill_H\SharePoint_Photo_Expo[snip]'
    + XMP-dc:Title = 'FrostedFlatwoodsSalamander_(c)MichaelGraziano_1TP.jpeg'
    + XMP-photoshop:TransmissionReference = 'XMPTransmissionReference'
    + XMP-xmpRights:UsageTerms = '1TP: One-time only permission; must request permi[snip]'
JPEG APP13 (228 bytes):
JPEG DQT (65 bytes):
JPEG DQT (65 bytes):
JPEG SOF0:
JPEG DHT (29 bytes):
JPEG DHT (179 bytes):
JPEG DHT (29 bytes):
JPEG DHT (179 bytes):
JPEG SOS
Copying Mac OS resource fork



Phil Harvey

I'm glad you figured out (most of) the problem.  This problem is related to FAQ number 3.

It looks like the tags are being written (and the output file in the ../CBD_images_metadata directory should have the new XMP tags).  if you run this command, what do you get?:

exiftool -xmp:all ../CBD_images_metadata/FrostedFlatwoodsSalamander_c_MichaelGraziano_1TP.jpeg

Note that there is a problem with the UTF-8 of the Copyright value you are trying to write.  I suspect you have a copyright symbol which isn't UTF-8.  You can use the -charset option to specify the character set to fix this.

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

emccainaz

I keep re-reading the FAQs and I learn something new each time! I still don't completely understand how metadata gets prioritized for reading and writing, but will continue working on that. I want to know more about the MWG tags for sure.

Here is the output from running that command:



EMcs-MBP-240:CBD_Salamanders emccainaz$ exiftool -xmp:all ../CBD_images_metadata/FrostedFlatwoodsSalamander_c_MichaelGraziano_1TP.jpeg
XMP Toolkit                     : Image::ExifTool 8.68
Creator Contact Info            :
Creator Work Email              : mpgraziano@gmail.com
Intellectual Genre              : XMPIntellectualGenre
Location                        : XMPLocation
Scene                           : No
Subject Code                    : 8649
Description                     : Frosted Flatwoods Salamander Ambystoma cingulatum  Photo Credit: ? Michael Graziano
Subject                         : amphibians;salamanders
Title                           : FrostedFlatwoodsSalamander_(c)MichaelGraziano_1TP.jpeg
Date/Time Digitized             : 2005:12:13 10:11:09-07:00
Flash Fired                     : True
Flash Function                  : False
Flash Mode                      : Auto
Flash Red Eye Mode              : False
Flash Return                    : Return detected
Authors Position                : CalPhotos, http://calphotos.berkeley.edu, http://calphotos.berkeley.edu/cgi/img_query?query_src=photos_index&enlarge=1111+1111+1111+4649
Caption Writer                  : XMPCaptionWriter
Category                        : No
Color Mode                      : RGB
Headline                        : XMPHeadline
ICC Profile Name                : sRGB IEC61966-2.1
Instructions                    : XMPInstruction
Legacy IPTC Digest              : D4C0F4E228229E5701CA228088878AFC
Supplemental Categories         : E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\FrostedFlatwoodsSalamander_(c)MichaelGraziano_1TP.jpeg
Transmission Reference          : XMPTransmissionReference
Copyright                       : ? Michael Graziano
Photometric Interpretation      : RGB
Samples Per Pixel               : 3
Metadata Date                   : 2009:11:04 09:02:26-07:00
Rating                          : 0
Usage Terms                     : 1TP: One-time only permission; must request permission for additional use
Already Applied                 : True


Thanks,

Edward

Phil Harvey

Hi Edward,

It looks to me like everything was written.  The only missing tags in the -xmp:all output are DateTimeOriginal and ModifyDate, which I expect are hidden because they also exist elsewhere (I should have asked you to add -a, as per FAQ 3, then we would have seen them).

So it looks like everything is working for you now.

About the prioritization of tags when reading without the -a option:  This is complicated because I have tweaked the individual priority of many tags, but the general rule is the tag that takes priority is the last tag read from the file of that name (rather arbitrary, I know).

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

emccainaz

I still have a bit of a mystery, though. I've tried reading the metadata with Photo Mechanic, Adobe Bridge CS4 and the latest version of Media Pro. Photo Mechanic seems to read the time and date (Create Date?), Bridge also reads only the time and date and Media Pro reads the date and what it calls the URL, although this seems to be what ExifTool calls Author's Position. In addition, Media Pro seems to be ignoring the first part of the text - "CalPhotos," and just reading the URL from that field. This doesn't seem to correspond to any mapping of the metadata fields, whether IPTC or XMP that I have seen.

Here is the output for that file, adding the -a option:



EMcs-MBP-240:CBD_Salamanders emccainaz$ exiftool -a -xmp:all ../CBD_images_metadata/FrostedFlatwoodsSalamander_c_MichaelGraziano_1TP.jpeg
XMP Toolkit                     : Image::ExifTool 8.68
Creator Contact Info            :
Creator Work Email              : mpgraziano@gmail.com
Intellectual Genre              : XMPIntellectualGenre
Location                        : XMPLocation
Scene                           : No
Subject Code                    : 8649
Description                     : Frosted Flatwoods Salamander Ambystoma cingulatum  Photo Credit: ? Michael Graziano
Subject                         : amphibians;salamanders
Title                           : FrostedFlatwoodsSalamander_(c)MichaelGraziano_1TP.jpeg
Aperture Value                  : 3.0
Brightness Value                : 2.18359375
Color Space                     : sRGB
Contrast                        : Normal
Custom Rendered                 : Normal
Date/Time Digitized             : 2005:12:13 10:11:09-07:00
Date/Time Original              : 1957:06:26
Exif Version                    : 0220
Exposure Compensation           : 0
Exposure Index                  : 100
Exposure Mode                   : Auto
Exposure Program                : Program AE
Exposure Time                   : 1/125
F Number                        : 3.0
File Source                     : Digital Camera
Flash Fired                     : True
Flash Function                  : False
Flash Mode                      : Auto
Flash Red Eye Mode              : False
Flash Return                    : Return detected
Focal Length                    : 23.8 mm
Focal Length In 35mm Format     : 116 mm
Focal Plane Resolution Unit     : cm
Focal Plane X Resolution        : 2.775e-05
Focal Plane Y Resolution        : 2.775e-05
Gain Control                    : Low gain up
ISO                             : 100
Light Source                    : D55
Max Aperture Value              : 2.6
Metering Mode                   : Center-weighted average
Exif Image Width                : 714
Exif Image Height               : 586
Saturation                      : Normal
Scene Capture Type              : Standard
Scene Type                      : Directly photographed
Sensing Method                  : Monochrome area
Sharpness                       : Normal
Shutter Speed Value             : 1/125
Subject Distance Range          : Macro
White Balance                   : Auto
Prefs                           : Tagged:0, ColorClass:0, Rating:0, FrameNum:-00001
Authors Position                : CalPhotos, http://calphotos.berkeley.edu, http://calphotos.berkeley.edu/cgi/img_query?query_src=photos_index&enlarge=1111+1111+1111+4649
Caption Writer                  : XMPCaptionWriter
Category                        : No
Color Mode                      : RGB
Date Created                    : 2005:12:13 10:11:09-07:00
Headline                        : XMPHeadline
ICC Profile Name                : sRGB IEC61966-2.1
Instructions                    : XMPInstruction
Legacy IPTC Digest              : D4C0F4E228229E5701CA228088878AFC
Supplemental Categories         : E:\Staff\Bill_H\SharePoint_Photo_Export\SPECIES\ANIMALS\AMPHIBIANS\salamanders\FrostedFlatwoodsSalamander_(c)MichaelGraziano_1TP.jpeg
Transmission Reference          : XMPTransmissionReference
Bits Per Sample                 : 8, 8, 8
Copyright                       : ? Michael Graziano
Image Height                    : 586
Image Width                     : 714
Make                            : Hewlett-Packard
Camera Model Name               : HP PhotoSmart C945 (V01.67)
Orientation                     : Horizontal (normal)
Photometric Interpretation      : RGB
Resolution Unit                 : inches
Samples Per Pixel               : 3
X Resolution                    : 72
Y Resolution                    : 72
Create Date                     : 2005:12:13 10:11:09-07:00
Metadata Date                   : 2009:11:04 09:02:26-07:00
Modify Date                     : 1957:06:26
Rating                          : 0
Usage Terms                     : 1TP: One-time only permission; must request permission for additional use
Already Applied                 : True


I may also try uploading this file into ResourceSpace, which uses ExifTool (the Perl version?) for reading and writing metadata, I believe. I just can't understand why all these other applications would not be reading the metadata. I have seven out of 56 files that have the same problem, so this would represent a significant loss of metadata if the I had the same results for the larger set of 5,000 images with which I am working. Any insight you can provide would be appreciated.

Thanks,

Edward

Phil Harvey

Hi Edward,

In general, I try to insulate myself from this type of discussion because it has nothing to do with the mechanics of ExifTool, and everything to do with how other applications treat metadata.

ExifTool gives full control over what metadata you read and write, and while ResourceSpace does use ExifTool for the mechanics of reading and writing the metadata, I have no idea the specifics of what they are reading from where.

This is the reason that the Metadata Working Group created their recommendations.  I suggest you read this document.  ExifTool has an MWG feature which makes it easier to implement MWG compatibility, which may help with problems such as this.

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

emccainaz

Hi Phil,

I completely understand your reluctance to get into the realm of what other applications are or are not doing with the metadata. HUGE thanks for all your help in walking me this far along the road to learning ExifTool. I'm grateful for your all your hard work and support! ExifTool has certainly made a seemingly impossible task much easier.

Cheers,

Edward