Read Image XMP Metadata

Hi All,
Hope I'm not spamming  this thread to your mailbox as I felt this question asked in unrelated  forum.
Question: Can we read image meta data from Flex ?
I tried it with xmp core library and passed a jpeg file to xmpMeta object :
private function getImageMetadata(jpeg:File):void
                              var meta:XMPMeta = new XMPMeta(jpeg);
                              var packet:XML = meta.serializeToXML();
                              var photoshop:Namespace = XMPConst.photoshop;
                              var value:String = meta.photoshop::AuthorsPosition;
                                trace(value); // returns null, not sure why
Can any one help me to get the image metadata.
Thanks in advance
Mac

I've got some content related to my issue from net but still it won't solve my problem
private function init():void {
                                        var ldr:Loader = new Loader();
                                        ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, imgLoaded);
  var s:String = "my/jpgPath/myjpgName.jpg";
                                        ldr.load(new URLRequest(s));
                              private function imgLoaded(e:Event):void{
                                        var info:LoaderInfo = e.target as LoaderInfo;
                                        var xmpXML:XML = getXMP(info.bytes);
  //trace(xmpXML);
                                        var meta:XMPMeta = new XMPMeta(xmpXML);
  //var packet:XML = meta.serializeToXML();
                                        var photoshop:Namespace = XMPConst.photoshop
                                        trace(meta.photoshop::AuthorsPosition);
                              private function trim(s:String):String{
  return s.replace( /^([\s|\t|\n]+)?(.*)([\s|\t|\n]+)?$/gm, "$2" );
                              private function getXMP(ba:ByteArray):XML{
                                        var LP:ByteArray = new ByteArray();
                                        var PACKET:ByteArray = new ByteArray();
                                        var l:int;
                                        ba.readBytes(LP, 2, 2);
                                        http://www.adobe.com/devnet/xmp.html
                                        read part 3: Storage in Files.
                                        that will explain the -2 -29 and other things you see here.
                                        l = LP.readInt() - 2 -29;
                                        ba.readBytes(PACKET, 33, l);
                                        var p:String = trim(encode(PACKET) as String);
  var i:int = p.search('<x:xmpmeta xmlns:x="adobe:ns:meta/"');
  /* Delete all in front of the XMP XML */
                                        p = p.substr(i);
                                        For some reason this left some rubbish in front, so I'll hardcode it out for now
                                        TODO clean up
                                        var ar:Array = p.split('<');
                                        var s:String = "";
                                        var q:int;
                                        var j:int = ar.length;
                                        for(q=1;q<j;q++){
                                                  s += '<'+ar[q];
                                        i = s.search('</x:xmpmeta>');
                                        i += ('</x:xmpmeta>').length;
                                        s = s.slice(0,i);
  /* Delete all behind the XMP XML */
                                        return XML(s);
                              private static function encode(ba:ByteArray):String {
  var origPos:uint = ba.position;
  var result:Array = new Array();
   for (ba.position = 0; ba.position < ba.length - 1; )
   result.push(ba.readShort());
  if (ba.position != ba.length)
   result.push(ba.readByte() << 8);
  ba.position = origPos;
                                                  return String.fromCharCode.apply(null, result);
It seems there is a bug in XMPMeta class where it always throws an exception "The XMPMeta object cannot have qualifiers", Even created with default (no param).
Does anyone have any clue on this? please help
Thanks
Mac

Similar Messages

  • Problem with Bridge CS4 reading/editing XMP metadata added in Bridge CS6

    Please excuse me if this is a dumb/obvious question. I did try searching the forums for similar problems and didn't find anything that seemed to speak to my issue.
    I'm having a problem where Bridge CS4 won't read/edit xmp metadata (specifically, keywords and descriptions in the IPTC panel) that I have entered using CS6. it will read some files, not others. The files are all .mp4s. Of these files, I can read/edit IPTC panel metadata for some of them in Bridge CS4; I can add metadata for all of them in CS6. I see no particular pattern in these files to explain what is and isn't read/editable in CS4.
    My question is whether this is a compatibility issue between different versions of CS (in this instance, CS4 and CS6). i know it's a tired refrain to blame software when it could easily be user error, in which case I'd be frankly delighted to know what i'm doing wrong. Please bear with me as I give a few more details.
    I'm using macs. I've tried this on multiple systems - for instance, on a mac pro 3 which for some reason has both CS4 and CS6 installed, i can add and edit keywords using CS6, but not when using CS4. Again, in CS4, some .mp4 files read/edit, others do not.
    Bridge CS4 blames the files and tells me that the selected file cannot store xmp metadata, and that the properties cannot be modified. To be specific, in the metadata panel it says "this property cannot be modified"; in the keyword panel, it says, "This file (zzz.mp4) cannot store xmp metadata. No changes will occur." This seems odd, because I'm able to add xmp metadata for the same files in CS6 on the same computer, and other computers. I know this problem would disappear if all our computers were using CS6 (or CC), but unfortunately that's not a possibility at the moment. Some of them only have CS4.
    Computer details (not an exhaustive list, but two instances): mac pro 3.1 running snow leopard, 16GB memory; macbook pro 4.1 running snow leopard, 4GB memory; adobe bridge cs6 (5.0.0.399) and cs4 (3.0.0.464).
    Things I have tried:
    Permissions - the files are set to read/write for everyone. Given that I can add/edit metadata in CS6, it doesn't seem to be a permission issue.
    Purging the cache - other users seem to have had problems adding metadata in Bridge CS4 where purging the cache for affected files solved the problem. Didn't work in this instance.
    Upgrading all affected computers to CS6/CC is beyond my control. I need to figure out why CS4 won't let me read/add/edit xmp metadata, if only for the sake of understanding the broader implications for interoperability.
    Any helpful suggestions would be much appreciated.
    Thanks,
    Kevin

    adobe bridge cs6 (5.0.0.399) and cs4 (3.0.0.464).
    Without having experience with mp4 files and metadata my observation is that you certainly have not updated Bridge CS6 ( should be 5.0.2.4) and I believe also not the latest version of CS4, can't imaging this also stayed at .0.0 so first try to update both.
    And if CS4 can read the data of some files it should be capable of reading them all. Be sure to have the files completely cached first, can take a while.
    Other things to try in CS4 is refresh preferences (hold down option key while restarting Bridge and choose reset prefs).
    And also check for hidden cache files using menu view/show hidden files. Sometimes those cache files can be troublesome between versions.
    If purge cache did not work and reset prefs also failed consider to also delete Bridge plist file and Bridge cache file manual (from user library)

  • Use images XMP Metadata as Alternative Text

    I would like to use the information in the images metadata, specifically the Description field and use it as the Alternate Text for the images within a PDF.
    Is there a way to do this? Can it be done with a plug-in?
    Thanks!
    Mike

    Actually, there is already a place in PDF for "AltText" - it's called (believe it or not) AltText, and it's part of the structure/tagging present in PDF since 1.4 used for accessibility.
    Leonard

  • C++ code to get XMP metadata from pdf files ??

    Hi,
    I am new to this field and now I have to write a C++ code which will read the XMP metadata from any pdf files. Could anyone please tell me how to do that or where to start? Is there any sample code available for that?
    I am reading the Programmer's guide and XMP specification to have the whole idea.
    I really appriciate your help. Thanks in advance.
    Regards,
    Suranjit Paul

    Hi,
    The same code for reading other formats will go for Pdf too.
    Only difference is while reading PDF it is not calling any smart filters.

  • [ANN] GeoIPTC 1.0 : geocode your images using metadata standards (IPTC and XMP)

    Hello,
    GeoIPTC is an innovative tool to add geographical identification to your images (geocoding) according to IPTC and XMP metadata embedded in images.
    GeoIPTC reads all IPTC and IPTC Core metadata embedded in an image, isolates localisation data (City, Location, Province/State, Country Code and Country Name), then sends a request to a Geocoding Web Service and finally gets latitude/longitude coordinates.
    To say it briefly: GeoIPTC gets geographical information from the postman address embedded in image.
    Main features
    * Gets full sets of image standard metadata
    * Automatically gets longitude/latitude from widely used Geocoding Web Services like Google Maps, Yahoo! Maps or GeoNames.
    * Locate automatically images on Maps Services like Google Maps, Yahoo! Maps and MapQuest
    * Generate automatically KML or KMZ placemarks and locate single (one image) or multiple (many images) placemarks on Google Earth with full IPTC/IPTC Core metadata
    * Set automatically single or multiple images with appropriate Exif GPS coordinates
    More information and download:
    http://www.geoiptc.com/EN/Index.html
    With best regards
    Patrick Peccatte
    www.softexperience.com

    Note the last paragraph in the original post which explains how Flickr handles resolution changes without breaking the rectangles. Perhaps a more straightforward approach would be to store both the rectangle coordinates for each rectangle AND the image's width and height at the time the rectangles were created. Then if the image is scaled, the rectangles can be scaled accordingly. For example, if a rectangle is at x=100,y=200,w=50,h=70, the "original dimensions" are 1000x2000, and the image's current dimensions are 500x1000, then an application could assume the image has been scaled down by (500/1000=) 0.50, and so the x,y,w,h of each rectangle could also be multiplied by 0.50 (x=50,y=100,w=25,h=35). I'd recommend storing floating-point values so that multiple scalings don't make the rectangles "creep".
    Of course, it is possible that really the image was cropped rather than scaled, but fairly unlikely you would happen to crop it the same percent in both directions. Even if an image is cropped, someone could manually repair the rectangles by sliding and scaling them until the fit back on the faces (unless most of the faces were cropped off).
    A rectangle-aware application could scale and translate the rectangles during a crop or scaling operation, but other applications could still survive scaling if they at least preserve the XMP tags as-is.

  • How do I view XMP metadata in Adobe Reader?

    How do I view XMP metadata in Adobe Reader?
    I've created a PDF which (I believe) includes XMP metadata, and I'd obviously like to check that it's been done correctly.  However it's not obvious how to view this within Adobe Reader (I'm using 11.0.04 on OS X).  Googling around, I've found an off-hand remark that Reader isn't able to do this, but this is obviously insane -- what's the point of licensing metadata if no-one can see it?  What is it I'm missing?
    Best wishes,
    Norman

    I've put a PDF at http://nxg.me.uk/temp/part1.pdf This does display/print perfectly OK in both Reader and in OS X Preview.  I presume that the /Root object (254) is inside one of the ObjStm streams (yes?), as (presumably) are the /Page streams and the reference to the /Metadata object, 52.
    Regarding scanning, Part 3 of the XMP spec, Sect 1.2 says "It is always best to use format-aware file parsing when possible. Lacking this information, applications can find XMP packets by scanning the file."  Also, in Sect. 1.2.1, "A file should be scanned byte-by-byte until a valid header is found."   Finally, ISO-32000-1 Sect. 14.3.2, Note 3, says "[The XMP spec] includes a method to embed XML data within non-XML data files in a platform-independent format that can be easily located and accessed by simple scanning rather than requiring the document file to be parsed."  So it would appear that this metadata packet _should_ be found.

  • Read image metadata

    Hi All,
    Question: Can we read image meta data from CS extension code by any way ?
    I tried it with xmp core library and passed a jpeg file to xmpMeta object which expect a String, a XML or Byte Array as argument:
    private function getImageMetadata(jpeg:File):void
                                  var meta:XMPMeta = new XMPMeta(jpeg);
                                  var packet:XML = meta.serializeToXML();
                                  var photoshop:Namespace = XMPConst.photoshop;
                                  var value:String = meta.photoshop::AuthorsPosition;
    If I was able to convert jpeg file to Byte Array, I my guess to be work but I'm not able to find it workable.
    Can someone help me to complete the task?
    Thanks
    Mac

    Hi All,
    Question: Can we read image meta data from CS extension code by any way ?
    I tried it with xmp core library and passed a jpeg file to xmpMeta object which expect a String, a XML or Byte Array as argument:
    private function getImageMetadata(jpeg:File):void
                                  var meta:XMPMeta = new XMPMeta(jpeg);
                                  var packet:XML = meta.serializeToXML();
                                  var photoshop:Namespace = XMPConst.photoshop;
                                  var value:String = meta.photoshop::AuthorsPosition;
    If I was able to convert jpeg file to Byte Array, I my guess to be work but I'm not able to find it workable.
    Can someone help me to complete the task?
    Thanks
    Mac

  • Adding/Reading XMP Metadata in a psd file

    Hi,
    I'm having some troubles to understand how to add and read XMP metadata on a psd file. I followed the Panel developer guide tutorial, and try to look on the internet for some answers, but I'm still stuck ...
    Here is the simple example I'm trying to make (using part of the code from the panel developer guide) :
         The function loads the XMP Script Library.
         @returns True if the XMP Script Library was loaded successfully.
         @type Boolean
    function loadXMPLibrary(){
         if ( !ExternalObject.AdobeXMPScript ){
              try{
                   ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');
              }catch (e){
                   alert("Can't load XMP Script Library");
                   return false;
         return true;
         The function unloads the XMP Script Library.
    function unloadXMPLibrary(){
         if( ExternalObject.AdobeXMPScript ) {
              try{
                   ExternalObject.AdobeXMPScript.unload();
                   ExternalObject.AdobeXMPScript = undefined;
              }catch (e){
                   alert("Can't unload XMP Script Library");
        Try to put a new property into the metadata
    if( app.activeDocument || !loadXMPLibrary()){
        var xmp = new XMPMeta(activeDocument.xmpMetadata.rawData);
        xmp.setProperty( XMPConst.NS_EXIF, "myProperty", "test" );
        activeDocument.xmpMetadata.rawData = xmp.serialize();
        unloadXMPLibrary();
        Window.alert(activeDocument.xmpMetadata.rawData);
    I don't really know where I'm wrong, could you help me please ?
    Thanks,
    Julien

    Rather mess with EXIF and Dublin Core namespaces, wouldn't it be better to create your own?
    IE:
    #target photoshop
    addtoMeta();
    function addtoMeta(){
    if(!documents.length) return;
    if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
    var xmp = new XMPMeta( activeDocument.xmpMetadata.rawData);
    var myNamespace = "http://my.fantastic.newspace/";
    var myPrefix = "nsfns:";
    XMPMeta.registerNamespace(myNamespace, myPrefix);
    xmp.setProperty(myNamespace, "myProperty", "A Test String");
    app.activeDocument.xmpMetadata.rawData = xmp.serialize();

  • Solution to view XMP metadata in Adobe Reader ???

    Hello,
    I´m trying to find a solution to view the xmp metadata with the adobe reader.
    I know I´m able to view and edit the xmp metadata with adobe acrobat, but is it possible with the adobe reader?
    What version will I need?
    Moreover is it possible to realize two or more panels in one datafile?
    Up to now I need one file for one panel.
    Any suggestions?
    Thanks!

    I've put a PDF at http://nxg.me.uk/temp/part1.pdf This does display/print perfectly OK in both Reader and in OS X Preview.  I presume that the /Root object (254) is inside one of the ObjStm streams (yes?), as (presumably) are the /Page streams and the reference to the /Metadata object, 52.
    Regarding scanning, Part 3 of the XMP spec, Sect 1.2 says "It is always best to use format-aware file parsing when possible. Lacking this information, applications can find XMP packets by scanning the file."  Also, in Sect. 1.2.1, "A file should be scanned byte-by-byte until a valid header is found."   Finally, ISO-32000-1 Sect. 14.3.2, Note 3, says "[The XMP spec] includes a method to embed XML data within non-XML data files in a platform-independent format that can be easily located and accessed by simple scanning rather than requiring the document file to be parsed."  So it would appear that this metadata packet _should_ be found.

  • Ideas about viewing/displaying XMP metadata from Reader ?

    Hi,
    We are using Acrobat 9 to add XMP metadata to PDF documents.
    These documents are viewed by the others employees with Acrobat Reader.
    Since "File->Properties->Advanced Metadata" and "Custom Info Panels" are not available in Reader, how can we display XMP metadata ?
    Do you know some ways or plug-ins to do this ?
    Our custom XMP metadata schema have more than 20 fields, so I don't want to put all these informations in the "Keywords" field of the document properties.
    Any idea would be greatly appreciated !
    Thank you !

    Michael... what you are describing above is not accurate.  The iPod Classic does NOT have the capability of using the "Album Artist" field from iTunes to sort music.  This particular metadata field is not even available to the iPod Classic.  Only the "Artist" field is available.  (It is the other way around with the iPod Touch, iPhone, and Ipad -- for these iOS devices, the "Album Artist" field is the one that is available, and not the "Artist" field.)  There are numerous posts here in the discussion forums from other folks who are frustrated by the same issue.  The iPod Classic can only sort and group songs together by "Artist" -- that is, the track artist.  And the track artist is often quite different from the album artist.  For example...  I have 29 different Barbra Streisand albums in iTunes.  For all of them, the album artist is "Barbra Streisand."  There are several different track artists however.  Most of them are just Barbra Streisand.  But she also does a duet or two on several albums.  So there are track artists like...  "Barbra Streisand with Kim Carnes," and "Barbra Streisand with Barry Gibb," and many more like that.  After syncing to my iPod Classic, when I sort on the iPod's "Artist" field, I get about 25 different iterations of "Barbra Streisand and .... " as the artist.  Yes, "Barbra Streisand" does appear among them.  But the only songs that are listed under "Barbra Streisand" are those that she sang by herself, and where she is the only track artist.  Given the setup of the iPod Classic as it is now, using firmware version 2.0.4, it is NOT possible to use the Album Artist field to sort and group songs together. 

  • Crystal Generated PDFs with XMP Metadata attached to Image

    Using Crystal Reports 11 with the .NET runtime. I'm adding images into my document. Those images have XMP metadata attached. However, when the final PDF is generated, I do not see that metadata in the resulting PDF. It seems Crystal Reports is stripping it. How can I get crystal reports to retain the metadata of that image in the resulting PDF document.
    (When you open a PDF document in a text viewer, you can see the metadata of the image as well as the metadata for the PDF itself)
    (Also I'm adding the image by using the insert image feature. Then I use format graphic to specify the path to that image.)

    CR does not export the XMP Metadata into PDF at this time. Perhaps a great suggestion to post in the SAP Idea Place.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Synchronizing IPTC/IIM and XMP metadata in JPEG images

    Excerpt of "IPTC Core Implementation Guidelines", section 2.2.1 available on http://www.iptc.org/IPTC4XMP/:
    The basic functionality of this synchronising mechanism [between IPTC/IIM metadata in IRB and XMP metadata] is:
    - To move metadata from the IRB to a new XMP packet in case an image file is opened with such an IRB but without an XMP packet. If the file is saved both the IRB and the XMP packet will be stored to the header section of this file.
    - To move metadata from the XMP packet to a new IRB in case an image file is opened with an XMP packet but without an IRB. If the file is saved both the IRB and the XMP packet will be stored to the header section of this file.
    - To update the metadata values of the IRB respectively the XMP packet from the newer source to the older destination. Which set is newer or older is detected by a hash value over each block of metadata. (More detailed information is available from Adobes XMP web pages at www.adobe.com/xmp and in the software development kits.)
    I have checked for Adobe XMP web site and searched in "XMP Specification, January 2004" and I have not found explanations about this "hash value over each block of metadata" mechanism.
    Moreover, it seems that it does not work regarding to the following simple experiment:
    - 1. add metadata to a JPEG image using Photoshop CS (which adds both IPTC/IIM data in IRB and data in XMP)
    - 2. edit these metadata using an "IPTC/IIM-only and non-XMP-aware" editor like IrfanView, XNView or any other one
    - 3. go back to Photoshop CS which displays the "old" XMP metadata ignoring changes done previously using the IPTC-only editor.
    Of course this experiment works using an "XMP-aware" editor like iView Media Pro or PixVue in step 2.
    So it seems very easy to get images with IPTC/IIM and XMP metadata not synchronized when the image workflow uses different programs to edit metadata.
    Am I missing or misunderstanding something ?
    I have found a radical method stripping XMP metadata (in a step 2 bis...) using David Crowell's JStrip, see
    http://davidcrowell.com/jStrip.aspx
    Do you know any other best method to keep IPTC/IIM and XPM data synchronized when an image workflow uses different metadata editors and some of them are not XMP-aware ?
    Patrick Peccatte
    www.softexperience.com

    Excerpt of "IPTC Core Implementation Guidelines", section 2.2.1 available on http://www.iptc.org/IPTC4XMP/:
    The basic functionality of this synchronising mechanism [between IPTC/IIM metadata in IRB and XMP metadata] is:
    - To move metadata from the IRB to a new XMP packet in case an image file is opened with such an IRB but without an XMP packet. If the file is saved both the IRB and the XMP packet will be stored to the header section of this file.
    - To move metadata from the XMP packet to a new IRB in case an image file is opened with an XMP packet but without an IRB. If the file is saved both the IRB and the XMP packet will be stored to the header section of this file.
    - To update the metadata values of the IRB respectively the XMP packet from the newer source to the older destination. Which set is newer or older is detected by a hash value over each block of metadata. (More detailed information is available from Adobes XMP web pages at www.adobe.com/xmp and in the software development kits.)
    I have checked for Adobe XMP web site and searched in "XMP Specification, January 2004" and I have not found explanations about this "hash value over each block of metadata" mechanism.
    Moreover, it seems that it does not work regarding to the following simple experiment:
    - 1. add metadata to a JPEG image using Photoshop CS (which adds both IPTC/IIM data in IRB and data in XMP)
    - 2. edit these metadata using an "IPTC/IIM-only and non-XMP-aware" editor like IrfanView, XNView or any other one
    - 3. go back to Photoshop CS which displays the "old" XMP metadata ignoring changes done previously using the IPTC-only editor.
    Of course this experiment works using an "XMP-aware" editor like iView Media Pro or PixVue in step 2.
    So it seems very easy to get images with IPTC/IIM and XMP metadata not synchronized when the image workflow uses different programs to edit metadata.
    Am I missing or misunderstanding something ?
    I have found a radical method stripping XMP metadata (in a step 2 bis...) using David Crowell's JStrip, see
    http://davidcrowell.com/jStrip.aspx
    Do you know any other best method to keep IPTC/IIM and XPM data synchronized when an image workflow uses different metadata editors and some of them are not XMP-aware ?
    Patrick Peccatte
    www.softexperience.com

  • Modify LabelGraphics.js to extract other XMP metadata from images

    This script works flawlessly. However, I would like to be able to extract other XMP metadata than just
    //XMP description
            case 2:
                try{
                    myLabel = myLink.linkXmp.description;
                catch(myError){
                    myLabel = "No description available.";
                break;
            //XMP author
            case 3:
                try{
                    myLabel = myLink.linkXmp.author
                catch(myError){
                    myLabel = "No author available.";
    I have developed a custom info panel (based on the generic one) with following "properties.xml":
    <xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">
        <xmp_schema prefix="custom0" namespace="http://my.custom0.namespace/" label="$$$/Custom0/Schema/Label=Ref_SAP" description="$$$/Custom0/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <!-- simple properties -->
            <xmp_property name="Ref_SAP" category="external" label="$$$/Custom0/Property/TextInputLabel=Referentie nummer SAP:" type="integer"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom1" namespace="http://my.custom1.namespace/" label="$$$/Custom1/Schema/Label=FRANS" description="$$$/Custom1/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <!-- simple properties -->
            <xmp_property name="Titel_FR" category="external" label="$$$/Custom1/Property/TextInputLabel=Titel FR:" type="text"/>
            <xmp_property name="Tekst_FR" category="external" label="$$$/Custom1/Property/TextInputML_Label=Tekst FR:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom2" namespace="http://my.custom2.namespace/" label="$$$/Custom2/Schema/Label=VLAAMS" description="$$$/Custom2/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <xmp_property name="Titel_VL" category="external" label="$$$/Custom2/Property/TextInputLabel=Titel VL:" type="text"/>
            <xmp_property name="Tekst_VL" category="external" label="$$$/Custom2/Property/TextInputML_Label=Tekst VL:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom3" namespace="http://my.custom3.namespace/" label="$$$/Custom3/Schema/Label=NEDERLANDS" description="$$$/Custom3/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <xmp_property name="Titel_NL" category="external" label="$$$/Custom3/Property/TextInputLabel=Titel NL:" type="text"/>
            <xmp_property name="Tekst_NL" category="external" label="$$$/Custom3/Property/TextInputML_Label=Tekst NL:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
    </xmp_definitions>
    Now I would like to adapt the LabelGraphics.js to retrieve the information stored in the fields "Titel_FR", "Tekst_FR", "Titel_VL", "Tekst_VL", "Titel_NL", Text_NL". These fields contain fixed text that goes with the image and should be retrieved in several "goes".
    Question 1: is this possible at all ?
    Question 2: how to proceed ?

    Have you already found Marijan Tompa's "Extract Metadata with Adobe XMP"?
    David

  • How to read XMP metadata of an indd file using Actionscript

    Hi All,
    I am trying to read XMP metadata of an indd file using CS Extension Builder in Flash Builder 4.5.
    The documentation has many class like XMPmeta, XMPStruct, etc.
    I have got the currently opened document in InDesign as follows:
    var myDoc:Document = InDesign.app.activeDocument();
    And a new XMPmeta object is created as follows:
    var myXMP:XMPMeta = new XMPMeta();
    How to initialize document's xmp metadata in the XMPMeta object? Or is there any other way to get the XMP metadata of currently opened document in InDesign?

    I have found that the XMP data of an InDesign document can be retrieved in actionscript as follows:
    InDesign.app.activeDocument.metadataPreferences
    This returns the MetadataPreference object.
    But I am not able to iterate each namespace in the xmp. There isn't any XMPFile class which allows me to serialize the object to xml file so that I can iterate all elements in the XMP.
    I could not relate class like XMPMeta, XMPProp, etc. with the MetaDataPreference class. So, how to obtain the entire xmp packet from the MetadataPreference object?
    Can anyone shed light on this?

  • Import XMP Metadata Kills My Image Edits

    I imported a batch of JPGs from a recent trip and happily used LR to rank them, add labels and adjust them in the Develop module. Later, when LR was not running, I used another program to modify some of the embedded meta data in these JPGs (in particular the dates).
    On my next visit to LR I used the Import XMP Metadata From File command, hoping to get LR to recognize the modified dates. This turned out to be a big mistake. All my previous ranking, labeling and developing was lost. Oh dear.
    I guess I was under the impression that the Import XMP Metadata From File command would synchronize the metadata in the files with the metadata in the database. It appears to have simply replaced the database values with what was in the file. So is this a bug or did I just misunderstand the feature?

    Last history state? See
    Loading metadata resets Develop settings.
    >I can go back to Develop and "back up" because the history is all there, but this would have to be done file by file,
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.8 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

Maybe you are looking for

  • Flash Player just stopped working

    Been playing all my internet games for a few years no problem with them.  Now all of a sudden I went to log in to play them and they keep saying I need at least version 10.  So I tried installing it said it worked but games and youtube still don't wo

  • How to enable DDE communication and Network DDE DSDM on windows 7

    How to enable DDE communication and Network DDE DSDM on windows 7

  • Change duration of still clips

    Another naive question from a naive user: is there a straightforward way to adjust clips of jpg images? I'm working on creating a slideshow, and would like a way to manually enter in the duration. I've tried doing that with the "duration" dialog, but

  • Newbee installing weblogic 9.2 on solaris 10

    None of the installation instructions talk about what user or group(s) to create on unix systems to install weblogic... Is it installed as root? Sorry for such a basic question, but I'm new to weblogic. Thanks

  • Test connectivity to different servers on Solaris 10

    friends, I have a query for a connectivity test with different servers, explained the case for more details: In a windows environment if I have verified connectivity to another remote computer within the network with the command: ping remotehostname