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
Save a picture without batchPlay
UXP Plugin API
0
294
February 7, 2022
batchPlay JPEG quality settings not being updated. It always saves at 11/12. Why?
UXP Plugin API
1
231
August 17, 2023
Using UXP, exporting as jpg at %40 of original size
Photoshop
2
237
June 26, 2023
Alchemist help needed
UXP Plugin API
10
382
April 13, 2021
Using BatchPlay to save a PNG in API 2
UXP Plugin API
uxp
,
javascript
4
858
June 24, 2022