When exporting a document to PNG via the Export menu, we have the option to convert the image to sRGB and embed it color profile:
Saving a document to a PNG through the UXP API does not seem to offer such an option in the PNGSaveOptions.
As a consequence the colors of the image when exported using the UXP API and the one exported via the export dialog sometimes differ in colors and hues.
Is there a way to achieve the same export result through the UXP API as the one offered by the export dialog?
Thank you in advance.