Adobe Creative Cloud Developer Forums
Export JPEG and get file size in UXP
Photoshop
UXP Plugin API
sttk3
February 4, 2023, 5:19am
23
Can the “export” you are talking about be substituted with “saveAs”?
Here’s an example
UXP: document saveAs method is not saving the document as a jpeg/png
Document about saveAs
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/document/#saveas
Document about save options
BMP Save Options
GIF Save Options
JPEG Save Options
PNG Save Options
Photoshop Save Options
show post in topic
Related topics
Topic
Replies
Views
Activity
SaveAs jpg quality not working
UXP Developer Tool
uxp
20
110
April 15, 2025
How to export photoshop document as PDF/PNG/SVG/JPG programmatically using UXP?
UXP Plugin API
2
2585
September 23, 2021
Export Layers to file individually
UXP Plugin API
24
2949
October 7, 2024
UXP: document saveAs method is not saving the document as a jpeg/png
UXP Plugin API
bug
,
uxp
15
1409
July 7, 2024
What can and can't UXP do?
Photoshop
ui
,
uxp
,
javascript
19
1219
February 8, 2024