Quantcast
Channel: Adobe Community : Popular Discussions - XMP SDK
Viewing all 49231 articles
Browse latest View live

Need help implimenting PLUS ldf in c++ via XMP sdk

$
0
0

I'm apparently suffering major brainstem bitrot and generating lots of brain coredumps, and I need help.

 

I'm using the XMP toolkit sdk 5.1.2 in c++ under gcc on Debian to impliment embedding PLUS ldf licensing metadata (reference: http://ns.useplus.org/LDF/ldf-XMPReference ) into images.

 

I have no problems generating compliant plus ldf xmp in code for everything EXCEPT for single line detail entries like "<rdf:type rdf:resource="plus:LicenseeDetail"/>" in several places in the ldf specification, viz:

 

<plus:Licensee>

   <rdf:Seq>

     <rdf:li>

          <rdf:type rdf:resource="plus:LicenseeDetail"/>

          <plus:LicenseeID>http://plus-id.org/AAA-987</plus:LicenseeID>

          <plus:LicenseeName>ABC Advertising Agency</plus:LicenseeName>

     </rdf:li>

   </rdf:Seq>

</plus:Licensee>

 

I can generate the appropriate text in memory then parse that to get an appropriate SXMPMeta and merge that, but I would really like to be able to properly generate the proper xmp in code, and would really appreciate any help preventing further brainrot!

 

I'm certain it's both simple and trivial, but I now can't see the trees because of the forest ... Thanks


Another CS4 Custom Info Panel Question

$
0
0

Hi all,

 

I have managed to create a custom panel for CS4, that pretty much replicates my CS3 panel, using the 'Generic' panel system.  However I can not find any way to place static text within the panel.

 

I just want to place some simple static text within the panel to guide the user how to complete the form. Adobe do this in their panels, however theirs are of course created with Flex, which I do not have.

 

Has anybody else had any success doing this?

 

My properties.xml as it stands at the moment.

 

<?xml version="1.0" encoding="UTF-8"?>

<xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">


<xmp_schema prefix="custom" namespace="http://pearson.com/namespace/xmp/" label="$$$/pearson/PanelTitle=Photoshoot Details" description="$$$/pearson/PanelDescription=">

<xmp_property name="PEDVersion" category="internal" label="$$$/pearson/blurb/intro=this is a test" type="text" />


</xmp_schema>

    <xmp_schema prefix="xmp" namespace="http://ns.adobe.com/xap/1.0/" label="$$$/pearson/Blank=" >

<xmp_property name="Authors" category="external" label="$$$/iptc/core/Contact/Creator=Creator Name:" type="text" xmp_path="Authors"/>

</xmp_schema>

    <xmp_schema prefix="photoshop" namespace="http://ns.adobe.com/photoshop/1.0/" label="$$$/pearson/Blank=" >

<xmp_property name="CaptionWriter" category="external" label="$$$/pearson/CollectionTitle=Collection Title:" type="text" xmp_path="CaptionWriter" />

<xmp_property name="AuthorsPosition" category="external" label="$$$/pearson/CollectionID=Collection ID:" type="text" xmp_path="AuthorsPosition" />

<xmp_property name="ModelRelease" category="external" label="$$$/pearson/ModelRelease=Model Release:" type="boolean" xmp_path="modelRelease" />

<xmp_property name="LocationRelease" category="external" label="$$$/pearson/LocationRelease=Location Release:" type="boolean" xmp_path="locationRelease" />

</xmp_schema>

    <xmp_schema prefix="Iptc4xmpCore" namespace="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" label="$$$/pearson/Blank=" >

<xmp_property name="Location" category="external" label="$$$/iptc/core/Image/location=Location:" type="text" xmp_path="Location"/>

<ui:separator/>

</xmp_schema>

    <xmp_schema prefix="photoshop" namespace="http://ns.adobe.com/photoshop/1.0/" label="$$$/pearson/blurb/image=Image Details" >

<xmp_property name="Headline" category="external" label="$$$/iptc/core/Content/Headline=Caption:" type="text" xmp_path="Headline" />

</xmp_schema>

</xmp_definitions>

 

Many thanks for any help you can provide.

 

James

XMP Metadata Identification Help

$
0
0

To all-

 

Is this XMP value unique to a particular image, software or camera? Is there a way to decode the value or do any sort of analysis on the information contained within?

 

Im in the middle of an important investigation and part of it hinges on a few digital images, one of which contains this XMP value.

 

Any help is appreciated.

 

Thanks,

Pete

 

 

<xmpMM:DocumentID>D52DE6F30C1A06802AA60C922D2CCE18</xmpMM:DocumentID>

<xmpMM:InstanceID>D52DE6F30C1A06802AA60C922D2CCE18</xmpMM:InstanceID>

Using XMP Lib in a plugin for CS5.0 Windows

$
0
0

Hello

I have been able to compile the XMP-Toolkit-SDK-5.1.2 and use it successfully in a plugin for CS5.0 Mac OS X.

Im now trying to do the same on windows, but with no luck. Im using MS Visual C++ 2008 express edition.

 

 

There seems to be a conflict between the XML library and msvcprt.lib library. If I try to exclude the msvcprt.lib library I get only one error.

 

If I try to exclude the msvcprt.lib i get the following problem:

 

1>PlugInStatics1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::locale::id::id(unsigned int)" (__imp_??0id@locale@std@@QAE@I@Z)

 

 

 

I get the following linker problems:

 

1>XMPCoreStaticRelease.lib(WXMPMeta.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ ABV01@@Z) already defined in XMPCoreStaticRelease.lib(XMPCore_Impl.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ XZ) already defined in XMPCoreStaticRelease.lib(WXMPMeta.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ QBEPBDXZ) already defined in XMPCoreStaticRelease.lib(WXMPMeta.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ PBD@Z) already defined in XMPCoreStaticRelease.lib(XMPCore_Impl.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::size(void)const " (?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@Q BEIXZ) already defined in XMPCoreStaticRelease.lib(WXMPMeta.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::push_back(char)" (?push_back@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@s td@@QAEXD@Z) already defined in XMPCoreStaticRelease.lib(XMPUtils.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::assign(char const *,unsigned int)" (?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@ @QAEAAV12@PBDI@Z) already defined in XMPCoreStaticRelease.lib(XMPCore_Impl.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::data(void)const " (?data@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@Q BEPBDXZ) already defined in XMPFilesStaticRelease.lib(P2_Handler.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??4?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEA AV01@ABV01@@Z) already defined in XMPCoreStaticRelease.lib(XMPCore_Impl.obj)

1>msvcprt.lib(MSVCP90.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ XZ) already defined in XMPCoreStaticRelease.lib(WXMPMeta.obj)

 

 

Best Regards

/ Pontus Hulin

How do you convert XMP data to XML file

$
0
0

Im currently trying to format existing XMP side car medadata files to an XML file format.

Im adding keywords and descriptions to the XMP side car files and im looking to properly format that into an XML file so i can use a video metadata inject feature when encoding raw video footage into wmv and flash files using rhozet's carbon coder software.

Crash in a poorly written ASF support function

$
0
0

I wrote a tool that analyses various AV material.

There is a corrupted asf file in my test set that causes a crash in ASF_LegacyManager::ComputeDigest (ASF_Support.cpp).

The function calls digestStr[digestStr.size()-1] without checking if digestStr is empty.

 

The buggy code is here:

 

 

 

 

void ASF_LegacyManager::ComputeDigest()

{

MD5_CTX context;

MD5_Digest digest;

 

 

char buffer[40];

MD5Init ( &context );

digestStr.clear();

digestStr.reserve ( 160 );

 

 

for ( int type=0; type < fieldLast; ++type ) {

 

 

if (fields[type].size ( ) > 0 ) {

snprintf ( buffer,

 

sizeof(buffer), "%d,", type );

digestStr.append ( buffer );

MD5Update ( &context, (XMP_Uns8*)fields[type].data(), fields[type].size() );

}

}

digestStr[digestStr.size()-1] =

 

';';

MD5Final ( digest, &context );

size_t in, out;

 

 

for ( in = 0, out = 0; in < 16; in += 1, out += 2 ) {

XMP_Uns8 byte = digest[in];

buffer[out] = ReconcileUtils::kHexDigits [ byte >> 4 ];

buffer[out+1] = ReconcileUtils::kHexDigits [ byte & 0xF ];

}

buffer[32] = 0;

digestStr.append ( buffer );

digestComputed =

 

true;

}

XMPComboBox and XMPDateField probems in File Info Panel

$
0
0

Hi,

I have used Flash Builder 4 with the XMP FileInfo 4.4.2  SDK to build the example Custom File Info Panels.

 

None of the examples worked using the Flex 3.5 or 4.0 SDKs (blank panels in photoshop).

The example panels build and show in CS4 when I configure Flash Builder to use the Flex 3.0.2 SDK(last stable build of 3.0) .

The panels create and show usable XMP metadata but dropdowns combo boxes don't work and neither does the popup calendar on the date field.

 

The panel I have to build will require functioning Comboboxes and Popup calendars.

Can you let me know if there is anything I can do to resolve this issue?

I would switch to using CS5 but my company is using over 2000 CS4 licenses.

 

Thanks,

Paul.

update XMP properties in Actionscript

$
0
0

I'm trying to update XMP properties from following sample.

 

         <premierePrivateProjectMetaData:Column.Intrinsic.Name>AdiniFerihaKoyd um.mp4</premierePrivateProjectMetaData:Column.Intrinsic.Name>

         <premierePrivateProjectMetaData:Column.PropertyText.Label>BE.Prefs.La belColors.1</premierePrivateProjectMetaData:Column.PropertyText.Label>

         <premierePrivateProjectMetaData:Column.Intrinsic.MediaType>Movie</pre mierePrivateProjectMetaData:Column.Intrinsic.MediaType>

         <premierePrivateProjectMetaData:Column.Intrinsic.MediaTimebase>25,00 fps</premierePrivateProjectMetaData:Column.Intrinsic.MediaTimebase>

         <premierePrivateProjectMetaData:Column.Intrinsic.MediaStart>00:00:00: 00</premierePrivateProjectMetaData:Column.Intrinsic.MediaStart>

         <premierePrivateProjectMetaData:Column.Intrinsic.MediaEnd>00:00:05:20 </premierePrivateProjectMetaData:Column.Intrinsic.MediaEnd>

         <premierePrivateProjectMetaData:Column.Intrinsic.MediaDuration>00:00: 05:21</premierePrivateProjectMetaData:Column.Intrinsic.MediaDuration>

         <premierePrivateProjectMetaData:Column.Intrinsic.VideoInPoint rdf:parseType="Resource">

            <rdf:value>00:00:00:00</rdf:value>

            <premierePrivateProjectMetaData:min>0</premierePrivateProjectMetaData :min>

            <premierePrivateProjectMetaData:max>1473292800000</premierePrivatePro jectMetaData:max>

            <premierePrivateProjectMetaData:offset>0</premierePrivateProjectMetaD ata:offset>

            <premierePrivateProjectMetaData:time_display>101</premierePrivateProj ectMetaData:time_display>

            <premierePrivateProjectMetaData:frame_rate>10160640000</premierePriva teProjectMetaData:frame_rate>

         </premierePrivateProjectMetaData:Column.Intrinsic.VideoInPoint>

 

If I read in for each (item:XMPProperty in xmpMeta), items readonly properties and not able to update. My purpose is to update Name or VideoInPoint properties. I read all documentation for Actionscript.

Need help about this.

 

Can someone show me how to access each this properties one by one ? e.g I want to access only Name property ? And also how to in a array if possible?

 

Thanks in Advance.


Reading EXIF AUX values

$
0
0

Hello everyone,

 

I am trying to read camera serial number from http://ns.adobe.com/exif/1.0/aux/namespace however when i open file for update AUX namespace is not there, when i look RAW data in Photoshop i can see the namespace is there.

 

this is how i open file for update:

 

XMP_OptionBits aXMPOptionsBits = kXMPFiles_OpenForUpdate | kXMPFiles_OpenUseSmartHandler;


SXMPFiles aXMPFile;

bool = aFileOpenOK = apXMPFile.OpenFile(strFileName, kXMP_UnknownFile, aXMPOptionsBits);

 

SXMPMeta imageMeta;

aXMPFile.GetXMP(&imageMeta);

 

at this point i dump everything to file and can't see AUX.

 

How can i see http://ns.adobe.com/exif/1.0/aux/ when i open file to update, any suggestions are welcome.

 

Many thanks,

m.

XMP SDK in Java?

$
0
0
Hello,

I'm new to this forum. My name is Omer Casher and I am an Enterprise Information Architect supporting Drug Discovery at GlaxoSmithKline.

Apologies if topic has already been discussed. I've noticed that the Adobe XMP SDK has not been updated for a couple of years and am interested in knowing what future plans are for it. In particular, is a Java implementation of the SDK forthcoming?

Thanks in advance for any pointers.

Omer

Why CanPutXMP Fail

$
0
0

i wrote this code, when i try this code with jpg file, it works, but when i try it with gif file, the CanPutXMP return false,

can you help?

thank you very much

 

....
open file using SXMPFiles myFile
the file is opened.
then i tried to add a new name-value to the file,
....

 

 

SXMPMeta meta;
myFile.GetXMP(&meta);

 

string strUTF8TagName="myName";
string strUTF8TagValue="myValue";
meta.SetProperty(kXMP_NS_XMP_MM, strUTF8TagName.c_str(), strUTF8TagValue.c_str(), 0);
if(myFile.CanPutXMP(meta))

Metadata identifying a person in a photo

$
0
0
In the olden days, family photos went in a shoe box, and if you were lucky, someone wrote on the back of it to tell you who was in the photo. If nobody did that, chances are that a priceless old family photo would eventually become a worthless photo because nobody knows who it's of.

I went on a slide-scanning rampage a couple years ago and now have 15,000 images taken from slides, along with hundreds of really old family photos, and hundreds more of my own digital camera photos. I would like to identify who is in each photo, but I'm still waiting for the right metadata definition to come along so that doing so would not be a waste of time.

JPEG, TIFF and other image file formats typically allow metadata to be stored inside the file. This allows information about the image such as the date it was taken, keywords, a caption, a title, where it was taken, etc., to be stored inside the image file itself, so when you send someone a copy of the file, they're getting information about the the image at the same time.

Unfortunately, although you can add keywords and captions, there is not yet a well-established standard for identifying people in photographs. I have tried putting everyone's name in a caption, using a comma-separated list of names from left to right, and a semicolon between rows, back to front. But there is often some ambiguity with this ("was the baby on the lady's lap part of row 1 or 2?"), and it is just my own convention. Also, often there are only one or two people I know in a group shot, so I have to resort to "3rd from the left, second row" type descriptions, which is annoying. It really gets old after doing too many pictures with similar people in them, too, and uses up the space in the caption you'd rather use for a description sometimes.

Flickr allows you to draw a rectangle in an image and add a note that is associated with that rectangle. That's a great idea, and apparently they got it from "fotonotes", which does the same thing.

Fotonotes stores a chunk of XML text in "the 8th JPEG header", which is a good start, but I don't know whether such metadata can also be stored in TIFF files or not, and it doesn't seem likely that such headers would survive through utilities.

IPTC is the most common metadata format used in JPEG and TIFF files, but Adobe has been pushing its extensible "XMP" format for storing metadata in image files. Adobe's various programs (like Photoshop) recognize XMP metadata and preserve it whenever you manipulate or convert the files, so it may well be the best place to store the kind of metadata I'm talking about. Microsoft Vista's image browser apparently supports XMP as well. Since XMP is "extensible" (and is an open format), it should be possible to define tags in XMP that would support a rectangle with a note on it.

Does anyone know how to do that? If we could get that figured out, then the next step would be to get several big players (e.g., Adobe, Google, Flickr, Vista, iPhoto, etc.) to support those tags so that tagging your photos that way really does preserve the information for posterity instead of just being a proprietary tag that no software recognizes.

Resolution Changes
It is quite common to change the resolution of a photo for various uses, and one would not want the rectangles to break when that happens. The way Flickr handles it is that they treat the longest dimension as though it was 500 pixels, and then specify their coordinates accordingly. So if you draw a rectangle from 100,200 to 500,800 in an image that is 1500x3000, then they would take the longest dimension (3000) treat it as though it was 500, and scale the coordinates accordingly, in this case, multiply each coordinate by 500/3000=1/6. That way, if you reduce (or enlarge) the image, the coordinates can stay the same. If you crop, you're still hosed, although you would likely be able to manually "repair" the rectangles without knowing who's who in the picture by looking at how they are rela

XMP and IPTC mapping

$
0
0
Is there a document that identifies which fields in Photoshop and Illustrator "file info" map to the corresponding IPTC field and XMP field repectivly. Also, if I enter a value in a field that is represented in both standards will both fields be populated in the image file?

Regards
Chris

XMP Custom File Info Panels

$
0
0
I've downloaded the new XMP Custom File Info Panels software. I installed the sample xmp panel descripter files in the proper location. Is it possible to view the customized metadata on a computer that doesn't have the descripter files? I hope the descriptor files get imbedded in the image with the customized xmp metadata.

-Mark Thiessen

Read metadata from PDF via VBA

$
0
0
I wrote a VBA script that reads the custom properties of a collection of Word docs and writes the results to a file which I can then import to Excel.

Now I have to do the same thing for the PDF files created from the Word docs - that is, read the metadata from a collection of PDF files.
The fields that have to be read are always the same.

How can I read the metadata of a CLOSED PDF file from VBA?
For Word, the solution was to use DSOleFile.PropertyReader (part of the DS: OLE Document Properties 1.4 object library.

TIA

Read xmp:Thumbnails xmpGImg:image

$
0
0

Hi!

 

I'll be very grateful if someone help me.

I have a problem for read the node xmpGImg:image, gonna try too explain what i done.

 

  1. I make the example ReadXMP, everything works for kXMP_NS_XMP and kXMP_NS_DC
  2. I try too read the kXMP_NS_XMP_G_IMG node and the result is empty
    1. Here is the Thumbnails from ai extension file in testfiles folder from SDK

      <xmp:Thumbnails>
                  <rdf:Alt>
                     <rdf:li rdf:parseType="Resource">
                        <xmpGImg:width>208</xmpGImg:width>
                        <xmpGImg:height>256</xmpGImg:height>
                        <xmpGImg:format>JPEG</xmpGImg:format>
                        <xmpGImg:image>/9j/4AAQSkZJRgABAgEASABIAAD/7QAsUGhvdG9zaG9wIDMuMAA4Qk lNA+0AAAAAABAASAAAAAEA&#xA;AQBIAAAAAQAB/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQ EBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoK&#xA;DBAMDAwM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/MLwHudUY/mMf86Pz C8B7nVGP5jH/Oj8wvAe51Rj+Yx/zo/MLwHudUY/mMf86PzC8B7nVGP5jH/O&#xA;j8wvAe 51Rj+Yx/zo/MLwHudUY/mMf86PzC8B7nVGP5jH/Oj8wvAe51Rj+Yx/zo/MLwHudUY/mMf8 &#xA;6PzC8B7nVGP5jH/Oj8wvAe569/zjER/j+/FdzpUxA+Vzb5qe1MkZcNEHn+hvwAi7f //Z</xmpGImg:image>
                     </rdf:li>
                  </rdf:Alt>
               </xmp:Thumbnails>


    2. Here is the code I am trying to run

            string test;
            meta.GetProperty(kXMP_NS_XMP_G_IMG, "image", &test, NULL);
            cout << "Test: " << test << endl;

 

The difficult is because the xmpGImg is inside from aOrdered Array, so i don't know how to extract this information.

 

      xmp:Thumbnails  (0xE00 : isAlt isOrdered isArray)
         [1]  (0x100 : isStruct)
            xmpGImg:width = "208"
            xmpGImg:height = "256"
            xmpGImg:format = "JPEG"
            xmpGImg:image = "/9j/4AAQSkZJRgABAgEASABIAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABAA SAAAAAEA

 

Thanks so much,

Rafael Bueno

Custom XMP Panels not working in CS4

$
0
0

I'm trying to develop my first Flex based XMP Panel for CS4.  I'm on Windows Vista.

 

I downloaded the SDK (4.4.2) and created a panel, it compiles and previews fine with Flex Builder 3.

 

If I add the panel to CS4 (manually or through Flex Builder 3) then the Panel just shows up blank in the PhotoShop FileInfo window.  Many of the other panels also appear blank until I remove the panel.

 

I tried copying the sample panels that came with the SDK and they all show up as blank and most of the other default panels are blank too.  Basically, any custom panels cause the FileInfo dialog to stop working properly.

 

What am I doing wrong?

Lang Alt array - multiple values of the same locale

$
0
0

 

 

 

I am working with Iptc4xmpExt, but this question might apply to any Lang Alt array. 

 

For the property Iptc4xmpExt:AOTitle, I need to write multiple values to accommodate alternate versions of an artwork title.  Writing titles of different locales is no problem, but I can't find a way to write separate array values for the same locale.

 

Example 1:

<rdf:li xml:lang="x-default">Prize Vessel from the Athenian Games</rdf:li>

<rdf:li xml:lang="x-default">Panathenaic Prize Amphora and Lid</rdf:li>


Example 2:

<rdf:li xml:lang="x-default">Pantheon</rdf:li>

<rdf:li xml:lang="en-us">Pantheon</rdf:li>

<rdf:li xml:lang=""it-it">Santa Maria ad Martyres</rdf:li>

<rdf:li xml:lang=""it-it">Santa Maria Rotunda</rdf:li>

 

I think the separateArrayItems should work for this, but it doesn't.

 

event.xmpAccess.separateArrayItems("Iptc4xmpExt:ArtworkOrObject[1]/Ipt c4xmpExt:AOTitle", _workTitle.text, IXMPConst.ARRAY_ALT_TEXT);

-

-

-

<fi:XMPTextInputMRU id="_workTitle" xmpPath="Iptc4xmpExt:ArtworkOrObject[1]/Iptc4xmpExt:AOTitle" xmpType="Localized"/>

 

 

Also, I would like to preserve commas and I have had trouble using the "allowCommas:Boolean  = true" parameter in the separateArrayItems method.

As a note, I tried using a semicolon and comma to separate other Lang Alt properties such as the CS4 Description panel "Document Title" and the values were written as a single string not as an array.

 

<dc:title>
             <rdf:Alt>
                <rdf:li xml:lang="x-default">ENGLISH TITLE 1; ENGLISH TITLE 2; ENGLISH TITLE 3</rdf:li>
             </rdf:Alt>
          </dc:title>

 

 

Thanks for any help you can give.

 

Greg Reser

 


Not getting XMP data from INDD file

$
0
0

Hi,

 

I have an indd file which has some XMP data in  it. I am trying to make an AIR application for which I need to seperate  out all the elements like text,thumbnails, etc. from the INDD file.

For this I load the INDD file through FileRefrence , and give the byteArray to XMPMeta's constructor.

 

var meta:XMPMeta = new XMPMeta(byteArr);

// Here byteArr is assigned the bytearray from the filerefrence

 

Now, whenever I do a

var str:String = meta.serialize();
trace(str);

 

The o/p i get is:

str = "<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.0.0-ac003">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
     <rdf:Description rdf:about=""/>
   </rdf:RDF>
</x:xmpmeta>

 

whereas the original document has a lot of other stuff in it, which I am not able to get.

 

But when I make the same file as an XML, i get all other stuff.

 

So can please anyone suggest me any solution for the same.

 

 

 

Thanks,

Eshaan

Custom Fileinfo Panel Deploy folder seems to be wrong in SDK documentation

$
0
0

Hi,

 

I am working on to create custom tab for the FileInfo panel. In the sdk pdf it mentions that for windows the deploy folder is /user/<username>/appdata/adobe/xmp/Custom File Info Panels/3.0/panels. I deployed my panel there but nothing came up in Photoshop. I then deployed the custom tab into C:\Program Files (x86)\Common Files\Adobe\XMP\Custom File Info Panels\2.0\panels and it works.

 

So, what is going on here? Is the deploy folder wrong in SDK? Or there is some way it should work from the first path (mentioned above)? Also, when I went to  /user/<username>/appdata/adobe/xmp there was no "Custom File Info Panels" folder. I had to create them manually. Does that indicate a problem?

 

Thanks.

Viewing all 49231 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>