Copy link to clipboard
Copied
Is it possible to add PDFFileOptions.PDFSaveOptions to makePDFPresentation? I have tried without success...
https://theiviaxx.github.io/photoshop-docs/Photoshop/PresentationOptions.html#presentationoptions
https://theiviaxx.github.io/photoshop-docs/Photoshop/PDFSaveOptions.html#pdfsaveoptions
I have searched the web without finding any actual working code examples, only docs as above. The original topic for reference here:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/tiff-to-pdf-converter/td-p/12540527
Copy link to clipboard
Copied
Anyone?
Copy link to clipboard
Copied
OK, I eventually found some action manager code, I have given up on the DOM code for now. I'd still be interested if somebody can show how to combine both presentation and standard pdf save options using DOM code.
Copy link to clipboard
Copied
(pdf = new PDFSaveOptions)
.encoding = PDFEncoding.JPEG
optns = new PresentationOptions
function svng(v) {
pdf.jpegQuality = v, optns.PDFFileOptions = pdf
makePDFPresentation(Folder(fle = '~/desktop/Fldr/')
.getFiles(/.psd$/i), File(fle + '/pdf' + v + '.pdf'), optns)
}
svng(0), svng(12)