OptionalcolorA custom color to use to fill anti-aliased edges adjacent to transparent areas of the image. Mutually exclusive with 'matteColor'.
OptionalcustomCustom matting color; overrides matteColor
OptionalembedFalse to skip embedding the color profile in the document
OptionalformatThe JPEG format option to use.
OptionalmatteThe color to use to fill anti-aliased edges adjacent to transparent areas of the image. Mutually exclusive with 'color'.
OptionalqualityThe image quality setting to use; affects file size and compression.
OptionalscansThe number of scans to incrementally display the image on the page. formatOptions must be JPEGFormatOptions.PROGRESSIVE.
Options for saving a document in JPEG format using the Document.saveAs method
See
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/document/#saveas
Example
Targetfolder
objects/saveoptions
Optionobject
Min Version
22.5