Skip to main content
CurrentPoint
Participant
November 27, 2017
Answered

Convert Spot colors to Process in Acrobat with JavaScript

  • November 27, 2017
  • 1 reply
  • 708 views

Does anyone have an example of converting spot colors to process in Acrobat DC with JavaScript? The API shows an example, but not with ink actions (I'm guessing this is how it's done with JavaScript). My other colorConvertAction JavaScripts work well (i.e. converting color space of images, etc), but I've had to use Preflight for document spot color conversion. Would prefer to just add this to my existing JavaScripts if possible.

This topic has been closed for replies.
Correct answer Thom Parker

Call the Preflight profile with JavaScript. Very little is provided in the way of color conversion with JS. If there is a Preflight profile for this, then use it.

this.preflight(...)

1 reply

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
November 27, 2017

Call the Preflight profile with JavaScript. Very little is provided in the way of color conversion with JS. If there is a Preflight profile for this, then use it.

this.preflight(...)

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often