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

Batch sign PDF Form instead of one by one

$
0
0

I have several PDF forms to digitally sign and need help to see if there is a script that would let me batch sign them instead of one by one. I have to open everyone and sign on line 21 or form ID "Ownersign"

 

 

 

 

Thanks

Chuck


Writing XMP Thumbnail Metadata to AE Preset

$
0
0

Hi guys.

 


I am working on a After Effects script to basically insert a gif as metadata into a fx preset file. If you open Adobe bridge and browse to the After effects text presets you will see that you can click on a preset and in the preview there is an animated GIF. So I am attempting to do this for custom presets.

 

Basically I think I need to read the contents of a GIF file as data, or text, then encode that as base64 and insert it into the metadata of the preset file.

 

I have a come across a couple of problems though:

 

1) I can't seem to read in the GIF file as data

 

     The code I am using is:

 

file = new File("C:\\test.gif");
file.open("r");
test = file.read();
alert(test);

 

And all I get returned is the first part of the data which is "GIF89aØ", It seems that when white space is encountered After Effects stops reading the data.

 

2) I have been testing some code to write thumbnail data to a preset file, but I have come across an issue here too.

 

if (ExternalObject.AdobeXMPScript == undefined) {
ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');
}
xmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);

 

file = new File("C:\\joshPreset.ffx");
xmpFile = new XMPFile(file.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);

 

var xmp = xmpFile.getXMP();

 

xmp.appendArrayItem( "http://ns.adobe.com/xap/1.0/","Thumbnails",null, 0,XMPConst.ARRAY_IS_ALTERNATIVE );

 

This code works, it inserts a Thumbnails array into the metadata, which looks like this:

 


   <xmp:Thumbnails>
    <rdf:Alt>
    </rdf:Alt>
   </xmp:Thumbnails>

 

 

I then need to add other properties within the Thumbnails array like xapGImg:height and xapGImg:image

 

So from what I read in the documentation I need to add a Struct field?

 

I add these lines to my code:

 

XMPMeta.registerNamespace("http://ns.adobe.com/xap/1.0/g/img/", "xapGImg");
xmp.setStructField("xapGImg","Thumbnails","xapGImg:height", 0,null );

 

The first line is to register the name space. xapGImg is what I found in the after effects text preset file.

The second line is to add a struct field to the array. But I get an error whenever I run it with the second line. It says:

 

XMP Exception: Unregistered schema namespace URI

 

I have tried all different combinations of the namespace in the second line but just cannot get it to work!

 

If anyone can help that would be great!

Custom XMP templates

$
0
0

Is there an "easy" way to create a custom XMP template? Trying to find any helpful information on the internet has been difficult, to say the least.

How to create a custom panel in the right way (without having an empty panel in the file info) ?

$
0
0

Hi Everyone

 

My name is Daté.

 

I'm working in the fashion industry as a designer and Design consultant to help fashion brands improving the design workflow by using Adobe softwares and especially Illustrator.

I'm not a developper, but i'm very interested about the possibility to introduce xmp technology to provide more DAM workflows in the fashion industry.

Fashion designers produce a lot of graphical objects in illustrator or Photoshop. Unfortunately they are faced to a big challenge which is about how to manage, search, classify and get this files faster. Of course PDM system or PLM system are used in the Fashion industry to manage data, but for many companies, implemanting this kind of database is very complex.

When i look at what you can do with xmp, it seems to be an interesting way of managing design files, then i started to follow Adobe instruction to try to build a custom panel.

The main idea is to (Theory) :

  • create custom panels used by fashion designers to classify their design files.
  • Use Adobe Bridge to search files, create smart collection to make basic reports in pdf and slideshows
  • Find someone to make a script able to export metadata in xml files
  • Use indesign and the xml file to generate automatically catalogues or technical sheets based on xmp values

 

I have created a custom panel by using the generic panel provided by Adobe and i have modified the fields to feet with the terms used in the fashion industry and it works well.

 

But unfortunately, when i try to create my own custom panel from scratch with Flashbuilder (4.6) and the Adobe CSExtensionBuilder_2 (Trial version), it doesn't work!

Here is the process :

I have installed flashbuilder 4.6

I have download the XMP Fileinfo SDK 5.1 and placed the com.adobe.xmp.sdk.fileinfo_fb4_1.1.0.jar in C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\eclipse\plugins

In Flashbuilder, i have created a new project and select xmp Custom panel

The new project is created in flashbuilder with a field with A BASIC Description Field

To generate the panel, right click the project folder and select xmp / Publish Custom Panel

The panel is automatically generated in the following folder : C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels

 

Go to illustrator, Open the file Info

The panel appears empty

The others panel are also empty

 

The panel is created and automatically placed in the right folder, but when you open it in Illustrator by selecting the File Info option in the File Menu, this custom panel appears empty!!! (only the title of the tab is displayed). This panel also prevent the other panels to be displayed.

When you delete this custom panels from the folder C:\Users\AppData\Roaming\Adobe\XMP\custom file info panels\3.0\panels and go back to the File Info, the other panels display their content properly.

I also try to use the plugin XMP Namespace designer to create my own namespace. this plugin is also able to generate a custom panel, but this one also appears empty in AI or Photoshop.

I try to follow the process described in Adobe xmp documentation many times, but it didn't works.

It seems that many peaople have this issue, but i dodn't find a solution in the forum.

I try to create a trust file (cfg), but it didn't work.

It would be so kind if you can help me to understand why i can't create a custom panel normally and how to do it in the right way.

Thanks a lot for your help,

Best regards,

Daté

 

Full bitcode error in Xcode 7 - iOS 9.1

$
0
0

Hi! I am trying to archive my app using Xcode 7 and the AdobeCreativeSDK but i am getting this error:

 

ld: bitcode bundle could not be generated because '/Users/DiegoVidal/Downloads/AdobeCreativeSDKFrameworks-2/AdobeCreativeSDKImage.framework /Versions/A/AdobeCreativeSDKImage(AdobeImageEditorCustomization.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

I have the latest Adobe Creative SDK and bitcode is enabled (Obviously there must be a solution different from disabling Bitcode)

 

Thanks a lot!

ZXP fails to install, error code -252 ("Failed to parse the file")

$
0
0

I've done an HTML5 extension for InDesign CC. All is working well in debug mode. However, after packaging it to .zxp it fails to install with error code -252. That means I can't submit it to Adobe Exchange, of course.

 

I wonder if there's a place where these error codes are listed and described? It's halfway done at https://www.adobeexchange.com/resources/19 , where it lists 18 separate codes under "Failed to parse the file": -251, -252, -253, -254, -255, -256, -257, -259, -260, -261, -265, -266, -267, -268, -269, -270, -271 and -272. I feel that finding what the actual 252 is would make it easier to find the error.

 

I've asked avetting@adobe.com for help, but they won't reply.

ANN: Chilkat XMP SDK Released

$
0
0
(According to the posting guidelines, it is OK to make this announcement in a single post prefixed with "ANN".)

Chilkat has released a commercial XMP component for .NET (C#, VB.NET, ASP.NET), ActiveX (ASP, VB6, Delphi, Foxpro, etc.), Java, Ruby, Python, Perl, and C++. It currently supports the JPEG and TIFF file formats, but more will be added in time. Licenses are valid across all platforms, and include free new-version upgrades forever. Examples are posted at http://www.example-code.com. We've already created examples in VB6, Ruby, and C++, and example requests are welcome. Product pages for each programming language are at:

XMP.NET: http://www.chilkatsoft.com/xmp-dotnet.asp
XMP ActiveX: http://www.chilkatsoft.com/xmp-activex.asp
Ruby XMP: http://www.chilkatsoft.com/ruby-xmp.asp
Python XMP: http://www.chilkatsoft.com/python-xmp.asp
Perl XMP: http://www.chilkatsoft.com/perl-xmp.asp
Java XMP: http://www.chilkatsoft.com/java-xmp.asp
C++ XMP: http://www.chilkatsoft.com/xmp-library.asp

Note: Perl programmers can also benefit by the Exif tool by Phil Harvey:
http://www.sno.phy.queensu.ca/~phil/exiftool/ (which is freeware I believe)

Best Regards,
Matt Fausey
Chilkat Software, Inc.
630-784-9670

com.adobe.xmp.XMPException: Composite nodes can't have values

$
0
0
Hi,

I am using Adobe XMP java API for XMP stuff.
When I am setting the values using XmpMeta.setProperty() method like this.

Namespace : http://purl.org/dc/elements/1.1/
Property Name : creator
Property Value : Venkatesh

Now when setting this value I am getting this following error.

com.adobe.xmp.XMPException: Composite nodes can't have values

What I am doing wrong in here.

Please help me.

Thanks & Regards,
Venkatesh.

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.

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.

Display format for Exif Tag: ExposureTime

$
0
0
Hello,
I'm a user of Adobe Photoshop Elements 3.0, in which the image editor component displays "File Info" (Exif and XMP information) embedded in the image file using the Adobe Photoshop Information Panels, which are XMP files (DOCTYPE panel SYSTEM "http://ns.adobe.com/custompanels/1.0").

Unfortunately, my camera embeds the Exif tag ExposureTime instead of the Exif tag ShutterSpeedValue.

In the camera1.txt XMP panel file, the ShutterSpeedValue field is defined as (the Adobe Forum Web UI will break the formatting)

static_text(name: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeed=Shutter Speed:', font: font_big_right, vertical: align_center);
edit_number(format: apex_shutterspeed,  precision: 2, format_addin: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeedFormat=^0 sec',locked: true, horizontal: align_fill, xmp_ns_prefix: 'exif', xmp_namespace: 'http://ns.adobe.com/exif/1.0/', xmp_path: 'ShutterSpeedValue');


I changed this to:

static_text(name: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeed=Shutter Speed:', font: font_big_right, vertical: align_center);
edit_number(format: decimal,  precision: 4, format_addin: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeedFormat=^0 sec',locked: true, horizontal: align_fill, xmp_ns_prefix: 'exif', xmp_namespace: 'http://ns.adobe.com/exif/1.0/', xmp_path: 'ExposureTime');


in order to display the correct Exif tag.

But how can I display the usual reciprocal shutter speed format ("1/160th sec") instead of the decimal format ("0.0063 sec")?

Any help much appreciated!

XMP in C++

$
0
0
hi everybody,

iam trying to implement XMP metadata in C++, i download the SDK toolkit from adobe website, can i directly include the header files given in toolkit or i have to create static library for those files? i dont know? can anybody help me by replying this with samples?

thanks in advance.

iView Launches iView MediaPro(TM) for Windows with XMP support

$
0
0
Growing support for XMP in the applications space...

Gunar

http://biz.yahoo.com/prnews/040511/netu022_1.html

iView Launches iView MediaPro(TM) for Windows
Tuesday May 11, 11:01 am ET

Cross-Platform Media Manager Speeds Workflow for Digital Pros

LONDON, May 11 /PRNewswire/ -- iView Multimedia (iView) today announced that its award-winning professional media management software iView MediaPro is available for the Windows platform. iView MediaPro 2.5 now offers the same robust, highly flexible media management for both Windows and Mac users. Designed for creative professionals in film, video, photography, broadcast, education and scientific fields, iView MediaPro helps streamline workflows. Professionals can quickly and easily import, sort, organize and manage very large volumes and types of digital files-helping cut costs and speed project delivery.

iView MediaPro 2.5 features an improved user interface, enhanced folder and file management, and Adobe XMP support. Windows users can now enjoy all iView MediaPro's competitive advantages. Unlike other applications, iView MediaPro is supremely flexible. It integrates seamlessly into a user's worfklow, letting them capture, annotate, organize, search, repurpose and present their digital files in the manner that best works for them.

"I depend on iView MediaPro-it does everything I need and more. Most important, I can configure it to work the way I want it to, because it's so highly configurable, logical and easy to use and at the same time, powerful," said Elliott Landy, photographer, known for his photographs of Woodstock generation music legends. (See www.landyvision.com).

Media Management Made Easy

iView products work by creating media "catalogs." Each catalog can hold up to 128,000 different files-such as graphics, photos, audio, video, illustrations, HTML, and fonts. The application permits an unlimited number of catalogs. Users can easily configure the catalog based on filing systems that suit their work environment and already established workflows. For example, the user controls which annotation categories he wants to create in any given catalog. He can add up to "x" number of personal annotation categories. This means that the user is not "stuck" with iView's idea of what's needed to catalog his media. Rather, he can create his own vision based on what he needs.

Single or multiple files can be easily converted, tagged, and edited. iView MediaPro supports over 100 different file formats, including professional digital camera standards. Users can easily create custom slide shows, Web galleries, movies, catalog layouts, and contact sheets to distribute and publish their media quickly and easily. The strength of the program lies in its ease of use, customizability, and intuitive look and feel.
iView MediaPro 2.5 Features
* Enhanced Information Management: Drag-and-Drop Organizer speeds up the
process of searching, annotating and classifying across large volumes
of media files. Sync annotations use industry standards: IPTC, XMP,
EXIF and QuickTime. Media can be batch tagged with text and voice
annotations for quick searching and retrieval. Catalog Finder permits
location and preview of iView catalogs located on any storage volume.
* Enhanced File and Folder Management: Offers direct control over file
system, including individual and batch renaming, moving and deleting of
files and folders. Automatic synchronization and 'folder watching'
alerts users to what's new in their folders, keeps media up to date for
those who are pressed for time.
* Highly Customizable Publishing, Distribution, and Archiving: Create
multi-grid, cross-platform QuickTime slide shows and movies. Create
customized Web galleries. Make high quality PDF composites, contact
sheets and printouts of any size and layout. Store, backup or burn
media and catalogs. Export cata

XMP and Python (also DLL compilation help needed)

$
0
0

Has anyone tried using the XMP SDK through Python?  I know python fairly well, but not C++.  I would like to code in python if possible.

From what I have gathered I have a few options:

1. Use Python's built-in 'ctypes' methods (not sure if this will only work with C as opposed to  C++)

2. Use Boost

3. Use Sip

 

Does anyone have any experience with any of these (or any other solutions)?

 

The current route that I am experimenting with is using ctypes.  For this to work I will need to compile the XMPCore and the XMPFiles projects into .dll's (as opposed to the default .libs).  I have seen quite a few posts on this forum asking how to go about doing this, but have found no answers.  I have been able to succesfully compile a .dll for XMPCore but not for XMPFiles.  I am using Visual Studio 2008 and cannot figure out how to compile XMPFiles without producing errors such as:

 

2>WXMPFiles.obj : error LNK2019: unresolved external symbol "void __cdecl XMP_EnterCriticalRegion(struct _RTL_CRITICAL_SECTION &)" (?XMP_EnterCriticalRegion@@YAXAAU_RTL_CRITICAL_SECTION@@@Z) referenced in function "public: __thiscall XMPFiles_AutoMutex::XMPFiles_AutoMutex(void)" (??0XMPFiles_AutoMutex@@QAE@XZ)


2>TIFF_Handler.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::~TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(void)" (??1?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@@UAE@XZ)

 

 

These are the steps that I have taked:

1. Download and add the Quicktime SDK, Expat XML Parser, and Zlib libraries to the proper folder paths

2. Open the provided XMPToolkit.sln in VS8

2. Build > Build Solution.  Produces  two static libraries, XMPCoreStaticDebug.lib and XMPFilesStaticDebug.lib.  (This works! ... but I want dll's)

3. Change the properties of the XMPCore and XMPFiles projects:

Configuration Properties -> General-> Configuration Type: Dynamic Library (dll)

4. Clean Solution;  Build Solution

 

This results in many errors.  Most of which are like the two listed above.

 

Anybody have any advice /input in regards to using python with the XMP SDK and/or compiling these two libraries into .dll's ?

 

Thanks for any help!!! 

No XMP syntax definition? Looking for XMP DTD...

$
0
0

Hi,

 

I am trying to solve an incompatibility between two software products. One product writes images with an embedded XMP in an way that some other programs (including Photoshop) complain about beeing unable to read all information when opening these image files.

 

I've tracked the problem down to the xmpRights:UsageTerms attribute, but was unable to find a hint wether the file is incorrect (and a writer problem) or correct (and a reader problem).

 

interestingly, there are Documents describing the meaning of XMP entries, such as Iptc4xmpCore_1.0-spec-XMPSchema_8.pdf or IPTC-PhotoMetadata(200907)_1.pdf , which describe the meaning of 'field names', e.g. they describe a UsageTerms as something containing free text describing how the news object can be legally used. But I did not find any precise description about wether this should be an XML attribute or element, and where it is syntactically allowed.

 

It does not make sense to describe the meaning of a field name without declaring what sort of field it is and where it is allowed.

 

Where would I find a DTD or similar precise syntax description?


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

Write XMP Data into Adobe Illustrator

$
0
0

Hallo Forum, an XMP question.

 

I generate a String-Chain of words in an EXCEL VBA MACRO

XMP_STRING.JPG

 

 

At the moment I copy paste them on the Keyword field because I'm not able to write them automatic in the keyword field.

Illustrator.JPG

 

 

Somebody know's how I can transfer via VBA from EXCEL this Strings to Illustrator ?

 

Thank you

Enhancing FileInfo Generic Panels

$
0
0

Hi,


the FileInfo SDK offers two approaches to extend the XMP FileInfo dialog found in many Adobe applications.


1.) A generic panel which can be setup by editing a couple of XML files.

It offers only limited support for properties defined in XML, it can display only simple XMP properties and comma-separated array lists, with limited layout capabilities (e.g. separators).


2.) A Flash-based custom panel that offers more possibilities but needs some programming skills to develop.



The XMP team is currently thinking about enhancing the generic panel approach to make it easier to build complex Metadata UI without programming skills. Planned features are, for example, support for complex properties and more layout capabilities.


We would like to get feedback from you about enhancing the generic panels and also collect examples of generic panels, as well as flash-based panels.

Have you developed a generic panel or flash-based panel in the past? Why did you choose one approach over the other? Which features would make a generic panel more valuable to you?


Please post your experience with FileInfo panels to this thread and, if possible, show us your panel. You can also send us your panel through private forum mail and we will keep it confidential.


Thanks for your help!

Embedding data from xml file into metadata of a pdf

$
0
0

Hi All

 

I'm wanting to do the following, but struggling to figure the right way to go about it.

 

I want to embedded data from my MIS into a pdf's metadata (as scrnshot). I can create a standalone xml file with all the data I require, but I'm unsure how to automate that being embedded into a pdf's advanced metadata. I know this can be done, as it worked at a previous employer, but I didn't get chance to find out how they did it.

 

I'm wanting to do this so I can carry out a more advanced search of the metadata in Bridge.

 

Any advice would be appreciated!

 

MetaDataWithin.jpg

Adding "Spherical video" metadatas

$
0
0

Hello,

 

I'm trying to use the SDK to inject 360 metadatas into a mp4 video.

 

I've followed the examples, I can inject some top level metadatas and read them etc, but it's not clear for me how I can add this scheme (from google) :

"Spherical video metadata is stored in a uniquely-identified moov.trak.uuid box to avoid collisions with other potential metadata. This box shall cite the UUID value ffcc8263-f855-4a93-8814-587a02521fdd. The XML metadata itself is written within the uuid leaf as a UTF-8 string."

 

The rdf I want to put there is the following :

 

constchar * rdf =

    "<rdf:SphericalVideo xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'"

    " xmlns:GSpherical='http://ns.google.com/videos/1.0/spherical/'>"

    "<GSpherical:Spherical>true</GSpherical:Spherical>"

    "<GSpherical:Stitched>true</GSpherical:Stitched>"

    "<GSpherical:StitchingSoftware>Spherical Metadata Tool</GSpherical:StitchingSoftware>"

    "<GSpherical:ProjectionType>equirectangular</GSpherical:ProjectionType>"

    "</rdf:SphericalVideo>";

 

 

But as explained above, it needs to be added in "moov.track.uuid" and I don't know how to create this scheme.

 

Thanks in advance !

Viewing all 49231 articles
Browse latest View live


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