Some IPTC fields 32 characters truncated by Lightroom

Hi,
I've got lots of images with certain IPTC fields (like "location") having length of greater than 32 characters. I'm noticing that these are being truncated to 32 characters when using "Save Metadata to File" in LR4 beta.
I'm not a metadata expert, but my understanding is that the "old" IPTC-IIM spec had character length limitations, but not XMP or "IPTC Core", which has been around for some time now. I think the following quote summarizes what I'm seeing:
Do we need to worry about older storage methods?
< snip >
This can happen several ways, but one cause is the legacy IPTC-IIM schema limits the number of characters per field. An IPTC Core field might be truncated when saved in a corresponding IPTC-IIM field. When moving back and forth between tools that only understand the legacy format and those that recognize both the newer and older formats, synchronizing the information becomes extremely important.
Source: http://www.photometadata.org/node/38
Is what I'm seeing expected? Is there some way to tell LR to allow IPTC fields (like "location") to be greater than 32 characters? Does LR3 exhibit this same behavior or is this a LR4 specific issue? (I'm not a LR3 user, considering the switch to LR though)
Thanks
Chris

If you store a 33-character text in the IPTC Sublocation field in LR, do Metadata > Save To File, and then check the metadata with Exiftool, you'll see that the IPTC:Sub-location field contains a truncated 32-character value, while XMP:Location contains the full 33-character value.  This conforms to the industry standards.
The terminology is horribly confusing.  In the JPEG file format, there are several sections of metadata, including EXIF, IPTC, and XMP.  EXIF and IPTC are defined by older standards (cameras create EXIF metadata, and applications create and add to both EXIF and IPTC metdata).  The XMP section is defined by a newer industry standard, and it was designed to incorporate all of the fields that can be stored in EXIF and IPTC; a subset of the XMP fields (a "namespace") is called the "IPTC Core" and defines fields similar to the legacy IPTC fields but without the restrictions.
A recent standard, the Metadata Working Group's Guidelines for Handling Image Metadata 2.0, defines the rules for how the three sections of metadata (EXIF, IPTC, and XMP) should be "synchronized".  LR appears to mostly conform to that standard.

Similar Messages

  • CS3 Extended - IPTC field limit of 32 characters?

    When I open an image, then save it - Photoshop will shorten the information in the Credit field to about 32 characters - BUT not all the times!!?? PS has saved this shorter version to the side in the 'pull down' area. I'm not positive if PS is shortening or using the 'saved' wrong version. 
    I have two questions -
    Is there a character limit? 
    Is there a way to remove typos in the 'saved' area of Credit or other IPTC fields within PS?
    Thank you
    Lloyd

    If you store a 33-character text in the IPTC Sublocation field in LR, do Metadata > Save To File, and then check the metadata with Exiftool, you'll see that the IPTC:Sub-location field contains a truncated 32-character value, while XMP:Location contains the full 33-character value.  This conforms to the industry standards.
    The terminology is horribly confusing.  In the JPEG file format, there are several sections of metadata, including EXIF, IPTC, and XMP.  EXIF and IPTC are defined by older standards (cameras create EXIF metadata, and applications create and add to both EXIF and IPTC metdata).  The XMP section is defined by a newer industry standard, and it was designed to incorporate all of the fields that can be stored in EXIF and IPTC; a subset of the XMP fields (a "namespace") is called the "IPTC Core" and defines fields similar to the legacy IPTC fields but without the restrictions.
    A recent standard, the Metadata Working Group's Guidelines for Handling Image Metadata 2.0, defines the rules for how the three sections of metadata (EXIF, IPTC, and XMP) should be "synchronized".  LR appears to mostly conform to that standard.

  • LR and IPTC fields

    I have been running a photoblog at Digital-Photo for over 3 years now. I have noticed that ever since I have started to use Lightroom it gave me an added value of populating IPTC fields in Gallery 2 (web gallery I use). The IPTC seems to be very broad and I would like to understand how to use properly most if not all the fields within Lightroom.
    My question/request for Lightroom developers: can we get some build in selectors for many of standard IPTC fields with descriptions, please? This way I would not have to spend hours each time I get a new "genre code" etc.
    Here is a neutral and work safe example of what details show up for me: abstract photograph or an air vent
    Is anyone else in the community use those codes beyond Caption, Keywords and Copyright, and if so what gally applicatation are you using?
    Ted

    I have been running a photoblog at Digital-Photo for over 3 years now. I have noticed that ever since I have started to use Lightroom it gave me an added value of populating IPTC fields in Gallery 2 (web gallery I use). The IPTC seems to be very broad and I would like to understand how to use properly most if not all the fields within Lightroom.
    My question/request for Lightroom developers: can we get some build in selectors for many of standard IPTC fields with descriptions, please? This way I would not have to spend hours each time I get a new "genre code" etc.
    Here is a neutral and work safe example of what details show up for me: abstract photograph or an air vent
    Is anyone else in the community use those codes beyond Caption, Keywords and Copyright, and if so what gally applicatation are you using?
    Ted

  • Missing IPTC Fields In Aperture 2

    Okay, I am switching from Lightroom to Aperture 2 after using Lightroom for roughly one year. Let me back up... I am trying to switch. Right off the bat, I am running into a problem that really has me perplexed... why on earth did Apple leave out certain IPTC fields, but leave in fields that are completely (at least in my humble opinion) useless to photography. Which fields? These are left out:
    - CCI City *
    - CCI Country *
    - CCI Address *
    - CCI Postal Code *
    - CCI State/Province *
    - CCI Email *
    - CCI Phone *
    - CCI URL *
    - ISO Country Code *
    - Intellectual Genre
    - Location *
    - Rights Usage Terms *
    - IPTC Subject Code
    - IPTC Scene
    Most of these, marked with an asterisk, are crucial to me, and are necessary when sending images to certain clients of mine. In the meantime, Apple, for some bizarre reason, chose to include the following, useless fields:
    - Action Advised
    - Audio Duration
    - Audio Outcue
    - Audio Sampling Rate
    - Audio Sampling Re... (can't read this one because Aperture refuses to show me the whole field name no matter how wide I make the metadata panel)
    - Audio Type
    This makes absolutely no sense to me, and I see no convenient way to get around this. This is compounded by the fact that IPTC seems to be transitioning to Core (XMP) standards, which means the field names are changed. Aperture is on version 2, and yet the IPTC support is this behind the times?
    I hope someone has some good news to help rectify this.

    ifarlow wrote:
    I just fired up Aperture 2 after reading your Post, and I see this for one of my images:
    Lens Model: EF24-70mm f/2.8L USM
    It is under EXIF - Expanded under the Metadata tab. Do you not see this?
    No, I didn't at first. First off - it does not show up at all in images I imported under 1.x and have not migrated to 2.0 version of RAW processing. Then - I see additional data under EXIF with new imports under Aperture 2.0 and images with updated RAW processors - but still not lens model. However, I then edited EXIF and found lens model. I simply added that field to my EXIF metadata, and now I can see (and search on) lens model for all of my images!
    Thanks for pointing that out - no telling how long it would have been before I found it. Its a shame this isn't a question I posted, or I would give the "solved" points.
    Now, if we can just find your metadata fields...
    Scott

  • Want the remove IPTC fields by export

    I have a lot of pictures that i will export with a preset.
    Because of privacy matters i must remove the IPTC-fields such as sublocation, city, state / province.
    Can get that done. To much pictures to remove these fields in Photoshop after the export one by one.....
    Naturally i want to keep this info in the field in my originals !
    Thanks !

    Hi John, I have installed the metadata wrangler but no luck....
    Maybe it has something to do with the fact that some of the pictures were originally imported with PhotoMechanic.
    Thanks for your answer !
    Piet Van de Eynde (the writer of excellent LR-books) came up with a answer that looks interesting, i will try that one ! but it is not for daily use on a speedy workflow...
    Save locations
    For photos captured within a defined proximity, you can create a saved location. For example, if you travel to Greece for a photo shoot for a client, you can create a saved location that encompasses the islands you visited.
    In the Map module, navigate to a location on the map and click the + button in the Saved Locations panel. The Saved Location panel is on the left side of the Lightroom window. 
    In the New Location dialog box, enter a name for the location and select a folder to save it in. 
    Radius
    Defines a radius, in feet, miles, meters, or kilometers, from the center of the visible map area.
    Private
    Removes all IPTC location metadata, including GPS coordinates, Sublocation, City, State/Province, Country, and ISO Country Code, when photos in the saved location are exported from Lightroom.
    Click Create.The location appears on the map marked by a white circle, with one pin in the center and another pin on the perimeter. 
    When working with saved locations, do any of the following: 
    Select or deselect a location in the Saved Locations panel to view it on the map.
    The Saved Locations panel in the Map module
    To add photos to the location, do one of the following:
    Drag one or more photos from the Filmstrip into the white circle in the map.
    Select one or more photos in the Filmstrip and select the check box next to the location name in the Saved Locations panel.
    To go to a location on the map, click the right-arrow button by the location name in Saved Locations panel.
    To edit a location, right-click (Windows) or Control-click (Mac OS) it in the Saved Locations panel and choose Location Options.Tip: You can also drag the pin at the top of the location circle in the map to adjust the radius. Drag the pin in the center of the circle to move the location on the map.
    To remove a location, select it in the Saved Locations panel and click the minus ( - ) button. Or, right-click (Windows) or Control-click (Mac OS) it in the Saved Locations panel or on the map and choose Delete.

  • Write/Update IPTC fields with database information.

    Hi all,
    I'm testing lightroom and at this moment I'm happy with its features. I'm a ACDsee Pro user, and I miss one inportant feature in lightroom.
    In ACDSee you can create templates, and then run a batch to write the database information (image rating, keywords, categories, owner, etc) in the IPTC fields of the images.
    This allows you to have your star ratings, per example embedded in the image. Benefits? you can recover your database from the iptc, or you can use the rating done with acd in other apps.
    Is a very powerful feature, because allows you to specify in what iptc field you want any information, and is possible to replace the entire field or jus add some information.
    I wonder if is in lighroom any way to do the same. I would like to write the keywords IPTC field with the lightroom database keywords. Do you know how?
    And what about to write the stars or color code in any IPTC fields?
    If lightroom allows this, must fit all my needs ath this moment.
    Thanks a lot in advance!

    Carlos
    I think you are talking about the menu command Metadata >Save Metadata to file - Ctrl S or Cmd S. For documented file formats like JPG, TIF, PSD, DNG, this writes the metadata into the file itself. For undocumented formats, mainly raw files, this creates xmp files.
    John

  • Missing IPTC fields

    Does anybody found the IPTC fields: categories, scenes and subject codes?
    They are quite important for journalism, but aren’t included yet? (like most of the creator infos)
    It would be nice, if I also can make sets/buttons from other IPTC information like from the keywords.
    Any press photographer here, who got the same IPTC problems?
    Greets.

    kgelner wrote:
    "Category" is there, as is "Subject Reference" (could be used as subject codes?). I'm not sure if there is something there Scene would map to.
    The ones that are there, you can add to any metadata set you are viewing by opening up the IPTC tab at the bottom of the screen, and pressing the checkmark next to the IPTC field you desire to add to the current metadata view (any metadata element from any category can be added to any view, they are just grouped as they are to start for convienience).
    Any that are not there - why not add them? For "Scene", open the "Other" tab at the bottom, then type "Scene" into the "New Custom Metadata" at the top of the field list, then enter some value for that field and press return. Now it will appear in the list with a checkbox, which you can add to the current view - and it should export with the image when you ask Aperture to export metadata.
    With all due respect, it absolutely amazes me that so many people don't understand how IPTC works. You can't just "map" fields any way you want, and if you want to follow the schema properly, you can't just put whatever data you want to in each of these fields. The ability to add custom metadata fields in Aperture is pointless, as they don't actually have any IPTC relevance.
    Therefore, adding fields to compensate for the lacking IPTC support doesn't work as these custom fields don't map to existing IPTC fields when the image is exported, so the data is lost. Pointless waste of time.
    Check out http://www.iptc.org for all the details. You should quickly realize after just a little reading that Aperture, even version 2, is lacking proper IPTC support. Frustrating, as Adobe Photoshop, Adobe Photoshop Lightroom, iView MediaPro, Microsoft Expression Media, and so many others properly support IPTC.
    However, to be fair, you are correct that Category is there. Subject Reference in Aperture is Subject Code in IPTC, however, in testing I have found that Aperture has serious export issues with metadata, and this is one of the fields that does not export at all. The four fields that do not export are:
    Object Attribute Reference -> IPTC Field: Intellectual Genre
    Sub-Location -> IPTC Field: Location
    Country Code -> IPTC Field: Country Code
    Subject Reference -> IPTC Field: Subject Code
    There is no Scene support in Aperture 2 (this is one of many missing fields in Aperture 2).
    I have a compiled list of IPTC fields, the properly mapped fields in Aperture 2, and the missing/broken fields in Aperture 2 if anyone wants it.
    Message was edited by: ifarlow

  • SQL*Loader and "Variable length field was truncated"

    Hi,
    I'm experiencing this problem using SQL*Loader: Release 8.1.7.0.0
    Here is my control file (it's actually split into separate control and data files, but the result is the same)
    LOAD DATA
    INFILE *
    APPEND INTO TABLE test
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
    first_id,
    second_id,
    third_id,
    language_code,
    display_text VARCHAR(2000)
    begindata
    2,1,1,"eng","Type of Investment Account"
    The TEST table is defined as:
    Name Null? Type
    FIRST_ID NOT NULL NUMBER(4)
    SECOND_ID NOT NULL NUMBER(4)
    THIRD_ID NOT NULL NUMBER(4)
    LANGUAGE_CODE NOT NULL CHAR(3)
    DISPLAY_TEXT VARCHAR2(2000)
    QUESTION_BLOB BLOB
    The log file displays:
    Record 1: Warning on table "USER"."TEST", column DISPLAY_TEXT
    Variable length field was truncated.
    And the results of the insert are:
    FIRST_ID SECOND_ID THIRD_ID LANGUAGE_CODE DISPLAY_TEXT
    2 1 1 eng ype of Investment Account"
    The language_code field is imported correctly, but display_text keeps the closing delimiter, and loses the first character of the string. In other words, it is interpreting the enclosing double quote and/or the delimiter, and truncating the first two characters.
    I've also tried the following:
    LOAD DATA
    INFILE *
    APPEND INTO TABLE test
    FIELDS TERMINATED BY '|'
    first_id,
    second_id,
    third_id,
    language_code,
    display_text VARCHAR(2000)
    begindata
    2|1|1|eng|Type of Investment Account
    In this case, display_text is imported as:
    pe of Investment Account
    In the log file, I get this table which seems odd as well - why is the display_text column shown as having length 2002 when I explicitly set it to 2000?
    Column Name Position Len Term Encl Datatype
    FIRST_ID FIRST * | O(") CHARACTER
    SECOND_ID NEXT * | O(") CHARACTER
    THIRD_ID NEXT * | O(") CHARACTER
    LANGUAGE_CODE NEXT 3 | O(") CHARACTER
    DISPLAY_TEXT NEXT 2002 VARCHAR
    Am I missing something totally obvious in my control and data files? I've played with various combinations of delimiters (commas vs '|'), trailing nullcols, optional enclosed etc.
    Any help would be greatly appreciated!

    Use CHAR instead aof VARCHAR
    LOAD DATA
    INFILE *
    APPEND INTO TABLE test
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
      first_id,
      second_id,
      third_id,
      language_code,
      display_text    CHAR(2000)
    )From the docu:
    A VARCHAR field is a length-value datatype.
    It consists of a binary length subfield followed by a character string of the specified length.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76955/ch05.htm#20324

  • Reset or Edit IPTC Fields Stored Values

    Previous values used in IPTC fields are stored so that values can be auto-filled as a field is entered. I would like to remove some of the "stored values" for a field. How can I do this?
    Thanks,

    You can batch change. Select the photos you want to edit, batch change, leave the field empty, and check the "replace" checkbox.

  • IPTC fields

    Does anyone know where I can find scripts for filling in IPTC fields on photos via an Automator workflow?
    I have previously used Automator workflows to fill in the IPTC fields of my digital photos. I've recently reinstalled my computer and now the workflows don't work - I seem to remember downloading some scripts and included one for IPTC date in the workflows. I guess they got wiped when I reinstalled - any idea were I could dig them up? The most important element for me was the bit that writes the file name into one of the IPTC fields.

    Hi Bebbs,
    Does this help...
    http://cva.stanford.edu/people/davidbbs/photos/IPTCkeywords_tofilename/
    Or this...
    http://discussions.apple.com/thread.jspa?threadID=1499998

  • IPTC field codes -- Bridge IPTC Core metadata

    Is there a reference somewhere as to which IPTC codes match up with the IPTC Core fields in Bridge metadata?
    A list of the codes is here, so you know what I'm talking about. For example, the Description field in Bridge metadata corresponds to the Caption / #120 code in this list:
    http://www.fotoware.com/binaries/fsp50/userguide/28.htm
    I'm using a plug-in that writes image info from a database into the corresponding file's IPTC fields based on the IPTC code, but the names of the fields on the list of codes don't match up with what they're called in Bridge, so it's taking a lot of trial and error to figure out where things go.

    Never mind, found one. It doesn't mention Bridge specifically, but it has Photoshop and Lightroom (along with several other image-browsing apps) and both seem similar to Bridge:
    http://www.controlledvocabulary.com/imagedatabases/iptc_core_mapped.pdf

  • Search according IPTC field "other categories"

    Hi,
    Is it possible to search in the IPTC field "Other Categories"
    or to customize the search engine in this way?
    I have some of my picture grouped with specific names in the "Other Categories" field, put the search gives no output, regardless what search
    criteria is selected (IPTC, ALL..)
    Did I miss something or is it currently not available?
    Thanks,
    Regards Robert

    LR doesn't seem to be very consistent in what you can or can't search for using Find. I did some quick tests on some of the fields, and found this:
    With "IPTC" selected for the Metadata panel...
    Under the Content section, you can search for:
    Headline
    Caption
    IPTC Subject Code
    Description Writer
    You can't search for:
    Category
    Other Categories
    Under the Status section you can search for all the fields:
    Title
    Job Identifier
    Instructions
    Provider
    Source
    Why can't you search for Categories or Other Categories? Is this a bug, or one of those intended design things? Maybe someone in the know can clarify.
    Also, if there's a list somewhere of what can searched, and more importantly what cannot, it would be helpful.

  • What IPTC fields are supported by LR 1.1 (or 1.2)?

    I have previously discovered that Lightroom does not support IPTC properly. Does anyone have a list of supported IPTC fields, so I can know whether my current IPTC data will be safe or not? An answer from Adobe on this issue would have been great.
    Thanks
    H

    So it only supports a subset of the full ITPC-NAA IIM? Theoretically that's quite ok, but removing IPTC fields that are not supported is NOT quite ok.
    Is Lightroom's IPTC support documented somewhere? I haven't seen anything about it somewhere. At least, when a program is removing data from files that it does not like, it should have been a big warning sign somewhere.
    H

  • Spotlight Comment to IPTC Field

    Hi there,
    maybe someone can help me.
    i should say that i have absolutely no idea about apple script.
    I want to create an automator plugin that takes the spotlight comments of a chosen photo and copies these to an iptc field.
    I think the script here: http://discussions.apple.com/message.jspa?messageID=7203132#7203132 would be the right starting point but then there must be some command that uses GraphicConverter or something similar to write to iptc.
    Looking forward to your answers, thx in advance
    ben

    'I want to create an automator plugin that takes the spotlight comments of a chosen photo and copies these to an iptc field. ' - which 'IPTC' field?
    As per 'GraphicConverter's AppleScripts' Library's 'GraphicConverter.asdictionary' file - there are:
    IPTC caption, IPTC captionwriter, IPTC headline, IPTC specialinstructions, IPTC byline, IPTC bylinetitlee, IPTC credit, IPTC source, IPTC objectname, IPTC datecreated, IPTC city, IPTC state, IPTC country, IPTC reference, IPTC category, IPTC copyright, IPTC urgency, IPTC subcategory, and IPTC keywords
    Sample AppleScript code:
    -- Code starts here --
    on run
    open (choose file with multiple selections allowed)
    end run
    on open (dItems)
    repeat with i in dItems
    tell application "Finder" to set fComment to comment of i
    try
    tell application "GraphicConverter"
    open i
    tell window 1
    set IPTC caption to fComment
    close saving yes
    end tell
    end tell
    end
    end repeat
    end open
    -- Code ends here --
    Save the above code as an application (AppleScript applet). The applet can be double clicked on, or files to be processed - dragged onto it.
    Or replace the contents of 'Automator's 'Automator' Library's 'Run AppleScript' Action with ...
    -- Code starts here --
    on run {input, parameters}
    tell application "GraphicConverter" to activate
    delay 1.0
    repeat with i in input
    tell application "Finder" to set fComment to comment of i
    try
    tell application "GraphicConverter"
    open i
    tell window 1
    set IPTC caption to fComment
    close saving yes
    end tell
    end tell
    end
    end repeat
    return input
    end run
    -- Code ends here --
    Save the above code as an 'Automator' 'Finder' Plug-in.
    If any other IPTC parameter is to contain the file's comment entry, then replace 'IPTC caption' in ...
    set IPTC caption to fComment
    ... with the desired IPTC parameter.
    The code segments provided above - offers minimal error capturing. One is to assume that only files capable of being opened and (an IPTC parameter) modified by 'GraphicConverter' - are dragged onto the applet, or selected via the 'Automator' 'Finder' Plug-in's contextual menu.

  • URLEneQuery encoding is failing for some non english characters

    While creating a URLEneQuery we are getting error com.endeca.navigation.InternalException: No support for 8-bit urls.
    This error happens when the query string has some non english characters. (eg: Á).

    UrlENEQuery is designed around processing URL data, and URLs are not permitted non-ASCII characters in their production. To represent non-ASCII characters they must be %-encoded in URLs according to their byte(s) representation in a particular character-encoding, and you should prefer UTF-8 for URLs. So your LATIN CAPITAL LETTER A WITH ACUTE (U+00C1) should appear as %C3%81 in your URL, then UrlENEQuery should be able to process that character.

Maybe you are looking for

  • Why can't I edit my photos on my iPhone?

    For some reason, none of my photos can be edited. Recently, I had to fully restore my phone with a fresh copy of iOS 8.1.3 due to problems regarding mail. I had to restore the phone and set it up as a brand new phone. All my photos were in perfect sy

  • Migration to JSF 2.0 - JSP/JspWriter

    I am migrating an application from JSF 1.2 to JSF 2.0. In parts of my application, I was using JSP to render part of pages. Specifically, I was using a JspWriter to render some of the content that required streaming the output. My understanding is th

  • Yoga S1 Trackpoint Middle Button

    I am not a fan of the new "clickpad", I'm a long time ThinkPad user so my pointing device of choice is the Trackpoint (eraser).  I've set the control panel on this for "Trackpoint Only", and at least the virtual buttons are useable now.  HOWEVER... t

  • How to cancel manual bank statement

    How can we delete or reverse an external bank statement that was entered manually? Thank you for your help. Regards, Pieter

  • Cfinput type="file"

    Does anyone know if it is possible to use <cfform type="file> within a <cfform type="flash"? 7.0 doesit allow this !?!