Print

Print


There are various options at 
 
http://www.sno.phy.queensu.ca/~phil/exiftool/metafiles.html
 
You might need to look at the IPTC>XMP mapping, since I think there
could useful metadata in IPTC that isn't necessarily reflected in the
embedded XMP data.
 
But just tried the basic non-IPTC mapping option 
 
exiftool  myfile.jpg -o  test.xmp
 
and got something like this, which seems like it might be useful:
 
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 7.42'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
 
 <rdf:Description rdf:about=''
  xmlns:exif='http://ns.adobe.com/exif/1.0/'>
  <exif:ColorSpace>1</exif:ColorSpace>
  <exif:CompressedBitsPerPixel>4/1</exif:CompressedBitsPerPixel>
  <exif:Contrast>0</exif:Contrast>
  <exif:CustomRendered>0</exif:CustomRendered>
 
<exif:DateTimeOriginal>2012-02-15T11:29:21-05:00</exif:DateTimeOriginal>
  <exif:ExifVersion>0221</exif:ExifVersion>
  <exif:ExposureBiasValue>0/1</exif:ExposureBiasValue>
  <exif:ExposureMode>0</exif:ExposureMode>
  <exif:ExposureProgram>2</exif:ExposureProgram>
  <exif:ExposureTime>1/8</exif:ExposureTime>
  <exif:FNumber>27/10</exif:FNumber>
  <exif:FileSource>3</exif:FileSource>
  <exif:FlashpixVersion>0100</exif:FlashpixVersion>
  <exif:FocalLength>47/10</exif:FocalLength>
  <exif:ISOSpeedRatings>
   <rdf:Seq>
    <rdf:li>400</rdf:li>
   </rdf:Seq>
  </exif:ISOSpeedRatings>
  <exif:LightSource>0</exif:LightSource>
  <exif:MaxApertureValue>24361/8200</exif:MaxApertureValue>
  <exif:MeteringMode>5</exif:MeteringMode>
  <exif:PixelXDimension>4320</exif:PixelXDimension>
  <exif:PixelYDimension>3240</exif:PixelYDimension>
  <exif:Saturation>0</exif:Saturation>
  <exif:SceneCaptureType>0</exif:SceneCaptureType>
  <exif:SceneType>1</exif:SceneType>
  <exif:Sharpness>0</exif:Sharpness>
  <exif:WhiteBalance>0</exif:WhiteBalance>
 </rdf:Description>
 
 <rdf:Description rdf:about=''
  xmlns:tiff='http://ns.adobe.com/tiff/1.0/'>
  <tiff:BitsPerSample>
   <rdf:Seq>
    <rdf:li>8</rdf:li>
   </rdf:Seq>
  </tiff:BitsPerSample>
  <tiff:Compression>6</tiff:Compression>
  <tiff:ImageDescription>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>                              
</rdf:li>
   </rdf:Alt>
  </tiff:ImageDescription>
  <tiff:ImageLength>4320</tiff:ImageLength>
  <tiff:ImageWidth>3240</tiff:ImageWidth>
  <tiff:Make>SONY</tiff:Make>
  <tiff:Model>DSC-W350</tiff:Model>
  <tiff:Orientation>1</tiff:Orientation>
  <tiff:ResolutionUnit>2</tiff:ResolutionUnit>
  <tiff:XResolution>72/1</tiff:XResolution>
  <tiff:YCbCrPositioning>2</tiff:YCbCrPositioning>
  <tiff:YCbCrSubSampling>2 1</tiff:YCbCrSubSampling>
  <tiff:YResolution>72/1</tiff:YResolution>
 </rdf:Description>
 
 <rdf:Description rdf:about=''
  xmlns:xmp='http://ns.adobe.com/xap/1.0/'>
  <xmp:CreateDate>2012-02-15T11:29:21-05:00</xmp:CreateDate>
  <xmp:ModifyDate>2012-02-15T11:29:21-05:00</xmp:ModifyDate>
 </rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end='w'?>
 

 
 
__________
 
David Dwiggins
Systems Librarian/Archivist, Historic New England
141 Cambridge Street, Boston, MA 02114
(617) 994-5948
[log in to unmask]
http://www.historicnewengland.org
>>> "Medina-Smith, Andrea" <[log in to unmask]> 1/10/2013
12:32 PM >>>
I can get the data out, and I can even get a single file created w/ all
the metadata for all the images in the collection. It's just that it is
unstructured and not useful as such. Anything xml would also be useful,
but I haven't found a product that does that. 

I was really trying not to just call you up ;) 

-a 

_______________________________________________________________________________
Andrea Medina-Smith
Metadata Librarian
NIST Gaithersburg
[log in to unmask]
301-975-2592

Be Green! Think before you print this email. 


-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
[log in to unmask]
Sent: Thursday, January 10, 2013 12:02 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] XMP Metadata to tab-delemited file

ResourceSpace does this internally to extract metadata. I think it's as
simple as 

exiftool -t -s imagefile.tif  metadatafile.tab

Does this do what you want?

-DD


__________

David Dwiggins
Systems Librarian/Archivist, Historic New England
141 Cambridge Street, Boston, MA 02114
(617) 994-5948
[log in to unmask]
http://www.historicnewengland.org
>>> "Medina-Smith, Andrea" <[log in to unmask]> 1/10/2013
10:57 AM >>>
Hello,

I need to take xmp metadata that is imbedded in tif images and pull it
out into a tab delimited text file for ingest into our digital
repository (CONTENTdm). Has anyone done this using exiftool or the
like?

Thanks,
A

_______________________________________________________________________________
Andrea Medina-Smith
Metadata Librarian
NIST Gaithersburg
[log in to unmask]
301-975-2592

Be Green! Think before you print this email.