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
342
February 7, 2022
Exporting files
UXP Plugin API
uxp
,
javascript
6
1070
September 26, 2023
batchPlay JPEG quality settings not being updated. It always saves at 11/12. Why?
UXP Plugin API
1
283
August 17, 2023
Configure JPG Export Settings in a UXP InDesign Plugin
InDesign
uxp
3
21
December 20, 2024
UXP: document saveAs method is not saving the document as a jpeg/png
UXP Plugin API
bug
,
uxp
15
1248
July 7, 2024