The DAM Forum
Welcome, Guest. Please login or register.
June 18, 2013, 12:05:26 AM

Login with username, password and session length
Search:     Advanced search
Jan 9, 2012
John Beardsworth's new Lightroom site
Lightroom Solutions
27968 Posts in 5116 Topics by 2914 Members
Latest Member: imthedamstar
* Home Help Search Login Register
+  The DAM Forum
|-+  Software Discussions
| |-+  ImageIngester and ImageVerifier
| | |-+  Adding lens data in ImageIngester 3
« previous next »
Pages: [1] Print
Author Topic: Adding lens data in ImageIngester 3  (Read 2397 times)
Marc Beije
Newbie
*
Posts: 16


View Profile
« on: February 24, 2009, 09:24:49 AM »

Since not all of my lenses are identified correctly by Lightroom, I'd like to add the information to the ImageIngester-IPTC.xmp template before conversion to DNG. I use the following xmp:

Code:
<rdf:Description rdf:about="" xmlns:aux="http://ns.adobe.com/exif/1.0/aux/">
<aux:Lens>{@QF.Lens}</aux:Lens>
</rdf:Description> 


After ImageIngester has created the XMP for the image, the "aux" namespace has disappeared, which renders the XMP invalid:

Code:
<rdf:Description rdf:about=""
<aux:Lens>Sigma 300mm F4 APO Macro</aux:Lens>
</rdf:Description>

Has any else come across this, or have any suggestions on how to solve this problem?

Thanks,

Marc
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW
« Reply #1 on: February 24, 2009, 10:27:07 PM »

Marc--

I assume you've checked the sidecar itself, and that's where it's missing.

Try putting the xmlns part on the next line.

--Marc
Logged

Marc Beije
Newbie
*
Posts: 16


View Profile
« Reply #2 on: February 25, 2009, 12:15:52 AM »

Hi Marc,

Thanks for your reply. Yes, the second piece of code is from the resulting sidecar file. If I move the namespace part to a separate line, the entire rdf:Description node with the "aux" namespace is missing from the final sidecar file.

Marc
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW
« Reply #3 on: February 28, 2009, 11:46:56 AM »

Marc--

II has some checks in it to prevent various errors that have occurred in the past with downstream apps such as Bridge, Photoshop, iView/Expression Media, RapidFixer, Lightroom, etc., and one of them is to toss out the xmlns:aux section.

But, you might be OK defeating this. To do so:

1. Put the xmlns:aux part on a separate line.
2. Put a space between "aux" and the "=" sign.

In my tests, that allowed the xmlns:aux section to appear in the sidecar. However, this might have other undesirable effects with other apps, such as causing all other EXIF data to be ignored. Also, the fix might not work if the downstream app insists on no space before the "=" sign. (I didn't test that.)

You're on your own for those consequences.

--Marc
Logged

Marc Beije
Newbie
*
Posts: 16


View Profile
« Reply #4 on: February 28, 2009, 02:11:40 PM »

Yes. that works Smiley , thanks very much for your help! I've been using the same 'trick' for almost a year now with Lightroom and my own little download application, so I don't expect any problems there.

Marc
Logged
Marc Rochkind
Hero Member
*****
Posts: 1136


View Profile WWW
« Reply #5 on: March 02, 2009, 06:38:12 PM »

Nice to know, Marc. As soon as I saw that you spelled your first name properly, I assumed you knew what you were doing. ;-)

--Marc
Logged

Marc Beije
Newbie
*
Posts: 16


View Profile
« Reply #6 on: March 02, 2009, 08:58:52 PM »

As soon as I saw that you spelled your first name properly, I assumed you knew what you were doing. ;-)

 Cheesy
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!