Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

XMP Toolkit SDK - cannot write GPano into jpeg file

New Here ,
May 04, 2021 May 04, 2021

Hello,

 

I'm using XMP Toolkit SDK on iOS, I would like to add GPano metadata to my fresh created jpeg (jpeg is created from scratch with QImage API).

 

I started from SDK code in "samples/source/ModifyingXMP.cpp", I just added this few lines :

 

// register namespace
string actualPrefix;
SXMPMeta::RegisterNamespace( "http://ns.google.com/photos/1.0/panorama/", "GPano:", &actualPrefix );

// write GPano metadata
meta.SetProperty("http://ns.google.com/photos/1.0/panorama/", "ProjectionType", "equirectangular", 0);

 

 

I use this lines to dump meta content :

 

SXMPIterator iter( meta );
string schemaNS,propPath,propVal;
while( iter.Next( &schemaNS, &propPath, &propVal )){
    cout << schemaNS << " " << propPath << " = " << propVal << endl;
}

 

 

When I dump meta, I have this :

 

http://purl.org/dc/elements/1.1/  = 
http://purl.org/dc/elements/1.1/ dc:creator = 
http://purl.org/dc/elements/1.1/ dc:creator[1] = Author Name
http://purl.org/dc/elements/1.1/ dc:creator[2] = Another Author Name
http://purl.org/dc/elements/1.1/ dc:title = 
http://purl.org/dc/elements/1.1/ dc:title[1] = An English title
http://purl.org/dc/elements/1.1/ dc:title[1]/?xml:lang = x-default
http://purl.org/dc/elements/1.1/ dc:title[2] = An English title
http://purl.org/dc/elements/1.1/ dc:title[2]/?xml:lang = en-US
http://purl.org/dc/elements/1.1/ dc:title[3] = Un titre Francais
http://purl.org/dc/elements/1.1/ dc:title[3]/?xml:lang = fr-FR
http://ns.google.com/photos/1.0/panorama/  = 
http://ns.google.com/photos/1.0/panorama/ GPano:ProjectionType = equirectangular

 

 

So it is ok I see the GPano property when I dump the meta.

But my problem is that I don't retrieve GPano metadata in exported file while I see correctly other XMP properties added by the sample code. I use ApolloOne app or thexifer website to check file metadata.

 

It looks like GPano property is not exported to file, is it a bug or my misunderstanding?

650
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 04, 2021 May 04, 2021

Why does you post this in the forum for Acrobat SDK? Where is the connection to Adobe Acrobat?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 04, 2021 May 04, 2021

Sorry but I did not find any place related to Adobe XMP SDK. Where should I post?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 04, 2021 May 04, 2021

I don't know.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 04, 2021 May 04, 2021

I reposted in 'Exchange' it seems more appropriate, I found a post on XMP.

You can delete this post.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 28, 2021 May 28, 2021

Hi there! 

 

I've replied to you on Github as well... An XMP fix is in Illustrator 25.3 and InDesign 16.3.

 

Regarding which forum is the correct place to chat about the Adobe XMP SDK; the answer is that there had been a forum for XMP, but it got archived during the migration. I had a lot of the developer forum un-archived (although the links do not redirect, you can find old content if you search for it) however, I missed the XMP messages because I, personally, didn't know much about the topic. One or two forum users did point this out since then. I haven't had the bandwidth to go back and request those threads be revived.

 

On the topic of old forum links, one way to find old content is to use the Internet Archive https://archive.org/web/ to find a cached version of the thread, copy the subject (or more) and then search community.adobe.com for the content. It's not ideal, but it does work. Unfortunately it won't work for XMP SDK topics at the time of this writing... but I'll ask to have those threads restored, too.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 28, 2021 May 28, 2021
LATEST
quote

Sorry but I did not find any place related to Adobe XMP SDK. Where should I post?


By @Loic___

 

I should add that this is, in fact, the best place to post XMP SDK content at the moment.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines