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

Add/Update/Delete XMP (PDF) metadata?

$
0
0
I'm new to working with PDF. What I would like to do is add/update/delete XMP metadata to PDF documents. These documents will be indexed by our search engine, which I'm told can index this metadata. It's indexing Dublin Core so don't see why it could not index custom schema. Anyway, I've been researching this and as a non-programmer I'm confused.

1) Can PDF metadata be added, updated and deleted?

2) Can this be done via a template? (ie. get the PDF file, fill out a metadata form, and submit it or in the case of update/delete change or remove the data).

3) Are there any developed applications (client or server based) that can do this or must they be developed? If they exist please tell me what and where they are ...

4) Has anyone used the Java XMP parser?

5) Anyone know of any online demos of adding/updating/deleting PDF XMP metadata?

6) Can XML or XMP data be imported into a PDF file?

Any help will be very much appreciated.

Thank you

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

Delete XMP meta *including* xmpMM:history

$
0
0

Hi all,

 

a quick question, maybe you as experts are so kind to give a hint:

i need to delete the xmpMM:history of an Adobe Illustrator (Mac OSX 10.6) file – neither AI CS 4 nor BRIDGE CS 4 let me do it. hitting the trash can button in the file information dialogue clears all meta data – but after a reload of the file it appears again.

 

what might a be a quick workaround for the mac?

 

i was searching for 45min on the net and only found crappy exif file viewers..

thats why I turn to you - the professionals – now.

 

thank you so much.

i appreciate your answers.

 

m

MetaData in file not shown in Illustrator cs6 file info panel

$
0
0

I have a command line application that puts meta-data into files.  It was created using the 5.1.2 xmp toolkit.  The metadata is in the file.  I can see it if I just use TextEdit to look at the file.  I can also see the custom metadata in the Illustrator CS5 File Info Panel AND the Photoshop CS6 File Info Panel.  The information doesn't show up in the Illustrator CS6 file info panel.  Any clue why?

Confusion between xmpDM fields and dc fields.

$
0
0
Greetings,
I have not read the specification for a while, and it seems there have been two new releases since that time, now I am confused with the newly added dynamic management section schema, most importantly the following
fields confuse me:

xmpDM:artist
xmpDM:album
xmpDM:genre

I don't understand why these specific fields exist, because they are not equivalent to the dublincore schema, no??

More specifically
xmpDM:artist -> dc:creator (ok, i admit this is a bit far-fetched but..)
xmpDM:album -> dc:source (according to ISO 15836, this is the resource that it is derived from, so the album name should be there, no?)
xmpDM:genre -> dc:type (according to ISO 15836, this is the genre of the resource).

So what is the rule, we should update the XMP metadata in both the dc and xmpDM schema if we describe an audio resource?

Thanks for any help and pointers on this topic!

Carl Eric Codere

Flash and XMP

$
0
0
Wondering if someone from Adobe can confirm (or otherwise) whether their are plans to integrate XMP into Flash (and other Macromedia products). If so, how advanced?

A really nice to have feature would be if an application like Flash which imports media, could also import and aggregate the original metadata at the same time.

I am also looking forward to seeing some audio and video file formats supporting XMP - if anyone knows of any - please reply.

Thanks.

Copy a file name to its own metadata

$
0
0
I am re-organizing a large database of images. I do want to rename all the files but I need to keep the original file name for future reference. Is there a way to copy the original file name to the metadata without having to do it by hand (one by one)? I'm using Photoshop CS2, Bridge or Lightroom with a Mac running on OSX 10.4.8 and enough ram.

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

examples of web photo galleries that display xmp metadata

$
0
0
Hello, I am wondering if anyone knows of an online image gallery that displays xmp metadata for the images displayed?

Thanks,

Bob

how to insert xmp metadata into jpeg files?

$
0
0

Hi

 

Is it possible to automatically insert the metadata

with the script using text extracted from my database.

I have to insert the metadata into lots of images which are uploaded to a site.

 

 

Thanks

[signature deleted bu host]

CS5 Generic File Info Memory Problem

$
0
0

We have been using a  very large custom generic panel in CS4 File Info.  The MRU file has  grown to 2.5 mb, the properties are 1.5 mb -- but they have been working  great in CS4.  In CS5 they frequently do not work .   The panel will either be empty when  you open it, although there are xmp values in file, or after entering data, the panel will spin for a while, show empty again, often after trying to process the MRU's.

 

Are panels  in CS5 products OK to be used for this large of a  metadata set of attributes and values?

 

Using latest Macs, 4GB of ram, happens in all CS5 apps.

 

Thanks for your  help.

 

Todd

XMPToolKit v5.1.2 Problem (Bug?)

$
0
0
Hi,
I have started using v5.1.2 of the ToolKit, and I have run into a problem.
In the XMP specification Part 2 page 9 states:
The namespaces define a set of properties. In any given XMP Packet, a property may be absent or present:
Absent: The property has no value. Properties are absent until given a value for the first time.
Present: The property has a defined value. A present property may have the empty string as its value; this is different from an absent property. However, writers are encouraged not to set properties with a value of the empty string.
But version 5.1.2 of the XMPToolKit removes empty properties in some cases (as opposed to v4.4.2).
One example is the ApplyTemplate function. The function removes all empty properties / structures when merging two XMP
To see an example of this add an extra property at line 138 in XMPCoreCoverage.cpp :
staticconstchar * kSimpleRDF =
"  <rdf:Description rdf:about='Test:XMPCoreCoverage/kSimpleRDF' xmlns:ns1='ns:test1/' xmlns:ns2='ns:test2/'>"
""
"    <ns1:SimpleProp>Simple value</ns1:SimpleProp>"
"    <ns1:SimplePropEmpty></ns1:SimplePropEmpty>"
""
"    <ns1:ArrayProp>"
When you run the example, the "SimplePropEmpty" property gets removed by the ApplyTemplate function.
If you look in the code of the XMPToolKit it actually looks like this is done on purpose. One example, lines 709 - 715 in XMPUtils-FileInfo.cpp:
if ( valueIsEmpty ) {
     if ( deleteEmpty && (destNode != 0) ) {
          delete ( destNode );
          destParent->children.erase ( destPos );
     }
     return;// ! Done, empty values are either ignored or cause deletions.
}
But if there is to be difference between absent and present, but empty, properties, then these should be preserved (?)
Thomas

Photoshop custom panels and JavaScript scripting

$
0
0
I've created a custom panel for Photoshop using Pound Hill Metalab software.
I can't seem to find a way to retrieve the data stored in the custom panel using JavaScript scripting in Photoshop. Is this even
possible?

Larry

custom panels?

$
0
0
Hi all,

I tried to create a new custom panel. However, I encountered a problem. For example, a document has three co-authors, and the three authors come from different countries. One is from Canada, one is from French, and another one is from Italy. XMP is flexible for putting all those information into a xmp file. But speaking of a custom panel, I am wondering whether it is possible to incorporate three different author's name in three different language in one custom panel. I have searched all documentaion I could find. And I have no clue at all. Fundmentally, it is a question of incorporating container_type: alt_struct into a custom panel. Similarly, I am wondering what is the best way to handle bag_struct in a custom panel.

Thanks,

Jason

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

Why are the punctuation marks lost after speech analysis?

$
0
0

Hello

I've got a problem. We successfully added a dialogSequence to the metadata of a video file to align the text to the audio by using the Media Encoda via Premiere Pro. The alignment works fine, the only problem is that the punctuation marks are lost after the speech analysis. When the transcript is added manually via Adobe Storyboard, the punctuation marks are not lost. Do you have a idea, why the punctuation marks are lost if we add the text directly to the meta files?

Best regards and thank you in advance

Anna

IPTC/XMP Toolkit Wrapper in C#

$
0
0
I wanted an extremely easy C# wrapper for the toolkit. One that would compile in Visual Studio 2005 and 2008 upon install, as well as have a class with simply had property values for each of the IPTC/XMP data. I hired someone to do this and it works beautifully. It's been released in DBGallery, a photo database system (www.grrsystems.com/DBGallery).

If anyone is interested in purchasing this wrapper you may contact me at grogers@grrsystems.com

Regards,
Glenn Rogers, PMP
GRR Systems, Inc.

getLocalPrefix Problem

$
0
0

I'm trying to use getLocalPrefix to retrieve the prefix for "http://ns.useplus.org/ldf/xmp/1.0/" which is stored as "plus" or "plus_1_".

 

I have not been able to get any results from:

var plusPrefix:String = xmpAccess.getLocalPrefix("http://ns.useplus.org/ldf/xmp/1.0/");

 

I have tried this:

[Bindable] private var plusNS:String = "";

 

private function initApp():void{

     var plusPrefix:String = xmpAccess.getLocalPrefix("http://ns.useplus.org/ldf/xmp/1.0/");

      plusNS = plusPrefix;

}

 

<fi:XMPNamespaces>

     <fi:XMPNamespace prefix="plus" value="{plusNS}" />

</fi:XMPNamespaces>

 

And  this:

[Bindable] private var plusNS:String = "";

 

private function xmpReadHandler(event:XMPEvent):void{

     var plusPrefix:String = xmpAccess.getLocalPrefix("http://ns.useplus.org/ldf/xmp/1.0/");

      plusNS = plusPrefix;

}

 

<fi:XMPNamespaces>

     <fi:XMPNamespace prefix="plus" value="{plusNS}" />

</fi:XMPNamespaces>

 

 

Thanks for any help you can give,

Greg Reser

PNG iTXt chuncks and compression

$
0
0

According to the standard PNG iTXt chunck may be compressed, but in my test, the SDK does not seem to support such chunks.

 

All the test .PNG files in the SDK directories I have tried have uncompressed iTXt chunks, while files with compressed chuncks seem to cause errors when the file is read using the SDK code.

 

I have looked through the programmer's guide but have found nothing which would esolve this question for me.

 

Does anyone have any insight or pointers where I can find out more?

 

TIA

the problem with debuging the samples

$
0
0
i the new in XMP. i got a problem when debuging the samples which supplied by XMP SDK. i run it in VS2005,but i got the error message "LINK: fatal error LINK1181: cannot open input file `XMPCoreStaticDebug.lib`". it seems there is no library files in the public/libraries/windows/debug folder.

Any help greatly appreciated.

KaiCai
Viewing all 49231 articles
Browse latest View live


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