Illustrator Scripting :: Change Color Mode To CMYK Or Greyscale For Exported JPEG?
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
ADVERTISEMENT
Jun 6, 2012
Every time I try to choose a color in CMYK it always gives me the exclamation mark with a color that isn't even close to what I'm trying to use. When I click on the color below the exclamation, it still won't give it to me. What is the purpose of this and how can I get it to give me the proper color?
View 2 Replies
View Related
Oct 25, 2012
Having a bit of trouble as Illustrator CS6 (that I've set to a default color mode of CMYK) is opening CS5 CMYK files as RGB color profile. I don't get a choice. And so it is messing with my color palettes when I convert back to a CMYK color profile.
View 1 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
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
Jan 3, 2014
It is convenient to add each image name as a text on each figure by Slideshow. Could I use each image name as the exported file name?
View 6 Replies
View Related
Feb 6, 2013
I am trying to change the color of all items on and under a specific layer.I have been successful changing the color of specific types of objects (paths), but I need to accommodate all the types on the layer and sub layers.
I can recurse to as many sub layers as I expect, but how do I accommodate the page Items, path Items, group Items, compound Path Items, etc.I was thinking of pushing everything to an array, but I have no experience with arrays...
View 3 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
Mar 21, 2012
The project is a photo montage. It was 4-color, now must become 2 colors. So I've changed each of the original 4-color photos (jpg and eps) into separate psd files (as grayscale/duotone/montage-and assigned it One pantone color)
In a new psd "montage" file, I plan to place each photo on its own layer, adjust tints, transparency, etc, to create one new montage/flattened.I'm not sure which color mode is best when setting up this new file, CMYK or grayscale?
Once the PS doc is done, the job will be saved as a PDF for 2-color printing.I want to insure the 2 pantone colors separate properly at press.
View 3 Replies
View Related
Jan 29, 2009
how and if i can change the default color model in illustrator (in the color panel), which is RGB to something else ? (i think colors in HSB and it's a bit annoying changing that every time) i looked it up and couldn't find out.
View 5 Replies
View Related
Feb 4, 2013
I managed to write this javascript. It automatically changes the colors from one swatch (byName) to another (byName) in my opened illustrator file. But if this one color doesn't exist as a fill or outline color in a file, I get an error message, because the script can not detect the color. The script stops. I am working on a batch of Illustrator files with 3 colors to change, but some files contain just 1 or 2 of the colors.Is there a command for javascript which says: "Only change the color, if the color appears"?
Here is the script:
var docRef = app.activeDocument;
with (docRef) {
var findColor = swatches.getByName('TSB Dark Blue').color;
var replaceColor = swatches.getByName('TSBDB').color;
[code]....
View 2 Replies
View Related
May 4, 2012
I want to overprint a PMS colors using Applescript. I though if I changed the property of the selected items fill color from (fill overprint:false) to (fill overprint:true) it would work. This doesn't seem to change a thing.
This is the script I am currently using:
script ChangeOverprint
tell application "Adobe Illustrator"
local docRef
[Code]....
This is the picture of a simple document I created. The elipse has fill overprint:true. The polygon has filr overprint:false. The original value for the property fill overprint was false. I changed it in the script to true. Which the log shows it changed.
View 1 Replies
View Related
Jun 6, 2012
I am trying to create a script who could act as an Autocad plot (ie convert each color to black, with a different line weight).
Here is the first script I melted, who create my Black swatch
if ( app.documents.length > 0 ) {
var myDoc = app.activeDocument;
//add Black swatch
var newSwatch = app.activeDocument.swatches.add()
var newColor = new GrayColor();
newColor.gray = 100;
[Code] .........
And here is the second one, who replace one color by Black (it don't change the text, nor the lineweight yet…
if ( app.documents.length > 0 ) {
//test de dialogue
function csDialog() {
var fabGroup = app.activeDocument.swatchGroups.getByName('Fabrics');
var allFabs = fabGroup.getAllSwatches();
var fabNames = Array();
[Code] ........
View 2 Replies
View Related
Mar 20, 2012
I have a couple thousand AI authored EPS files with a specific swatch name (SpotBlack) that I would like to rename (black) -- is there any method to do this en masse, preferrably outside of Illy using a text editor?
View 7 Replies
View Related
Nov 26, 2012
I need the finished script to create a rectangle with no fill and a 20% gray stroke to outline each artboard. I dug this up off these boards, which works perfectly except the rectangles created have no fill or stroke. certainly save me a lot of time drawing rectangles on a daily basis.
#target illustrator
var docRef = app.activeDocument;
var artboardRef = docRef.artboards;
for(i=0;i<artboardRef.length;i++){
var top=artboardRef[i].artboardRect[1] ;
var left=artboardRef[i].artboardRect[0];
var width=artboardRef[i].artboardRect[2]-artboardRef[i].artboardRect[0];
var height=artboardRef[i].artboardRect[1]-artboardRef[i].artboardRect[3];
var rect = docRef.pathItems.rectangle (top, left, width, height);
rect.fillColor = rect.strokeColor = new NoColor();
}
View 3 Replies
View Related
Mar 3, 2013
Okay my script to change text frame color changes the color of all text frames hidden or not.
I need it to only change visible text frames.
if ( app.documents.length > 0 ) {
newCMYKColor = new CMYKColor();
newCMYKColor.black = 0;
newCMYKColor.cyan = 0;
newCMYKColor.magenta = 0;
newCMYKColor.yellow = 0;
[Code]...
How to go about making it only change the color of text frames on the active layer? In the final script I will hide all other layers so if it could be done by a visible attribute more easily that would work just as well.
View 4 Replies
View Related
Apr 2, 2013
I'm trying to create a script in CS5 mac os10.6.8 that will change the fill color of selected pathItems. I need a simple script that will change a selected pathItem to cmyk values 2,3,15,0. I will then select this script and implement the action in a batch of 600 files.
I wish this process could be recorded as an action but when I record the action "add new swatch" I have to manually input the cmyk values, which will take forever for a batch of over 600 files.
View 15 Replies
View Related
Feb 21, 2013
Create a new document in X5. Choose CMYK as the "Primary Color Mode" in the "Create a new document" dialog box.
Draw a rectangle. The Eyedropper Tool tells me it is RGB 0, 0, 0. Shouldn't it be CMYK 0, 0, 0,100? Is there a simple way to fix this to default to CMYK?
View 4 Replies
View Related
Aug 29, 2012
I need to create a document, which i want to print, in CMYK mode, but this is not possible on Photoshop elements 5. Apparently Photoshop doesn't support CMYK. Some of my colleagues are graphic designer who also work with Photoshop and they say, that CMYK is always available... I don't understand why it's not available on my software. Do i need to change the setting or something?
View 2 Replies
View Related
Jan 19, 2014
Does Photshop Elements 12 have a CMYK color mode?
View 8 Replies
View Related
Feb 11, 2014
What do I do to get CMYK color mode with Elements 12 for Windows?
View 1 Replies
View Related
Dec 24, 2013
How to I get cmyk color mode on my postcard?
View 6 Replies
View Related
Jun 30, 2012
Sometimes when I have an object selected and I go to select a fill color for it, the object turns a corresponding shade of grey, even though I'm selecting a color from the color picker.
Other objects on the artboard have color, so it doesn't seem to be a global setting....
View 6 Replies
View Related
May 9, 2013
The problem is when i import a pdf file in coreldraw.
Mode cymk change all colors in RGB and i don't want this. How is possible?I need import pdf file cymk in the same mode. The pdf file is vector and cymk like source.
View 3 Replies
View Related
Mar 17, 2014
I am working on a 2-color newsletter in Indesign CS5... black and Pantone 227U.
Whenever I place a duotone .eps (black + 227U) or an Illustrator vector .eps with 227U in it, the color mode for that swatch changes to CMYK. An Illustrator vector which is 100% 227U also gives me the same issue.
View 4 Replies
View Related
Sep 18, 2013
var doc = app.activeDocument;
var destFolder = Folder ("~/Documents");
if (destFolder) {
var fileName = activeDocument.name;
var destFile = new File(destFolder + '/' + fileName);
[Code] .....
This code I created exports my current Ai document as a PSD with set options. It also names the new file what it is called in Ai.
How can I call the created file and open it directly in Photoshop? Keep in mind I would be working on multiple files, so file names would change every time I ran this Export Script.
I could call a specifically named file and open that, but that's not what I need this script to do. I just need it to open the newly created PSD file.
View 2 Replies
View Related
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
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
Jun 21, 2011
I am be able to publish to PDF, but unsure how to set the color mode to CMYK?
View 2 Replies
View Related
Aug 6, 2013
I'm trying to print colour to my epsom inkjet but for some reason Illustrator keeps converting my colour image to greyscale.
Now I've been using Illustrator for years and this is a new problem I've not come across before. Is there something I can do to stop it doing it - maybe there's a setting that has accidentally switched on that converts all to greyscale.
If not then I suppose I'll have to revert to "turning it on and off again"!
View 3 Replies
View Related
Jun 12, 2013
In RGB documents, the 'Darken' transparency blend mode doesn't change colours, but only shows a colour if it is darker that the colour underneath it.
In CMYK documents, 'Darken' acts differently. It does the same thing as 'Multiply': it darkens the top colour based on the colour underneath. In CMYK mode, 'Darken' and 'Multiply' seem to do exactly the same thing.
How can I get an object in a CMYK document to do what 'Darken' does in an RGB document - only show if it has a darker value than the colour underneath?
(why does 'Darken' behave like 'Multiply' in CMYK mode? What's the point of having two different blend modes that do the same thing?)Here's Adobe's official description of Darken. This matches how it behaves in RGB, but not how it behaves in CMYK:
Selects the base or blend color—whichever is darker—as the resulting color. Areas lighter than the blend color are replaced. Areas darker than the blend color do not change.
View 3 Replies
View Related