Script to convert RGB values to CMYK values


i want script can me convert rgb value cmyk values.

 

i've seen thread explains script round , down:

 

http://forums.adobe.com/thread/1079041

 

but there script can define lets colour yellow , in rgb looks ok because in rgb mode change cmyk , have 6% - 9% cyan , want yellow

 

is there script out there can say

 

if

 

cyan = 6%

yellow = 80%

magenta = 0%

black = 0%

 

then change to

 

cyan = 0%

yellow = 80&

mangenta = 0%

black = 0%

 

i don't mind writting code each colour needs converted need defining once how make script?

 

any clues?

if want make cyan go 6% 0%, change line

 

from

 

col.cyan = math.round(col.cyan); 

 

to

 

col.cyan = math.round(col.cyan/100)*100; 

 

 

the rest of script still rid of decimals.



More discussions in Illustrator Scripting


adobe

Comments

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support