Reading metadata with exiftool

OK, let's bounce this one around and see if anyone has an elegant solution!
I'd like to read metadata that is in images/sidecars, but which LR doesn't display, and put the information into custom fields. While it would be great to have direct access - ie the SDK should let you read XMP data from files or from the Additional_metadata SQL table - in in its absence I am using Exiftool to extract that information. Where I hit a roadblock is that LRTasks can send the correct command line, but LRTasks.execute only returns a 0 or 1, the OS exit message, and not the Exiftool string.
So I'm forced to look at alternatives. One would be to make Exiftool generate a temporary file, and then attempt to read that. Any other ideas - or support for the above feature request ?
John

Hmmm, I responded via email 8 hours ago yet it hasn't shown up. This response might be duplicated if there's just a big latency:
John - Yes, it's frustrating knowing how much powerful functionality is sitting there but not accessible to us. I hope the SDK opens up much more in upcoming versions.
Let me know when/if you proceed with this particular idea. I have a project I'm going to need this for in about a month or so and it'd be nice to not reinvent the wheel. If you won't need it until after that, I'll get it going and then we can compare notes when you're ready. Plus, I'm on Windows and would need a Mac user to verify things are working - I assume you'll need the reverse (?).
db

Similar Messages

  • Will LR4 read metadata from NX2 NEFs

    Hello, I can't seem to find an answer to this, so perhaps someone can assist:
    I have just bought a refurb' imac 27" and have imported my photos to the imac, inside a folder I have created inside picture called 'Lightroom 4 photos'
    The photos were originally NEFs on my windows laptop, and were imported/edited originally using the Nikon programs transfer, view nx and capture nxw,  They all contain my copyright info etc, and have been keyworded. I am about to import them into LR4, but a little niggle is stopping me. I understand that LR4 won't read my NX2 edits, but can't find out whether a) LR will read the existing metadata so I have to do nothing, or b)I will have to enter all metadata again into lightroom.
    I have about 800 photos, so wouldn't be a huge problem if I needed to re-enter
    I would appreciate any help, and further comments, Thanks
    Roy Kaye

    Hi finesse99,
    NxToo was designed primarily to be able to use NX2 as editor in a Lightroom-centric workflow. Where Lightroom-centric means, among other things: Lightroom is for metadata, NX2 can be used for develop edits.
    To make a longer story shorter, there is no specific feature to transfer metadata (e.g. keywords and ratings) from NEFs, as written by NX2, to NEFs in Lightroom (catalog).
    There is a way to do this, which should be fine for a one-time shot (not optimal for a convenient ongoing workflow), e.g.
    * transfer metadata to xmp using exiftool command:
    exiftool -xmp -b {filename}.nef > {filename}.xmp
    Note: this will overwrite all of your existing xmp files.
    (consider puting this in a batch file, or just change the filename of an exiftool executable to implement batch mode, for example - this filename will do it: 'exiftool (-xmp -b -o %d%f.xmp).exe', but *won't* overwrite existing xmp files, so you'll need to pre-delete them)
    (another option is to use a shortcut to pass parameters - documentation on exiftool website...)
    Drop all of your nefs on the exiftool executable, shortcut, or batch file, then read metadata in Lightroom.
    Lightroom will incorporate the part it understands (e.g. ratings and keywords) and leave the rest, so it's a fairly safe operation, although *do* backup your catalog first just in case.
    Consider re-saving xmp of all nefs afterward, in Lightroom, so xmp files are re-populated with all Lr-supported metadata, if you like having the xmp sidecars around and up2date. Otherwise, all xmp files can be deleted, since NX2 metadata will be now be in Lr catalog.
    The other option I mentioned previously (extract jpeg previews from the NEFs in Lr so NxToo transfers metadata to the jpegs, then sync the jpegs back to the nefs using RawPlusJpeg or Syncomatic) will not work, since Lr metadata will take priority over NX2 metadata. (one could easily modify the code to change this behavior, but that would take lua coding know-how).
    If you need help with the my plugin(s), please contact me outside the forum. help with exiftool can be done in-forum since people don't get so irked when I help other people with software that wasn't written by me personally .
    Rob

  • Bug: Keywords behave incorrectly after "Read Metadata from File"

    (Happens in LR3.4 RC and probably also in previous versions... but I am not sure if it happened in LR2)
    The problem seems tro be somthing like de-sync of database status and what we see on the screen.
    1) Let's say we have a photo with keyword "abc"
    2) Click in the Keyword List on the arrow around the "abc" keyword to show only photos with this keyword (single one), leave the filter on this settings
    2) Save Metadata to File
    3) Edit XMP in an external application, add new keyword "def"
    4) Read Metadate from File
    5) Now what happens is: The photos disappers from the screen as if it lost the "abc" keyword (weird), but if you look at the Keyword List, the "abc" keyword has still 1 photo attached to it. Also, if you release the filter and find the photo, it clearly has the "abc" and "def" keywords in the Keywording panel. And you can search for this keyword in the text filter (works correctly), but if you click on the arrow around the "abc" keyword, the photo is not shown.
    6) If you restart the Lightroom, it will work correctly again.
    I have an own application that is able to modify the XMP and the modifications may not be perfect, but in my opinion, this shouldn't happen when reading the metadata. If any developer is reading this, I can supply a file with original and changed metadata for debugging.
    It would be great it this could be resolved.
    Thanks!

    Please do report your find with the details you state (well done!) here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Thanks.........

  • XML cannot fully get all metadata with "getItemRequest"

    Hi All,
    My client is using GroupWise 7.0.3.
    We want to get the dropdown list custom field data of document, but the XML file cannot fully record all corresponding custom field data by using "getItemRequest".
    For example:
    GroupWise Client - Document 1 :
    Dropdown list custom field 1: aaa
    Sub dropdown list custom field 1-1 of custom field 1: aab
    Sub dropdown list custom field 1-2 of custom field 1: aac
    Dropdown list custom field 2: bbb
    Sub dropdown list custom field 2-1 of custom field 2: bbc
    Sub dropdown list custom field 2-2 of custom field 2: bbd
    Sub dropdown list custom field 2-3 of custom field 2: (Empty data)
    XML recording - Document 1:
    <custom type="String">
    <field>custom field 1</field>
    <value>aaa</value>
    </custom>
    <custom type="String">
    <field>custom field 1-1</field>
    <value>aab</value>
    </custom>
    <custom type="String">
    <field>custom field 2-1</field>
    <value>bbc</value>
    </custom>
    <custom type="Numeric">
    <field>custom field 2-3</field>
    <value>0</value>
    </custom>
    In my program, i just call "getItemRequest" and export the response to XML
    Code:
    WebReference.getItemRequest req = new WebReference.getItemRequest();
    WebReference.getItemResponse resp;
    string outPath = @"c:\GW\"
    string FileName = filename.toString();
    req.id = doc.ID;
    req.view = "View";
    resp = ws.getItemRequest(req);
    if (0 == resp.status.code)
    if (null != resp.item)
    ObjectToXml(resp, outPath + FileName + ".xml");
    Am i missing something or step?
    Or what i need to do?
    Could anyone to give me some suggestion?
    Thank you very much.
    Jimmy

    Hi Preston,
    But client doesn't update GW, therefore we will find another ways.
    However, thank you for your advice.
    Jimmy
    Originally Posted by Preston Stephenson
    Sorry, there is no support for 7.0.x.
    The only place you will get support (with some exceptions) is GW 2012.
    (There will be some changes made to 8.0.x, but this would not qualify.)
    You can try GW 2012.
    There is little support for Document Management in the SOAP API.
    When you try GW 2012 and you still have a problem, let me know.
    Preston
    >>>
    Hi All,
    My client is using GroupWise 7.0.3.
    We want to get the dropdown list custom field data of document, but the
    XML file cannot fully record all corresponding custom field data by
    using "getItemRequest".
    For example:
    GroupWise Client - Document 1 :
    Dropdown list custom field 1: aaa
    Sub dropdown list custom field 1-1 of custom field 1: aab
    Sub dropdown list custom field 1-2 of custom field 1: aac
    Dropdown list custom field 2: bbb
    Sub dropdown list custom field 2-1 of custom field 2: bbc
    Sub dropdown list custom field 2-2 of custom field 2: bbd
    Sub dropdown list custom field 2-3 of custom field 2: (Empty data)
    XML recording - Document 1:
    <custom type="String">
    <field>custom field 1</field>
    <value>aaa</value>
    </custom>
    <custom type="String">
    <field>custom field 1-1</field>
    <value>aab</value>
    </custom>
    <custom type="String">
    <field>custom field 2-1</field>
    <value>bbc</value>
    </custom>
    <custom type="Numeric">
    <field>custom field 2-3</field>
    <value>0</value>
    </custom>
    In my program, i just call "getItemRequest" and export the response to
    XML
    Code:
    WebReference.getItemRequest req = new WebReference.getItemRequest();
    WebReference.getItemResponse resp;
    string outPath = @"c:\GW\"
    string FileName = filename.toString();
    req.id = doc.ID;
    req.view = "View";
    resp = ws.getItemRequest(req);
    if (0 == resp.status.code)
    if (null != resp.item)
    ObjectToXml(resp, outPath + FileName + ".xml");
    Am i missing something or step?
    Or what i need to do?
    Could anyone to give me some suggestion?
    Thank you very much.
    Jimmy
    jimmyng25
    jimmyng25's Profile: View Profile: jimmyng25 - Novell Forums
    View this thread: XML cannot fully get all metadata with "getItemRequest"

  • Error: Could not read Metadata from Portal Database !

    Hi All!
    My problem is when i am trying to open the portal page (Oracle 10G)
    http://domain/portal/page?_pageid=6,1,6_13&_dad=portal&_schema=PORTAL
    then i have an Error: Could not read Metadata from Portal Database.
    And i do not know why because everything is up and running. I can connect and browse my database schema with portal user. I can connect to pls/orasso and where ever i want.
    [07/Feb/2006:00:57:23 +0100] "GET /pls/portal/htp.p?cbuf=Test HTTP/1.1" 200 5
    plz help i am trying to fix this in the last 2 weeks :)
    thx kEndE

    Hi Andreas,
    I've changed the permissions to 775 and changed the ownership of /sapcd (volume name) to orasid:dba (including all files within the staging area /sapcd/ora-patch).
    So the permissions and ownership seems to be fine.
    I've also ran your suggested commands but the issue still exists.
    I'm now liasing with our UNIX guy to check if there is any underlying permission issues on the volume (sapcd) that may be causing this problem.
    In the mean time, let me know if you have any further thoughts.
    Thanks,
    Chris

  • PowerView Errors in the metadata manager. The current model can only be expressed when the client is requesting tabular view metadata with VERSION restriction of 2.0 or later

    SQL 2012 SP 1 CU4 applied. Now getting " Errors in the metadata manager. The current model can only be expressed when the client is requesting tabular view metadata with VERSION restriction of 2.0 or later"
    Any ideas what could be causing it to send the incorrect version?

    amaltsev1,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • MFT-5031_Error occurred while reading metadata of file

    Am facing the error below while using OMFT to transfer files to a remote FTP server.
    Error occurred while reading metadata of file.
    Action
    Check the adapter properties and try again. If the problem persists, contact Oracle Support Services.
    Error Description
    MFTException [threadName=JCA-work-instance:JMSAdapter-0, errorID=a4322627-8aa5-4796-ae77-3e1576f2e3dc, errorDesc=MFT-5031_Error occurred while reading metadata of file [KE03122014FTSAF26336.AD2] from endpoint [FTPEndPoint: Host:[KRATESTSVR], Port:[5454], User:[Safcom], Folder:[/Files]]., cause=oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: file://wsdl/FileListing_ptt.wsdl [ FileListing_ptt::FileListing(part,part) ] - WSIF JCA Execute of operation 'FileListing' failed due to: Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. ; nested exception is: BINDING.JCA-11430 Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. Please make sure that the ftp server settings are correct. ]
    Error Text
    Error occurred while reading metadata of file [KE03122014FTSAF26336.AD2] from endpoint [FTPEndPoint: Host:[KRATESTSVR], Port:[5454], User:[Safcom], Folder:[/Files]].

    Yes i am also running with same version 7.0(1) SR5 but
    this error is showing me when i am configuring resources to a new agent if i go directly from RMCM it works fine
    please let me know if some has solution on this.
    Waiting for your replys.
    Thanks & Regards

  • What is([103]) xcscredd(103) deny file-read-metadata /Users

    Hi all, Recently I found that after installed Mac OSX Server and some VPN server , on system monitor recorded many messages about :
    ([103]) xcscredd(103) deny file-read-metadata /Users , and gen many report on
    file:///var/log/asl/AUX.2014.02.20/383655
    do any member know what is these happened ? and how to stop it.
    I set OSX server on private network ,  success connect iPhone to OSX VPN server but cannot access internet from it. Oh....
    not user frirendly to operate OSX Server...
    any helps to slove these 2 problem ?

    1. Open the terminal
    2. type
    sudo vim /Applications/Server.app/Contents/ServerRoot/System/Library/Sandbox/Profiles/xcscredd.sb
    3. enter
    (deny file-read*    (subpath "/Users")    (with no-log) )
    into the file
    To edit the file you have to press i.
    4. The press ESC and then :wq (Enter)
    But you shouldn't do things like this, if even don't know how to change a text file.
    It's on your own risk.

  • Gallery: read Metadata tags

    Hello,
    LR-WEB-Gallery provides options to read metadata tags and insert them into WEB-pages by means of this code:
    ["perImageSetting.keywords"] = {
      enabled = true,
      value = "{{com.adobe.keywords}}",
      title = LOC "$$$/WPG/HTML/CSS/properties/ImageKeywords=Keywords",
    and then using the selector and the template text editor in the WEB-UI.
    This method is a bit cumbersome.
    On the other hand some tags can be inserted directly into the details.html like so:
    <p>$image.metadata.keywords</p>
    I prefer this method as it allows to place the desired tags indivdually on the grid.html or details.html.
    I am now curious to learn about a list of the tags that can be read that way because I found that many very common tags are not read that way.
    A list of tags is in the SDK 3.0 but I can't get it to work for most of the tags (not all).
    The values for all these tags are in database (Library Module) and the data has been saved to xmp-sidecar files.
    Still, the data is not read and results as 'nil'.
    Hopefully this is only a syntax issue only.
    Below some examples of common tags not being read:
    $image.metadata.title
    $image.metadata.copyright
    $image.metadata.location
    $image.metadata.isoCountryCode
    $image.metadata.city
    $image.metadata.state
    $image.metadata.country
    ...results
    Location:nil
    ISO Country Code:nil
    City:nil
    Thanks for replies.

    Hi,
    I'm referring to the "TAGS" field.
    I know they appear, but do they serve any purpose beyond simply appearing there? It seems redundant with the DESCRIPTION field. We were told the TAGS field would server some other, more sophisticated purpose, and I wanted to know if that purpose had ever been implemented. Our editorial team doesn't see any value in creating the content for the TAGS field if all it does is display in the browse mode. And I tend to agree. The TAGS field is not searchable as far as I know, or is it???
    Kindest regards,
    Brad

  • PreparedStatements - issue with grabbing metadata with Spring

    Hi ,
    I am new to SQLite. I am trying to run the statements on Spring
    using SQLite data source in a web application. When i am trying to
    connect to database it's giving the following problem.
    16 Nov 2009 18:34:41,554 WARN [Thread-1] XSnapshotRegistry | No such
    snapshot or helper class: com.signifo.webapp.form.UserForm,
    com.signifo.webapp.form.UserFormHelper
    16 Nov 2009 18:34:42,726 WARN [Thread-1] SQLErrorCodesFactory | Error
    while extracting database product name - falling back to empty error
    codes
    org.springframework.jdbc.support.MetaDataAccessException: Could not
    access DatabaseMetaData method 'getDatabaseProductName'; nested
    exception is java.lang.IllegalAccessException: Class
    org.springframework.jdbc.support.JdbcUtils$1 can not access a member
    of class org.sqlite.MetaData with modifiers "public"
    java.lang.IllegalAccessException: Class
    org.springframework.jdbc.support.JdbcUtils$1 can not access a member
    of class org.sqlite.MetaData with modifiers "public"
    at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.springframework.jdbc.support.JdbcUtils$1.processMetaData
    (JdbcUtils.java:209)
    at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData
    (JdbcUtils.java:174)
    at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData
    (JdbcUtils.java:204)
    at org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes
    (SQLErrorCodesFactory.java:185)
    at
    org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource
    (SQLErrorCodeSQLExceptionTranslator.java:126)
    at
    org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>
    (SQLErrorCodeSQLExceptionTranslator.java:92)
    at
    org.springframework.orm.hibernate3.SessionFactoryUtils.newJdbcExceptionTranslator
    (SessionFactoryUtils.java:133)
    at
    org.springframework.orm.hibernate3.HibernateAccessor.getJdbcExceptionTranslator
    (HibernateAccessor.java:235)
    at org.springframework.orm.hibernate3.HibernateTemplate.getSession
    (HibernateTemplate.java:412)
    at org.springframework.orm.hibernate3.HibernateTemplate.execute
    (HibernateTemplate.java:354)
    at org.springframework.orm.hibernate3.HibernateTemplate.loadAll
    (HibernateTemplate.java:515)
    at com.signifo.dao.hibernate.BaseDAOHibernate.getObjects
    (BaseDAOHibernate.java:59)
    at com.signifo.service.impl.BaseServiceImpl.getObjects
    (BaseServiceImpl.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
    (AopUtils.java:335)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:181)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
    (ReflectiveMethodInvocation.java:148)
    at
    org.springframework.transaction.interceptor.TransactionInterceptor.invoke
    (TransactionInterceptor.java:96)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
    (ReflectiveMethodInvocation.java:170)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
    (JdkDynamicAopProxy.java:176)
    at $Proxy4.getObjects(Unknown Source)
    at com.signifo.webapp.listener.StartupListener.setupContext
    (StartupListener.java:104)
    at com.signifo.webapp.listener.StartupListener.contextInitialized
    (StartupListener.java:90)
    at org.apache.catalina.core.StandardContext.listenerStart
    (StandardContext.java:3843)
    at org.apache.catalina.core.StandardContext.start
    (StandardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.addChildInternal
    (ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
    771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
    525)
    at org.apache.catalina.startup.HostConfig.deployDescriptor
    (HostConfig.java:627)
    at org.apache.catalina.startup.HostConfig.deployDescriptors
    (HostConfig.java:553)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
    488)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent
    (HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
    (LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
    1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
    1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
    443)
    at org.apache.catalina.core.StandardService.start
    (StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:
    710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    If any body knows how to solve this problem please help me on
    this. Here i am using spring - hibernate - sqlite.
    i have strucked in middle because of this.
    Thanks in advance,
    Sailaja

    I suggest you try a simpilier direct approach as follows and verifiy it works. Often, the JDBC driver does not support getting meta data.
    This example uses DatabaseMetaData to get data from an Oracle database. You will have to find an equivalent object to work with the database you are using.
    DatabaseMetaData dbmd=      null;     
    ResultSet resultSet=     null;
              try{
                   dbmd=          connection.getMetaData();          
                   resultSet=  dbmd.getColumns(null,schemaName,tableName,null);
                   while(resultSet.next()){
                        System.out.println(resultSet.getString("COLUMN_NAME"));
              

  • Bug: "Read metadata from file"

    When I add GPS coordinates to a file (with the program Geotagger) and select "read metadata from file" to import the new metadata, a color adjustment badge appears on the thumbnail (even though I didn't adjust any colors). This only happens with files that have a cropping applied to them in Lightroom. If the file doesn't have a custom cropping the color adjustment badge doesn't appear. It happens with both JPG and CR2 files. Seams like a bug to me.
    I'm on a 24" iMac 2.8 with 4 GB and OSX 10.5.5 / Lightroom 2.1

    It also happens with DNG. Anyway, I don't think it has anything to do with the GPS, but the issue has been around right back through version 1.x Try the following:
    1. Select an image that has no crops or develop adjustments
    2. Switch to Develop module
    3. Apply a crop
    4. Save metadata to file (Cmd+S)
    5. Read metadata back from file (Metadata menu - "Read Metadata from file"
    Please report what happens?
    At my end the Crop badge remains but a Develop Adjustment badge also appears - IMO it shouldn't, but as stated above it has for a VERY long time. I'll bug it again and see what happens.

  • Reading Metadata From File Resets the Setting

    I am using Lightroom 4 on MAC OS X Yosemite. I have done some editing on a picture in DNG format and then clicked "Save Metadata to File".  I checked the XMP file with textedit and found that the change is indeed saved. But when I click "Read Metadata From File", it resets the pictures before any editing. Please, I need help to fix this problem.

    jinsheng wrote:
    I have done some editing on a picture in DNG format and then clicked "Save Metadata to File".  I checked the XMP file with textedit and found that the change is indeed saved.
    I'm confused - I'm pretty-sure Lightroom 4 will not save changes to an xmp file (even if DNG is read-only, unlike Bridge) - it embeds the metadata in the DNG file. Did you mean you edited the DNG file with a text editor? Anyway, if you do have a .xmp sidecars to your DNG, I recommend deleting them, or renaming them (until you figure out what's going on anyway), then retry - any difference?
    PS - last I checked, Lr will generate an error when saving metadata if DNG is read-only, but since you're having a strange problem, I'd definitely make sure they are not read-only.
    Note: Lr WILL read metadata from an xmp sidecar, *iff* it seems newer than what is embedded. So, IF you have xmp sidecars that have a recent modification date, or *maybe* (I don't really know) if Lr was NOT able to successfully embed metadata into your DNG, it could be reading some incompatible metadata from the xmp sidecar - thus the reason to get it out of the way to test..

  • Read metadata from file cancel modifications !

    Hi,
    I use Lightroom 1.1 in french. I made some photo (in raw but in jpeg the result is the same) and import them in Lightroom with conversion in DNG. In Lightroom, in develop module, I crop, change contrast and som others.
    After that, I geotag my DNG files with HoudahGeo. HoudahGeo write geotag in the file. So back in Lightroom, I make a 'Read metadata from file' ('Lire les métadonnées depuis les fichiers' in french) for having geotag in Lightroom.
    Geotag are now in Lightoom, nice, but in develop history, I have a new line 'Rénitialiser les paramètres' !!! So I can't see all my modifications... Is it normal ?
    Thank you
    PS: Sorry for my english...

    I think you should test this with one or two pictures - import/convert, save metadata to file, geotag, read metadata. Also try import/convert, make small adjustment, save metadata to file, geotag, read metadata. In iView I often write metadata to DNG's that have been adjusted, then read the metadata in Lightroom - sometimes I add more data in iView and do more adjustments.
    I have seen the problem you describe, but it has been with raw files which I have adjusted in Lightroom but haven't saved out the metadata. I have then created an xmp sidecar in iView, and read the metadata in LR. So the sidecar had no ACR/LR instructions. The result was that my adjustments were wiped out. What I suspect is that something similar is happening with your DNGs - that conversion creates them but doesn't write the ACR/LR fields.
    So try a few alternative sequences.
    John

  • Read Metadata from TIFF-file

    Hi All!
    I try to get metadata from a TIFF-file. I tried to do this with this code. Everytime i get the same error. Anyone can help me?
    int imageIndex = 0;
    File f = new File(sourceFile);
    ImageInputStream stream = ImageIO.createImageInputStream(f);
    Iterator iter = ImageIO.getImageReaders(stream);
    ImageReader reader = (ImageReader)iter.next();
    reader.setInput(stream);
    IIOMetadata m = reader.getImageMetadata(imageIndex);
    Errormessage:
    run-single:
    Exception in thread "main" javax.imageio.IIOException: I/O error reading image metadata!
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.readMetadata(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.seekToImage(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader.getImageMetadata(Unknown Source)
    at tiffmetadatabug.Main.main(Main.java:80)
    Caused by: java.io.EOFException
    at javax.imageio.stream.ImageInputStreamImpl.readShort(ImageInputStreamImpl.java:211)
    at javax.imageio.stream.ImageInputStreamImpl.readUnsignedShort(ImageInputStreamImpl.java:222)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFIFD.initialize(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFIFD.initialize(Unknown Source)
    at com.sun.media.imageioimpl.plugins.tiff.TIFFImageMetadata.initializeFromStream(Unknown Source)
    ... 4 more
    Java Result: 1

    I think you should test this with one or two pictures - import/convert, save metadata to file, geotag, read metadata. Also try import/convert, make small adjustment, save metadata to file, geotag, read metadata. In iView I often write metadata to DNG's that have been adjusted, then read the metadata in Lightroom - sometimes I add more data in iView and do more adjustments.
    I have seen the problem you describe, but it has been with raw files which I have adjusted in Lightroom but haven't saved out the metadata. I have then created an xmp sidecar in iView, and read the metadata in LR. So the sidecar had no ACR/LR instructions. The result was that my adjustments were wiped out. What I suspect is that something similar is happening with your DNGs - that conversion creates them but doesn't write the ACR/LR fields.
    So try a few alternative sequences.
    John

  • Feature Request: save metadata to file, and read metadata from file.

    Please have function to save metadata to file, and read metadata from file.
    This would allow us to write cross-platform plugins that can assure data is up-to-date in the xmp, or modify xmp and have it reinstated in the catalog.
    This would go nicely with the ability to save xmp for virtual copies, dng, and rgb formats.

    Perhaps someone with direct experience with publishing to Smugmug will chime in.  Short of that, some thoughts on your issues:
    Should I not bother to "Save Metadata to File", this seems to be what is messing up the SmugMug publish service?
    I very much doubt that it is messing up the publishing.  What gets saved to the file from the catalog is independent of what gets exported.  Saving metadata to the file is generally a good practice (in case you screw up your catalog backups).  Many, perhaps most, users set the preference Catalog Settings > Automatically Write Changes Into XMP.
    I would have expected it to behave like an export which would write synonyms, exclude keywords that should be excluded, etc, which seems to work ok in point 6 above.
    Yes, that's a reasonable expectation.
    You may have done this already, but double-check: Right-click the Smugmug publishing service in the left-hand column of the Library, select Edit Settings, and in the Metadata section verify that you have Include: All Metadata set.
    Did you download the Smugmug plugin from Smugmug? You might try this Smugmug plugin instead -- the author designed the publishing architecture of LR and has an excellent reputation. 
    Are the publish services more effort than they are worth? So I get SmugMug to work, what happens when I try Flickr?
    I think many users find the publishing services are generally worthwhile.  I publish regularly to Flickr (using the built-in Flickr plugin, which isn't completely reliable) and the Zenfolio plugin from Friedl. 

Maybe you are looking for

  • Problem with DNS - ping/Safari cannot resolve, but host/dig work OK

    Hi All, Have a weird problem with DNS which is a bit similar to the following ones: http://discussions.info.apple.com/thread.jspa?threadID=2190208 http://forums.macrumors.com/showthread.php?t=337942 I connect with remote internal network via OpenVPN

  • Powermac g5 will not boot---hard disk appears not to mount

    tried resetting smu, nvram tried disk util---does not see drive(orig. 160 gb) tried new disk---not recognized either boots to OF ok i'm running out of patience and have no money to take it to apple would greatly appreciate any input/advice--thanks

  • Scroll-bar STILL not working right in 10.6.1 update

    The scroll-bar is STILL NOT working right in the 10.6.1 update.  I am not able to click anywhere on the scroll-bar and have the navigation go there.  I have to drag the blamed thing where ever I want it to go.  This problem only exist with the recent

  • Change print settings in iphoto

    I have owned a Mac for about 4 years and i still can't get my head arround printing in iPhoto. I have the latest Operating system and the latest version of iPhoto. I want to print 4 x 6x4 inch prints per A4 sheet. I use an Epson printer. With Windows

  • Specific scenario in PROFITABILITY ANALYSIS

    Can someone tell me his/her experience about a specific scenario in Profitability Analysis where he/she faced a problem and did something special in configuration/development in order to move from legacy to SAP system. I would appreciate the help and