• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Convert to custom SMYK profile. JS

New Here ,
Dec 15, 2022 Dec 15, 2022

Copy link to clipboard

Copied

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'));

 

 

 

custom smyk.png

 

TOPICS
Actions and scripting , SDK

Views

113

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 16, 2022 Dec 16, 2022

Copy link to clipboard

Copied

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!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2022 Dec 27, 2022

Copy link to clipboard

Copied

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

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2022 Dec 27, 2022

Copy link to clipboard

Copied

LATEST

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

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines