InDesign Scripting -> Profile-based color conversions?
Greetings,
For visuals and as substitute for the following text please view this video
In a nutshell, I'm looking for a way to programmatically convert a given CMYK to LAB which would also respect the color profile referencing the values. So, if the user is set in XCMYK vs SWOPv2 the same CMYK recipe will produce, correctly, two very different LAB values.
Given this, I can then calculate a Delta e 2000 difference between two swatches and create correctly spaced out colors between a given start and end color. Say, a delta e of 1 between each swatch.
Anyone has somewhere to point me to, for a indesign script based approach to converting colors while respecting the color space they reference? Is there already an API for this in InDesign Javascript?
Thank you kindly!
PS: pm me if you want to send you this script I'm writing 🙂
