Illustrator Scripting :: Convert RGB Value To CMYK Values
Mar 26, 2013
I want a script that can convert RGB value to CMYK values.
I've seen this thread which explains a script to round up and down:
[URL].....
but is there a script that i can actually define lets say the colour is yellow and in RGB it looks ok because its in RGB mode so you change it to CMYK and you have 6% - 9% cyan and you only want yellow
is there a script out there that i 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 the code for each colour that needs to be converted as it would only need defining once but how would i make this script?
View 8 Replies
ADVERTISEMENT
Jun 18, 2012
I require to convert RGB image to Graycale or CMYK through script.
View 2 Replies
View Related
May 21, 2013
Any good way to convert decimal values to fractions for use in inch measurements? I have a script that works great but it returns values like 5.5638 and I'd rather it return the closest fraction answer like 5 9/16. 1/16ths would be great, but I'd settle for 1/8ths.
I started trying to come up with a large if with lots of > and < conditions, but it might be better not to reinvent the wheel.
View 13 Replies
View Related
Nov 11, 2011
I work with a large number of Illustrator files daily that all use the Pantone Solid Coated library for their swatch color scheme. This color library will be used whether customers provide the art pieces or if I design the pieces for them.
However, I have found that in order to best match our digital press we must to convert the inks to the Pantone Color Bridge CMYK PC library before printing.
Basically the same color number just the different library (eg PMS 200C would convert to PMS 200PC if outputing in-house to the digital press).
My question - is it possible to create a script that would swap out all the colors in a document (that are in a specific library) with the same colors from a different library?
*More specifically what I am wanting to do is if I have a document that has a dozen solid coated colors swap them for their same numerical equivelant in the Color Bridge CMYK PC library.
View 16 Replies
View Related
Jul 2, 2012
When I use a Pantone color in CS5 and then convert to process, I get certain values for CMYK. However, when I use that same Pantone color in CS6 and convert to process, I get different values for CMYK.
For example, Pantone 2685C converted to process in the both applications yields:
(CS5) C-96, M-100, Y-0, K-10
(CS6) C-90.73, M-100, Y-30.6, K-16.54
View 2 Replies
View Related
Mar 10, 2014
I am struggling to understand why Illustrator is changing the values inside the RGB and CMYK boxes. I am also not sure of the exact relationship between these vaues. Essentially, it appears that if you set the Document Color Mode to RGB, it leaves the RGB values that you type in alone. If you set the Document Color Mode to CMYK, it leaves the CMYK values alone.
But as soon as you change the Color Mode, it automatically modifies the values. So if you were in RGB mode and you set some RGB values, it changes those RGB values when you switch to CMYK mode. And vice versa.
I had thought that the CMYK palette was a subset of the RGB palette. It would make sense to me if it did this when I switched from RGB to CMYK mode, but it doesn't make sense to me why it does this when I switch from CMYK to RGB mode.
The other thing I am confused about is the relationship of the values in the RGB boxes to the values in the CMYK boxes. I would have thought that the relationship between them would be static. Actually, it is not. When I am in CMYK mode and I enter a CMYK value of 90 16 0 0, the RGB values become 0 158 222. But when I switch over to RGB mode, the RGB values of 0 158 222 result in CMYK values of 75 23 0 0.
View 2 Replies
View Related
Mar 24, 2013
I made a simple poster using photoshop to make the background and illustrator to make the fonts and some other stuff. In CMYK my black is just 100% K ( in photoshop)
When placing image in illustrator the 100% K (black) changes to different black with C M Y added. But then when I save it as PDF the preview shows black as a bit grey (which is something normal- in print it will be just black). So my question is .. should I change enything just to be able to see a 100% K in illustrator in order to match CMYK values of Photoshop? Or should I leave it this way? I guess if I am getting a "grey" in PDF preview is something good isn'it? because in photoshop when I set to 100%K in my screeen it looks like grey and not total black.
View 21 Replies
View Related
Sep 13, 2012
I frequently record Illustrator Actions. My actions are quite long, but they all involve three common steps:
-Assigning Notes to shapes
-Assigning Swatches to shapes
-Selecting shapes that have a specific notes
I often need to re-record my actions to repeat all the steps, but to change the notes/swatches that are selected/assigned during the action.
Illustrator has a re-record command. This command is great for changing the value of the note in number 3 of my list. However, it does not work for items 1 & 2 in my list. For these items I have to delete the old step in the action and then record a new step with the new swatch/note.
I know macros in Microsoft Office have an editor which allow you to change values in actions. Is there anything similar for Illustrator actions?You can save an Illustrator action and open it in Text Edit. However, all the attribute/swatch values are saved as weird strings, so I don't know how to change them.
View 4 Replies
View Related
Jan 18, 2014
I've had this problem before, and it randomly popped up again today.
This time restarting Ai fixed the issue the first time. I just don't know if this was human-error/setting on my end, or a minor bug to report.
So I create a CMYK Ai doc. Create some black text and/or shapes. Then decide to change color to rich black by manually entering CMYK values (in this case, 60, 40, 40, 90), select ok. However, the colors revert back to original percentages (75, 68, 67, 90).
In past versions, it's happened once or twice, and restarting Ai didn't solve the first time.
View 6 Replies
View Related
May 10, 2011
Having an issue with CMYK 100%-K value getting reconfigured on PDF/X-3: 2003 (ISO 15930-6) CMYK Export to values like:
C - 74.06%
M - 68.29%
Y - 66.57%
K - 89.83%
When working in the xar file, the CMYK for black is:
C - 0%
M - 0%
Y - 0%
K - 100%
View 9 Replies
View Related
Oct 8, 2012
I work in a large printing company and we get artwork from all over that has dodgy CMYK colours (quick convertions from RGB obviously). We have noticed that these colours don't rip as well as rounded CMYK colours, so we spend a lot of time cleaning them up and rounding them down...
I'd like to be able to just run a script that does this to a whole document, including the colours inside gradients. So if for example the number is .5 or below we round down, or above we round up.
View 17 Replies
View Related
Feb 18, 2013
I am searching for a simple automated Find and Replace script, the idea is that in Excel the Find and Replace with texts are located. The script finds the textblock in Illustrator and replaces it with the value from Excel "New number".
Example Illustrator:
Example Excel Find and Replace:
View 1 Replies
View Related
Oct 14, 2013
Is there any chance to assign values to an artboard?
I've experimented with “tags”, but they only work for pageItems. (if the item which includes the stored data is deleted, the data is also deleted)
It is simple data like v1=true, v2=false, … I want to assign. And it needs to be saved within the illustrator document.
View 4 Replies
View Related
Mar 1, 2012
I have several Illustrator JavaScripts that I've written with the ESTK. A lot of these scripts involve resizing the artboard or artwork to specific sizes. Instead of forcing the user to manually input the dimensions they want into text fields, I just stored a half-dozen or so "presets" in an array.
Then they can select one of the presets from a dropdownlist, or go ahead and input a custom size. These presets are the same for multiple "resize" scripts, so it would be nice to store those presets in a separate file (i.e. presets.jsx) that my resize scripts could reference, so when I need to add or change a preset, I could just go to that one shared file, and all the scripts would be updated.
Is it possible to do that? If it is, a quick example of how to load the variables from another file.
View 1 Replies
View Related
Mar 15, 2014
I'm moving art over to a new document. It was created in CMYK. The new document has a color mode of Basic RGB. After pasting the art I select it all, and choose Edit | Edit Colors | Convert to RGB. After saving and re-opening the document, the art once again has CMYK attributes, not RGB. What am I doing wrong?
View 5 Replies
View Related
Jul 22, 2013
Convert PMS to CMYK
View 2 Replies
View Related
Jul 6, 2012
With my printer, I need to be able to print colors in CMY, not CMYK. Is there any way to convert Pantone to CMY values without the K?
View 5 Replies
View Related
Jan 21, 2014
I always find beautiful RGB-vectors which I want to use for a print design. But once converted via Illustrator to CMYK, the image often annoys me because of the less bright and powerful colours.
So: what is the best way to recolor a nice and colourful vector from RGB tot CMYK (possibly with finding the right alternative colors in CMYK?) in Illustrator?
View 9 Replies
View Related
Oct 17, 2013
I need to convert a bunch of vector artwork for a brand I made from CMYK to RGB.
But, illustrator won't give me the option to do so.
I upgraded from CS6 to CC, but am still having the same issue. It's all vector right now.
Manually changing each colour will take hours, as there's many files and gradients. So, I'd love to just be able to use Illustrator's build in feature.
But, here's what I get. Convert to RGB is in light grey and I can't select it (click on image to see better):
View 2 Replies
View Related
Feb 23, 2013
I've designed a logo for a client using Illustrator CS6. There is the 4-color version in CMYK .eps as well as 1-color, 2-color, and KO versions. Everything looks and acts as it should and will no doubt be perfect for offset printing (my main area of experience). However, once delivered to the client they were anxious to put them into use and immediately dropped the 4-color version into a word document and made a pdf for email distribution. When I received it I had to groan, the colors had shifted to the obscene.
My guess is that what the client needs is a set of the logos that are converted to RGB. I'm also thinking that since the logos might be re-sized for various uses, keeping the art in the .eps format (as opposed to a raster format) makes sense. Is that true?
Is there an easy way to convert the original CMYK eps files to RGB within Illustrator?
View 4 Replies
View Related
May 5, 2013
how do i convert pantone to cmyk?
View 5 Replies
View Related
Aug 2, 2013
Have an illustrator cs6 file I just sent to a client for printing. It has linked rgb and CMYK files. When I sent the file I forgot to convert the rgb images to CMYK. They were linked psd and tiff files. Don't have direct contact with who will print. Do I need to worry about the RGB images outputting poorly? Or will Illustrator handle the conversion ok just in case printer doesn't check the files carefully.
View 4 Replies
View Related
Nov 13, 2013
I am working in Adobe Illustrator CS6 and InDesign CS6.
When I create a swatch using Pantone colour books (solid coated) and then convert the swatch to CMYK the values differ between programs and also differ to my hard copy of Pantone Colour Bridge.
I have followed the Workaround 1 on [URL]...which was useful - now the CMYK values produced in Illustrator and InDesign match HOWEVER they still differ from my hard copy of Pantone Colour Bridge.
I copied the leagacy files from CS4 - is it possible the CMYK values embedded in these files are out of date or is it possible that the CMYK values in the Colour Bridge book have since changed?
View 5 Replies
View Related
Oct 16, 2013
my printing house said I sent him a RGB file and he needs CMYK for printing.
(1) How can I know the original file is RBG color mode?
(2) How to convert RGB ai file to CMYK ai file?
View 1 Replies
View Related
Jun 6, 2013
Is there a way to export a document @ a different resolution than 72DPI? I know I can set the horizontal/vertical scale to save it at a larger dimension at 72DPI, but I need the file to be actual size and 300DPI.
This is part of a larger process, and I'd prefer to do the entire process from Illustrator, and not have to open the files in Photoshop to change the size/resolution.
Also, is it possible to change the color mode to CMYK or Greyscale for the exported Jpeg?
View 7 Replies
View Related
Apr 19, 2013
I need to find a way to convert YS color code to either CMYK or RGB (doesn't matter which).
View 1 Replies
View Related
Feb 6, 2014
I am interested in setting up a plugin that is able to read the greyscale values of a defined number of pixels throughout an image, average them, and then generate shapes based on the value output.
View 3 Replies
View Related
Dec 25, 2012
Currently, i receive artwork in CMYK but i need to resubmit to painter using Pantone.? i have installed Illustrator CS6 recently and not familar with the software.
View 4 Replies
View Related
Jul 25, 2012
I have over 900 barcodes provided in EPS format. When I open them in illustrator, they are coming in as an RGB color space file. I need them gray scale solid black in CMYK color mode. I can batch using actions to convert the artwork using "Edit Colors > Convert to Grayscale". However, the document color mode remains RGB. It appears, even after using "Convert to Grayscale", that the RGB color mode goofs up the placed .ai file in InDesign, treating it as RGB and seeing it as a mix of CMYK rather than the 100% black only it needs to be for proper sharp printing.
The actions pallet doesn't record converting the document color mode. Is there a way to automate that file conversion so they are all saved as CMYK rather than RGB, or am I stuck opening each of the 900+ files manually?
View 2 Replies
View Related
Apr 20, 2013
1. Open Color menu and work with color in CMYK.
2. Do "Add to switches" (or "Создать новый образец" in Russian)
3. See that new color was added like RGB not like CMYK.
4. When I open parameters it show me HSB options.
5. I switch it to CMYK and push OK
6. Nothing cange - RGB in name and HSB in options.
View 4 Replies
View Related
Sep 17, 2013
I'm having an issue where I can't convert spot colors to CMYK in the swatches panel. Currently to fix I have to copy elements using the spot colors in to a new blank document, then convert them, then paste back into the original document.
Also if I try to delete the spot color, it doesn't fully delete the swatch.
I'm using Illustrator CC 17.0.0
I've attached a video [URL] ......
View 3 Replies
View Related