Skip to main content
Participant
May 23, 2023
Question

Export content credentials with UXP

  • May 23, 2023
  • 2 replies
  • 852 views

Currently when exporting from UXP content credentials (C2PA data) are not exported in the file no matter how the user has content credentials configured. In the native export screen there is a checkbox to attach or embed the content credentials - could this be exposed to UXP to allow a flag to be passed using this check when calling the await activeDocument.saveAs.png(aFile, true/false) or the batchplay equivalent of 
                        _obj: "save",

                        as: {

                            _obj: "PNGFormat"

 

Failing that, the behaviour should be that that if the user has enabled content credentials on the file, then the export from UXP should automatically add these to the file

 

 

This topic has been closed for replies.

2 replies

Participant
August 8, 2023

Dear John,

 

I'm trying to use UXP to save my document with the CAI credentials. Currently I make use of:

 

 const activeDocument = require("photoshop").app.activeDocument;
                await activeDocument.saveAs.png(holdNewFile, true);
 
Would you please demonstrate how thie export functionality can be ran within UXP attaching the CAI credentials?
 
Thanks,
Rhys

 

John Metzger
Adobe Employee
Adobe Employee
July 28, 2023

Hi - I'm unclear if you are trying to save or export this file. Only Export has the functionality currently to attach the CAI credentials to the document. 

Director of Product Management - Adobe Photoshop
Participant
September 10, 2024

Hi John

It's been over a year, any chance of some further update? We're now public with our plugin and users are complaining about the lack of content credentials data.