Skip to main content
Stephen Marsh
Community Expert
Community Expert
Nov 23, 2021 12:19 AM UTC
Question

PDF Save Option for Multi-Page PDF via makePDFPresentation?

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/PresentationOptions/PDFFileOptions.html#present...

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

 
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Kukurykus
Legend
Dec 15, 2021 3:42 PM UTC
(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)
Translate
Stephen Marsh
Community Expert
Community Expert
Dec 14, 2021 12:07 PM UTC

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.

 

Translate
Stephen Marsh
Community Expert
Community Expert
Nov 27, 2021 10:37 AM UTC

Anyone?

Translate