Skip to main content
Participant
December 15, 2022
Question

Convert to custom SMYK profile. JS

  • December 15, 2022
  • 2 replies
  • 353 views

Hi all,

Does anyone know is there any way to convert to a custom profile with parameters that I want ( for example set Dot gain to 20%) via PS api. The code above is not doing anything.

const photoshop = require('photoshop');
photoshop.app.activeDocument.convertProfile(Working SMYK - SWOP (Coated), 20%, GCR, Medium);

But if I am converting to Working Gray it works. ( convertProfile('Working Gray'));

 

 

 

 

This topic has been closed for replies.

2 replies

NB, colourmanagement
Community Expert
Community Expert
December 27, 2022

Try this: substitute "Working CMYK" for "Working SMYK", I'm presuming that SMYK is a typo in your script?

 

I hope this helps neil barstow,  colourmanagement net :: adobe forum volunteer

google me "neil barstow colourmanagement"  for lots of free articles on colour management

 

NB, colourmanagement
Community Expert
Community Expert
December 27, 2022

By the way, Photoshop's "Custom CMYK" is pretty poor. it's definitely not making a proper CMYK ICC profile 

 

I hope this helps neil barstow, colourmanagement net :: adobe forum volunteer

google me "neil barstow colourmanagement" for lots of free articles on colour management

 

Stephen Marsh
Community Expert
Community Expert
December 16, 2022

Never used the API, only JS in Photoshop. Is this the best forum for API questions?

 

SMYK or CMYK?

 

Why does your example of a CMYK conversion specify parameters after Working SMYK when Working Gray has no parameters?

 

Good luck!