Convert color mode & type

hi Forum,
I'm trying to convert process XXX to Spot XXX... (currently XXX is in Process; mode)
var myDoc = app.activeDocument;
function convert2Spot(){
     for (var i = 0; i < myDoc.swatches.length; i++){
         Swatch = swatches[i];
         if (Swatch.name == "XXX") {
              colorType.SPOT = true; // which is correct
              Color.Type = ColorType.SPOT;  // which is correct
but nothing happens, just the script runs. that all...
any help on this...

app.activeDocument.swatches.itemByName("FINISHING").properties = {space:ColorSpace.CMYK, model:ColorModel.SPOT};
by myself; from Jongware tips in Indesign scripts.link...
thanks Jongware...

Similar Messages

  • Illustrator CS2 Start up - Convert color mode dialog box

    Using Illustrator CS2, on opening, the usual loading prescreen appears, after which a dialog box appears showing the following text
    "Convert Color Mode"
    "The document contains objects using both CMYK and RGB color modes. Illustrator allow only one color mode per document. Which color mode would you like to use? (RGB and CMYK appear as option boxes)"
    This dialog box appears every time I open Illustrator, even though I'm not actually opening a document.
    I've tried adjusting the Color Settings (Edit> Color Settings) but this hasn't affected the dialog box appearing.
    I've checked all the usual sources of help but can't identify any cures.
    I want to be able to change this so the dialog box no longer appears as it tends to "hide" behind all the other applications I have open at the time and can be difficult to get to, meaning opening Illustrator is a 5 minute battle.
    Any ideas?
    Thanks

    You haven't messed with the startup .ai files have you?
    You might try deleting the ai prefs file (see FAQ), though that might be a reach in this case.

  • Batch convert color mode in APE6?

    I'm still working with an old version of APE and need to change some .PNG sprite images (like, close to a thousand) from Index Color to RBG. I can do it manually, but it would take a while and if there's a way it can be automated would someone please tell me?
    Thanks in advance!

    Load all images into Camera Raw.
    Select all of them in the film strip.
    Type 6000 into the Temperature field.
    Click Done.
    I am trying to find a way to change Nikon Raw images in a batch process to set
    the color temperature of all photos in a folder to 6000, but otherwise
    retaining the images as Raw files, that is not converting them to jpg or tiff?
    Is this possible?

  • Converting Color Modes

    I am very new to Bridge and am doing some work for a magazine. All of the images I receive are in RGB .jpgs and I end up having to open each file in Photoshop and convert it to a CMYK .tiff file and save it out. I was told that Bridge could do this conversion for me with batches of photos. I get probably around 250 photos for each issue and this is extremely time consuming. Any ideas on getting started with Brige and scripting?

    Hello Ethan,
    If you have configured the data guard broker, you can straight away change the protection mode. follow the link ( 6.5 Scenario 4: Setting the Configuration Protection Mode)
    Scenarios Using the DGMGRL Command-Line Interface
    Regards,
    Pradeep. V

  • Converting from pantone to cmyk color mode in Indesign CS3??

    I am working on a business card for a customer, I am using Adobe Indesign CS3.
    I use an outside company for the printing job called 4over (4over.com) and they require you use their cmyk pdf print engine so they can do the job properly... Basically to break it down: I am in Indesign CS3, I choose Print, and as the printer I choose their "4over pdf cmyk print engine" so the colors do not convert and the color doesnt change when they use their printers.
    4over is telling me my document is in pantone color mode, they can see the pantone color 371C, but not the cmyk values.
    How do I change from pantone color mode to cmyk color mode???
    if anyone can help me please. I would really appreciate it.
    I attached the file I sent to 4over incase that helps anyone answer my question.
    Thank you,
    Brandon

    Before exporting, in the swatch panel, select your Pantone colour, right click and select swatch options. Change the color type to Process and the color mode to CMYK.
    If it's a business card and you showed the client a pantone swatch, know that you won't get the same colour results. There's a very useful Pantone book available that shows swatches side by side with CMYK values.
    http://www.pantone.com/pages/products/product.aspx?pid=283&ca=1&s=4

  • Convert document color mode to Pantone/Spot

    I have a document in which i have 2 layers, each layer contains shapes. one layer is supposed to be Pantone 293, the other layer is Pantone 296. right now, the colors are in RGB. I saved as is, then saved as PDF and the printer whom im sending this to, said the PDF printed out in 4 plates (CMYK) and i need only 2 plates, hence, i need the document to be in a spot color mode. How can i do this? How do i convert the colors i used in the shapes now to spot colors in CS3 version?

    First I recommend changing the document to CMYK mode.
    Here is the traditional fix: Window: Swatch Libraries: Color Books: Then select a Pantone Solid library. Show the Find field and type in your numbers. Double click the color chip to add it to your Swatch panel.
    In the Swatch panel: Add Used Colors. To replace the global colors you are using currently, click on the Pantone swatch first, then the current swatch and select "Merge Swatches."
    If you have lots of different shades of colors, you will have to create tints of the two spot colors.
    Check your results using Window: Separations Preview to make certain you don't have CMYK being used. If your document is RGB, you will not be able to utilize Separations Preview (that's why I suggested the mode change)
    You can also use Edit: Edit Colors: Recolor Artwork to make global color changes. But this is a somewhat complex dialog and takes getting used to. I recommend familiarizing yourself with this tool before using it in live production.

  • Automatically convert from RGB to CMYK color mode

    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?

    While recording the action, from the popup menu in the Actions Panel choose Insert Menu Item, then from the main menu choose File > Document Color Mode > CMYK color.

  • Convert to RGB Color Mode (Windows XP/CS4)

    It appears I have to change an image from indexed color mode to RGB mode. Can someone please tell me how to do that? Thanks!

    Image > Mode > …
    But if a photograph is "Indexed Color" it is likely not very good quality and you might want to try getting the proper source material.

  • Does Print driver type (XPS V GDI) affect availability of "Color Mode Model" in Publisher 2013 to get CMYK colours

    Trying to export a Publisher 2013 file to Commercial Printer standard for our printers. They require CMYK.
    In the Publisher 2013 stand alone software - it is possible to change from RGB to CMYK in the "Choose Color Model" area in Info.
    But in the server based Publisher 2013 - in Info, the Choose Color Model is not offered :(
    Anyone know how to change RGB to CMYK in the server version of Publisher 2013? Thanks
    I wonder if the availability of CMYK is affected by what printer driver is installed - XPS compared to GDI
    Photos are of the Stand alone Office 2010. 

    Hi, ...
    Since Publisher 2013, you no longer have to choose a color model for your publication. In prior versions of Publisher, several different color modes were supported, with RGB mode for screen and desktop printers, and single, process, and spot color modes
    for more specialized, commercial printing cases. We have simplified this in the new version, and now use RGB mode for all cases, enhanced to export additional color information when saving the publication.
    You can learn more useful information from this blog:
    Regards,
    Melon Chen
    TechNet Community Support
    Just as a quick update, Melon- 
    Using Office 2010 I went into "Choose Color Mode" and changed to CMYK. Used the pack and go and packed it onto a stick. The Office Administrator then walked it round to the printers, who took a look. Printers are happy as the CMYK and quality (DPI,
    etc) is all to what they want.
    Based on the high number of posts and threads about the failings of Publisher 2013, and especially the CMYK issues - I guess someone needs to address that as a service pack ;)
    Thanks
    Mark

  • Color replacement issue with converted RGB mode picture

    I am new to Photoshop.  Opened a bmp file using PS CS5.5, and changed its color mode from Indexed to RGB, 8bits/channel.  Tried to use the color replacement tool to replace a darker shade of red (127, 0, 0) to a slightly lighter one (186, 0, 0), but it would not replace it -- not that it popped out any errors, but it just didn't do anything.
    The tool settings are:
              spacing: 1%,
              hardness: 100%,
              Mode: color,
              Sampling: background swatch,
              Limits: discontinguous,
              Tolerance: 1%,
              Antialias: off
    foreground: 186,0,0
    background:127,0,0
    so I tested by choosing pure white:
    foreground: 255, 255, 255
    background: 127,0,0
    it did make a difference, however, instead of pure white, it was some kind of dark gray: 38, 38, 38.
    so I am just wondering if this is a bug, or if I did something wrong.  Thanks!

    Use the Filter Factory plug-in, Enter the following code in the red box. Leave the green and blue boxes alone
    r==127  &&g==0  &&b==0 ? 187:r

  • Why does my Bridge read RGB or B&W for the Color Mode on a file, when in Illustrator I have set it to CMYK?

    I'm kind of stumped and this has been a question of mine for some time. I did some further digging on it, and did find that what it's reading is the Photoshop Color Mode XMP data, which is odd since the files were never in Photoshop, and were created in Illustrator. Is there a way to remove this info? How do I fix it?

    Probably can be chalked up to one of Illustrators mysterious color issues.
    Therefor it might be best to drop this question in the AI forum itself. I know to less of AI but just tried a bit with a new document, you can't convert to a new color profile like used to in PS, only select CMYK or RGB and assign a profile but that is not the same as converting.
    Also in color settings it says by default to preserve numbers in stead of the profile itself.
    And yes, mysteries are common at Adobe, although being one company one doubts often if they are even aware of the existence of Bridge and even other applications in the suites. Not even all file types of Adobe seem to be fully supported in Bridge…

  • How to control Color Mode and Resolution for brochure creation?

    Hello guys,
    I am trying to find some settings within Pages, where I could set CMYK color mode and 300 dpi resolution for my pdf file.
    I am creating brochure from scratch, using blank document, because non of brochure templates work for what I need. But I can't find any controls for color mode and resolution set up.
    Is there any solution for this?

    There has been a lot of discussion in the Pages forum about resolution and some on CMYK.
    Much of the discussion has been incorrect.
    For the colour handling there is the colour palette
    The Apple Colour Palette is the user interface for colour managing vector objects created in Apple Pages such as rules and panels and for colour managing one class of vector objects not created in Apple Pages, namely typographic objects.
    Imported objects maintain their colourant model and colour space, if there is one. If there is none, a colour space is assigned and the assigned colour space is saved out into the PDF, opposite e.g. Adobe Photoshop which will colour manage the object in the open editing session, but will then save out the object to disk without the assigned ICC profile if 'Colour Management: Off' is configured.
    Therefore, if the imported object is data space CMYK and the colour space device CMYK, the system will assign the Generic CMYK Profile which is equivalent to ANSI CGATS TR001 colourimetry (US SWOP); if the imported object is data space RGB and the colour space is device RGB, the system will assign the Generic RGB Profile which is equivalent to sRGB colourimetry in OS X 10.5 and higher.
    In general, always capture and then convert for correction in one of two data spaces with three channels, either ICC colour managed RGB or ICC CIELa*b D50. Then convert to CMYK1, CMYK2, CMYK3, CMYKn from the ICC colour space chosen for correction and archiving. This colour space should be large enough to hold any colours that the output colour spaces can hold.
    The Apple ColorSync Utility has a gamut comparison dialogue which is 3D (point, press, and turn the 3D gamut comparison). Use this facility to pick an ICC colour space of reasonable size and shape for correction and conversion into final output. Don't pick sRGB as a quick look will show that it can't hold as input what ISO reference offset can hold as output for pure cyan, let alone hold what a big inkjet can hold in greens, blues, reds and yellows.
    The ICC architecture lets the ICC profile for the printed output match out of gamut colours to in gamut colours using the Perceptual rendering intent, as intended in the original architecture from 1995. Adobe internally introduced an inhouse conversion for compatibility with PostScript and as default for PDF, Relative Colorimetric with Adobe Black Point Compension. Relative Colorimetric is in fact a proofing transform, without gamut mapping. Black Point Compensation is a simple linear scaling of the lightness to compensate for the fact that the shadows will be clipped in a Relative Colorimetric conversion.
    The other problem is transparency, introduced in the QuickDraw Graphics Extension for Mac OS 7.5. Transparency is not supported in any version of Adobe PostScript (level 1, level 2 or level 3). Transparency is also not supported in any version of Adobe PDF prior to version 1.4 and higher. Therefore, unless the RIP Raster Image Processor is able to accept PDF 1.4 and higher, transparency has to be rendered / flattened which is done in the PDF/X-3 filter of the Apple ColorSync Utility.
    The idea in the PDF/X-3 filter (for Adobe PDF 1.3) is that the everyday enduser, after placing ICC colour managed RGB or CIE La*b D50 objects, and after choosing an ICC colour space for objects created in Pages, chooses the ICC colour space for the output condition. The filter accepts both ICC profiles of type MNTR Monitor with data space RGB, ICC profiles of type PRTR Printer with data space RGB, and ICC profiles of type PRTR Printer with data sapce CMYK.
    The colourant conversion (RGB to CMYK) and the gamut mapping (out of gamut colours in input colour spaces mapped to in gamut colours in output colour space) is then calculated as per the ICC profile for the output condition. An output condition is the combination of factors that affect how colour is formed: the colour lightness and colour tint of the paper, the colours of the colourants, and the tone value increase. Think of gamut mapping in a good ICC profile as Format 1 kerning in a TrueType font (where your font has state-based kerning for up to 8 glyphs simultaneously).
    Below a link to a discussion of how to change the default PDF/X-3 filter the Apple ColorSync Utility. "Wegen diverser Fehler im Mac OS X empfiehlt es sich, wo immer möglich, die PDFs ohne Transparenzreduktion (also auf normalem Weg) über den Befehl Als PDF sichern zu erstellen und das Flattening der Druckerei zu überlassen," that is, pick the plain save as PDF path and leave the transparency flattening to the prepress technician.
    Henrik
    Reference:
    http://www.icalamus.net/tutorials/howtocreatepdfx.php

  • Transparency in CMYK color mode

    Windows XP Pro, Photoshop CS3
    It seems  that one can only retain background transparency if image file is saved in PNG or GIF file format. It also seems that one cannot save to these file formats if graphic is in CMYK color mode - one must be in RBG mode to do so. How can I retain image with transparency in CMYK color?

    I am starting with a TIF image in RBG color mode, a tree with grass in the background and foreground for example. I would like to eliminate the grass, make that background and foreground transparent with the background eraser tool so that only the tree remains and that when the tree is superimposed on a second image the background and foreground surrounding the tree will be that second image. In order to make the background and foreground of the tree transparent I have to save the file in GIF or PNG format since transparency doesn't seem work with TIF files however I cannot convert the GIF or PNG files from RBG to CMYK. CMYK doesn't seem work with those file types.
    From: J Maloney [email protected]
    Sent: Sunday, September 27, 2009 4:00 PM
    To: Todd Beckerman
    Subject: Transparency in CMYK color mode
    PSD, PDF or TIF. Retain transparency for what?

  • "convert colors" causes jpeg compression?

    I recently had to re-install Acrobat, and since doing so whenever I run my preflight profile which is set to convert spot colors to cmyk, it's also apparently increasing the jpeg compression at the same time. Everything seems to be gaining bad jpeg artifacts after the color conversion (even when the colors being converted have nothing to do with the images).
    It may be unrelated, but it also seems to be creating all sorts of ICC profile non-cmyk colors in the process. I.e., before "convert to cmyk for digital printing" I run a preflight that simply checks for non-cmyk colors. This profile warns me that there is a Pantone color in the ad. I check the separation preview and find only one or two things with Pantone colors. I then run the convert fix. The Pantone colors go away, but now there are sometimes dozens of items that are showing up as ICC profile colors, and this seems unfixable. I can't create a profile to convert them.
    What's going on? Are there settings somewhere that can select the degree of (or lack of) jpeg compression? Why is it compressing the file at all? I have no such setting selected in the preflight profile. I tried creating a profile that does absolutely nothing at all but convert to cmyk, and it's still causing these problems.
    This is using Acrobat 8. It's the same version, same disks, we used before, but these problems are new. I may have a setting wrong somewhere.

    You are not making sense, and your methodology is fundamentally flawed.
    Hitting Command+S without editing the file is NOT "saving".  It's not doing anything at all.  The program just idles.
    You can verify this by observing that the file's modification date does not change.
    Even your limited but flawed methodology will show the degradation if you change even a single pixel before hitting Command+S.  Then you will be degrading the image.  Just make a one-pixel change, for instance with the pencil tool, then save.  That is the same as doing a Save As.
    Note that in your original query you were indeed changing a file by converting it to a different color space.  THAT is a change.
    Independently from the above, your methodology of comparing two layers blended in Difference mode has the inherent limitation of the monitor's performance in displaying the shadows.  Your monitor, no matter how high-end, will NOT show you a difference between a 0,0,0 pixel (R,G,B,) and 0,0,1 or 1,0,0 or 1,0,1 for instance.  SAme goes for 1,0,2 etc., until you reach the lower threshold of your particular monitor.
    There are two preferred methods of comparing two layers to see if they're identical.
    Comparing allegedly identical images in Photoshop
    The first one, championed by the late, lamented author and guru Bruce Fraser, is as follows [direct quote by copy and paste]:
    A better way of comparing images with identical pixel dimensions is to use [Image menu >] Apply Image… > Subtract with an Offset of 128.
    Difference only shows pixels that are lighter in the source than in the target (or maybe it's the other way around—I forget) where Subtract with Offset 128 shows differences in both directions.
    Pixels that are identical in both images come in as RGB 128 gray, those that are different come in at a value that exactly reflects how different they are.
    It also makes it much easier to spot subtle differences…
    === ===
    The second one was suggested by someone in the Color Managament and Photoshop Windows forums, which follows:
    (NOTE: only the methodology is of interest and pertinent, not the questionable context in which it has brought up and used.)
    * 1) Open the two images to be compared in Photoshop
    * 2) Move one image as a layer over the other one
    * 3) select "Difference" as blending mode in the layers palette
    * 4) now the whole image should appear seemingly black on the monitor
    [So far this is the traditional, "time honored" method.]
    * 5) select the magic wand tool with these settings: Tolerance: 0/ Anti-alias: no/ Contiguous: no/ Sample All Layers: yes
    * 6) click somewhere into the formerly gray area
    [This refers to an image of a Color-Checker type of card that had wide gray border around it. The test, therefore, requires a pure gray image in the image, something highly unlikely to change, in order for the magic wand to select all pure-black images (255,255,255). Such a border can easily be created around an image by increasing the canvas size and filling the newly created space with pure gray (128,128,128). ]
        Explanation: you just selected all completely black pixels (0,0,0) i.e. all pixels that are identical in both layers.
    * 7) you should see "marching ants" forming rectangular patterns
    * 8_) invert the selection (Shift Command I)
       Explanation: the selection now covers all the other pixels, i.e. all pixels which are different between both layers.
    * 9) create a new empty layer and select it in the layers palette
    * 10) set the foreground color to white
    * 11) fill the selection with white (Alt+backspace on Windows, accordingly on Mac)
    * 12) set the blending modes of all layers back to normal
        Explanation: you now see all identical pixels in their respective color and all different pixels in white.
    This method is a lot more sensitive than the traditional one which stops at step #4 above.
    Finally:
    jfraze wrote:
    Wow, the level of hostility is amazing on these adobe forums…
    Only because people like you come in here itching for a fight, rather than to seek help.  It's just the way you choose to react—and to intereact with others.
    Wo Tai Lao Le
    我太老了

  • Pros and Cons of working in LAB color mode

    I like to use LAB as my color mode. Partially becasue I have a spectrophotmeter and can sample things; partially becasue it is the space which I am most familiar with.
    If you pick up almost any ID instruction book, it says "ID has three color modes: RGB, CMYK, and LAB. We aren't going to talk about LAB."  I assume that is at least partially due to legacy.  However, is there something I am overlooking? Is there a danger to work working in LAB I haven't thought through?
    Mostly my work is output to web or print - both desktop and offset - without spot colors.

    MarieMeyer wrote:
    I seems to me that if I specify colors in LAB and then output to sRGB or Adobe RGB the color is going to be the same - whereas if I had typed in RGB values it will not. (Realizing this is NOT some magic cure for monitors not being calibrated!)
    Obviously ID isn't an image editing/generator program, but for brochures and thing I do apply flat areas of colors. If I type in a LAB color that is out of the gamut of the CMYK profile of the working space, I get an OOG warning and can dial it back.  What I really like is the speed with which I can adjust the value of the color without changing the hue/chroma by adjusting just the L channel.  It is sort of like creating tint swatches, only in reverse!
    dylw, I take your point about the number of printers who aren't meticulous. But don't I have the same problem if I'm relying on a swatchbook that provides CMYK values but was printed on a differe paper at a different company than the one that I'm going to use?
    When I was a student I used to worry about exact color matching and presume that it could be achieved. Now that I've been out here working in the real world for a few years I understand that perfect color matching, even with good color management, is a myth. Most users don't have calibrated monitors, or even monitors capable of displaying the full gamut of what your eye can see or even what your camera or scanner might be able to capture, and process color gamuts are genereally smaller still. When you go to press you are at the mercy of the press operator, the vagaries of plate making equipment, paper inconsistencies, ink mixing, and even ink brand, not to mention the light sources in use at the press and in your office and where your product is finally viewed by your user, and how those particular inks react to differnt wavelengths.
    Even a custom profile is at best a point sample, or an average of many point samples, from a particular run or runs, and is not going to match every sheet that comes off the press. A well-trained eye can probably spot variation in color from one end of a single press run to the other, and even more likely from one run to another. Your spectrophotometer is using a particular wavelength and angle of light to sample your color. Is that the same wavelength and angle that will be used in the client's office under the fluorescents? Has your specrophotmeter aged and drifted?
    Color management is about getting good, or even excellent, matching of colors across various output conditions, but there are too many environmental variables to be able to achieve one single "perfect" set of output numbers. All you have to do is grab some output and stand in a doorway and compare what you see in daylight against what you see in room light to demonstrate. The human eye and brain, to varying degrees, recognize certain things as being "normal" colors and will accomodate to tell us, for example, that paper is white, even if it's a bit yellow or gray, until we have a whiter sample for comparison. Further, most of us are incapable of seeing the difference a 1 or 2% density shift on press would produce (and that's pretty close to the tolerance you could hope to achieve in the pressroom), let alone the fractions of percents that we often specify when converting colors.
    Lab is a theoretical color space that has no "real world" equivalent, but is extremely useful for translating colors from one real world condition to another. Even if you choose to work "in" Lab, you are at best translating your sampled colors under their specific sampling conditions (which don't match your general lighting) to your monitor space (which may or may not be accurate) and then asking to translate to yet one more output space that probably will not match the real world conditions under which the finished work will be viewed.
    What you are doing by specifying the color in Lab is trying to eliminate the source profile, but I doubt you'll get any better output.

Maybe you are looking for