js4ai icon indicating copy to clipboard operation
js4ai copied to clipboard

Added SpotColor to renderSwatchLegends

Open schroef opened this issue 3 years ago • 1 comments

I added spotcolor below lab so it also show those. Could be useful for others. It basically shows the same values as LAB, but more people use PMS colors, then this is handy

case "SPOTColor": sourceSpace = ImageColorSpace.LAB; colorComponents=[c.l,c.a,c.b]; break;

schroef avatar Jul 26 '22 18:07 schroef

Here's also a great fix for getting the correct LAB color values https://community.adobe.com/t5/illustrator-discussions/illustrator-javascript-render-swatch-legend-lab-colour-values-incorrect/m-p/11438851#M244737

schroef avatar Jul 26 '22 19:07 schroef