Cs4 converting to grayscale

Hello all, I have a document in CMYK color and im having trouble converting it's swatches to grayscale. I did a search and it only yielded Grayscale converstion at the PDF level. However the Grayscale color space seems to have been removed from the options available in the PDF maker dialogue box. Anyone have some suggestions? Thanks!

Sure. I have been thinking for a while it could be useful -- after all, it is an option in Illustrator. (But then we've known for years now that the programmers of InDesign Do Not Talk to the ones of Illustrator. I bet there is a Movie of the Week in that story...)
This extremely quick-and-dirty script converts a swatch of choice to Lab color, then uses the L component for the Black part in a CMYK color. It should also be possible to convert it to a tint of black, but that's just a bit more work.
(Copy, paste into Adobe's ESTK Editor, save as "SwatchToGray.jsx" into your User Scripts folder. Only works with simple RGB, Lab, or CMYK swatches; not with gradients, tints, Pantones, imported colors, mixed ink groups, or anything else that's not a simple swatch.)
//DESCRIPTION:Convert a color swatch to grayscale
// Jongware, 13-Jul-2010
var myDialog = app.dialogs.add({name:"Swatch To Gray", canCancel:true});
swatchlist = [];
namelist = [];
for (i=4; i<app.activeDocument.swatches.length; i++)
if (!(app.activeDocument.swatches[i].hasOwnProperty("baseColor") || app.activeDocument.swatches[i].hasOwnProperty("gradientStops")))
  swatchlist.push(app.activeDocument.swatches[i]);
  namelist.push(app.activeDocument.swatches[i].name);
with (myDialog)
with (dialogColumns.add())
  with (dialogRows.add())
   staticTexts.add ({staticLabel:"Swatch"});
   swatchDropDown = dropdowns.add ({stringList:namelist, selectedIndex:0});
if (myDialog.show())
// Fetch selection
swatch = swatchlist[swatchDropDown.selectedIndex];
// Convert to RGB:
swatch.space = ColorSpace.LAB;
// Make quick-and-dirty gray
gray = swatch.colorValue[0];
// Convert to CMYK
swatch.space = ColorSpace.CMYK;
// Set color
swatch.colorValue = [0,0,0, 100-gray];

Similar Messages

  • CS4: Convert to Grayscale grayed out

    Trying to convert an Illust. CS4 document to grayscale using the manuals steps: Choose Edit > Edit Colors > Convert To Grayscale. However, all those options under Edit > Edit Colors > are grayed out (ironically ;^). I assume I have to convert something first, but what? Thanks!

    >Convert to Grayscale grayed out
    Oh, man... That's right up there with the timeless NY Post headline, "Headless Body in Topless Bar."
    I'm sorry, I can't comment further. I'm at AI 12 (CS2), which does not have that feature.

  • Word docs with bitmap drawings converted to grayscale

    I'm still using Acrobat/Distiller 5 on Windows 2000 Pro to prepare press ready PDFs of word 2000 docs with black & white line drawings (600 dpi bitmaps). I've always used the default "Press" job option file and simply printed to the distiller printer that is installed with Acrobat. Been doing this without any problems for years. I had some computer problems recently and had to change to a different machine. Now when I print, the resulting PDFs have those 600 dpi bitmaps converted to grayscale images. I've tried every setting I can think of to make it go away. Like I said, I've never had to change anything from the default job options file. I've tried printing the postscript to a file, then distilling, always the same. BTW, fonts look good. I know there is a solution because this same thing popped up 2 or 3 years ago and it got solved then, but I can't figure it out this time. Nothing has changed wth the docs, but a new install of Acrobat on different hardware, same OS. Help please -deadline looming.
    Thanks, Dave

    To all those having trouble converting documents to pdfs, I did some research and found a work around.
    Go to File and choose Save & Send. Then choose Create PDF/XPS document. Click the Create button. PDF is generated.

  • Converting to grayscale?

    Hi,
    I'm doing an experiment and as preprocessing would like to convert my set of PNG images into grayscale using the following ratios
    New pixel value = .31R + .59G + .10B
    While I'm experienced in Java and server side apps, I've never done much client work. The vast area of java.awt.image classes are at the moment a bit inaccessible.
    Can someone recommend the current (1.4) way of doing this? I'd really like to use my grayscale ratio rather than the default grayscale ColorSpace (though it'd be nice to know what ratios it uses, too).
    Any tutorials/books/links would be appreciated, too! Thanks!
    - Everett

    ...just to note, the paper that I'm implementing for a class project says the following on its conversion:
    "In the preprocessing stage each COIL image I = (R, G, B)
    was first transformed into a gray-level image E through the
    conversion formula
    E = .31R + .59G + .10B,
    rescaling the obtained gray-level in the range between
    zero and 255."
    "Support Vector Machines for 3D Object Recognition"
    Pontil & Verri, 1998
    I'd be happy to also know how in 1.4 to convert to grayscale in general! :)
    Thanks,
    Everett

  • How to convert illustrator file containing a photograph to grayscale when the "convert to grayscale" option is grayed out?

    It's been several years since I've done any design work at all. I recently got a job as a designer, and on my first day I had to create an ad in illustrator 5.5 (required to be in illustrator) for print in a black and white publication. There was even an ad template to use. I placed the photo and tried to use the "convert to grayscale" option but everything under the edit colors menu was grayed out. I know it's because of the photo. In the end I changed the photo to grayscale in photoshop and replaced the image, but I know there is another way around this. Can someone please help me figure out how to fix this issue?
    Thank you so much in advance!

    If the placed image is linked, Edit Colors will not allow conversion to grayscale; however, an embedded image will work just fine. The flyout menu in the Links Panel allows you to embed the image.
    Peter

  • Convert to Grayscale fixups changes weight of rule from 2 pt. to 1 pt.

    Convert to Grayscale fixups changes weight of rule from 2 pt. to 1 pt.
    If I Print to Grayscale it works fine.
    Any ideas?

    Can you be more specific - can you reproduce the result with different variables? (Create a new document)
    What version of Acrobat, including update level  (ie; AA Pro 9.5.1)
    What Operating system?
    Are these line strokes or frames to a polygon?
    What authoring software?
    Can you host the file such that someone else could attempt the same fixup?

  • Error Message When Converting to Grayscale in Adobe 9

    When I convert a PDF to grayscale via Advanced/Print Production/Preflight all of my pages have the following text printed on the top: All problems according to Preflight profile Convert to grayscale.
    Does anyone know how I can get rid of that?  The conversion works great but I don't want that text included.
    Thanks in advance!

    Thank you for your response. These forums are specific to the
    Acrobat.com website and its set of hosted services, and do not
    cover the Acrobat family of desktop products. Please visit the
    following forums for any questions related to the Acrobat family of
    desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Edit Edit Colors Convert to Grayscale Not working

    In Ai CS6 when I select all and try to convert to GS nothing seems to happen. I still have a RGB/preview and if I go back to the edit colors menu, convert to cmyk is still grayed out, suggesting that the art is still 4c. Thanks for your help!
    Jon

    jaal,
    Illy refuses to convert RGB to CMYK and CMYK to RGB, therefore the opposite is greyed out.
    So you are in RGB mode.
    Is there any RGB vector artwork that is non grayscale?
    If there is, it may be time for the list.
    The following is a general list of things you may try when the issue is not in a specific file, and when it is not caused by issues with opening a file from external media. You may have tried/done some of them already; 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save current artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible), for CS3 - CC you may find the folder here:
    https://helpx.adobe.com/illustrator/kb/preference-file-location-illustrator.html
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall (ticking the box to delete the preferences), run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How to convert from Grayscale to single color channel

    I hope that someone here might be able to help. I am writing an application which loads in color channels separately, to be merged by the application The images are multi-page TIFF files. The trouble that I am running into is that the application loads the images into grayscale, so when I merge the channels, they are merged as grayscale, not as the correct colors.
    I use the following on each color channel to load them in:
    public static BufferedImage[] loadTiff(File multiPageFile, int colour) {
        BufferedImage[] img = null;
        ArrayList<BufferedImage> tmp = new ArrayList<BufferedImage>();
        try {
            SeekableStream stream = new FileSeekableStream(multiPageFile);
            String[] names = ImageCodec.getDecoderNames(stream);
            ImageDecoder dec = ImageCodec.createImageDecoder(names[0], stream, null);
            int numPages = dec.getNumPages();
            for (int i=0; i<numPages; i++) {
             try {
                    RenderedImage im = dec.decodeAsRenderedImage(i);
                    BufferedImage bi = PlanarImage.wrapRenderedImage(im).getAsBufferedImage();
              //In case not all pages are valid images, we use ArrayList as it is dynamic
              tmp.add(bi);
                }catch (RuntimeException re) {
              //Once the exception is caught, we can decode the layer here for whatever means.   
        }catch (FileNotFoundException fnfe) {
            System.err.println("File not found.");
            fnfe.printStackTrace();
        }catch (Exception e) {
            System.err.println("General Exception caught");
            e.printStackTrace();
        //Convert to an array to be returned.
        img = new BufferedImage[tmp.size()];
        for (int i=0; i<img.length; i++) {
            img[i] = tmp.get(i);
        return img;
    }So a BufferedImage array is returned (one element in the array for each page in the multi-page file). Before I return the BufferedImage array, though, it would be good to convert it to the correct color. I know which channel is currently being loaded. Does anyone have any tips on how to shift from a grayscale intensity to a single color intensity? I have tried a number of things regarding byte shifting, but I am really none the wiser.
    I have tried, for example, reading the int color value:
    int color = bi.getRGB(w,h);The trouble is that this number is not in the region 0..255, so I don't know how I can use it. If I shift the number:
    color = color>>16I get a number smaller than 255 (although it seems to be negative), but I don't know whether I can use this value for a single color channel, i.e. if the current color is red, saying:
    Color redC = new Color(color, 0, 0);
    bi.setRGB(w,h,redC); //Slow and inefficient. There must be a better way.When I try doing that, I end up with nothing drawn or visible.
    Does anyone have any ideas? Thanks in advance.
    Edited by: doughnuts64 on Jun 12, 2008 6:27 AM

    Thanks for the response. It has been helpful in getting my problem sorted. I was not creating a new BufferedImage - I was just using the one that had been loaded in, and as such had not realised that the type was not TYPE_INT_RGB. As soon as I instantiated a new BufferedImage of the same dimensions and colour TYPE_INT_RGB as you suggested, it worked! So thanks for that.
    Whilst that does work, it does slow the application incredibly as it has so much data to cycle through. Ideally, I would be able to load the image in directly as the colour channel in question, rather than loading in as grayscale. This way, the application would only require the amount of time needed to load in the images, not to process them on a pixel-by-pixel basis (typical images are made up of over 16,000,000 pixels for each colour channel, and we typically load two files in at once - both for separate colour channels, so over 32,000,000 pixels to process).
    As I am loading in multi-page tiff files, I am having to use the JAI (Java Advanced Imaging) toolkit. I use the following code to load in my multi-page tiff into a BufferedImage array, where each element of the array represents one of the 'pages' in the multi-page tiff file:
    SeekableStream stream = new FileSeekableStream(multiPageFile);
    String[] names = ImageCodec.getDecoderNames(stream);
    ImageDecoder dec = ImageCodec.createImageDecoder(names[0], stream, null);
    int numPages = dec.getNumPages();
    BufferedImage[] finalImage = new BufferedImage[numPages];
    for (int i=0; i<numPages; i++) {
         RenderedImage im = dec.decodeAsRenderedImage(i);
         finalImage[i] = PlanarImage.wrapRenderedImage(im).getAsBufferedImage();
         //...colour changing code currently here - loops through finalImage array, and on every pixel of every layer
    ...To be able to automatically convert the colour channel without having to loop on every pixel (and thus save an incredible amount of loading time) would be helpful.
    Thanks.

  • Adobe Media Encoder CS4, converting mp4 to flv - seriously drifting sync

    (Not sure this is the right forum for this - I didn't see a forum for AME but it's being used in conjunction with Flash)
    I've  been trying to convert a 2:54 mp4 to flv, and when I'm done, when  playing the resulting flv it tells me it's now 3:37. Of course the audio  runs out at 2:54 so I have half a minute of silence.
    The mp4 was ripped from DVD using HandBrake.
    I  tried converting using a couple of different presets and keep getting  the same result. I can't seem to locate any sort of "keep video locked  to audio" option in AME CS4.
    Maybe it's a frame rate  issue? I'm not sure how to determine the frame rate of the original, but  the DVD is a burn from the video house that produced the video - US  format. So probably 29.97?
    Help!
    - Bob

    Well that did work. Unfortunately Viddler turned the previously 16 x 9 video into 4 x 3. Not sure why - found a thread there where they suggest this could happen if exported from a Mac. My source was ripped from a DVD (though it may have originated on a Mac).
    So now we're just linking to it on YouTube. Crappy solution but best I'm going to get under the circumstances.
    Thanks for the suggestion.

  • Adobe Media Encoder CS4 converting mp4 to FLV

    Hi,
    First up why is there no forum for Adobe Media Encoder CS4?
    My issue is whith converting MP4 to flv.
    The video is added to the que.
    Problem is no video picture is shown, during the convert process.
    When I go into setting and move the play head along the timeline no video is shown.
    The video was generated using Apple's HD iMovie.
    All setting are on default.
    Can someone please help.
    Why is source video has no picture. If I do encode to flv I just get the audion
    Does Adobe have some problem with MP4 created by Apple HD Movie?
    Regards,
    Simon

    well im guessing or atleast hoping you 3 who posted on here got it sorted out by now but thought id post on here to help anybody who has the same problem in the future.i had the same problem and after searching a few different forums i found that mp4's are a bit troublesome when converting them.apparently a good way to get around it is opening the mp4 in quicktimepro  and then exporting it as an flv.i dont know if its that simple but i dont have quicktimepro anyway so i couldnt do it.
    but here is what i did- i uploaded my video to youtube.
    then using     keepvid.com   i downloaded it from youtube as an flv file.(you have the choice of a few different file types)
    now it works in my flash perfectly.
    hope it helps somebody and if anybody knows an easier way (there must be one) please let me know
    cheers
    terry

  • Adobe Media Encoder CS4 converted FLV files have sound but no picture

    Hi,
    It would be great if anyone can help - I am using the latest trial version of Flash CS4. I have used the Media Encoder to convert mpg4 files to FLV however the resultant files play with sound but no picture - just a black screen. Is there a solution to this issue?

    mostly this problem is caused by lacking of
    some nessery codec. Which means when reencoding your video to flv, it can not generate the video.
    Does Riva FLV encoder needs any extra codec? I am using Moyea Flash Video MX 6. It do not need any extra code. It needs in the former versions but in version 6 it can convert nearly any video format now.

  • Adobe Media Encoder CS4 converts MOV to F4V without sound

    My environment:
    Mac OS X 10.6.2
    MacPro dual 2.66 dual-core Xeon with 2 GB RAM
    Adobe Creative Suite Design Premium CS4
    I have a QuickTime movie that has both audio and video components. It plays just fine in the Finder and QuickTime Player. I’m trying to convert it to Flash video for posting as a streaming file to our Web server. I’m new to Flash, and this is a bit of an experiment, so it’s quite possible I am going about it all the wrong way, but whenever I use the Adobe Media Encoder to convert the MOV file (51.8 MB, 1152×648 frame, PCM stereo audio, H.264 MPEG-3 codec) to F4V for insertion into Flash and eventual generation of a SWF file, all I get out of the encoder is a video. The video claims to have AAC-encoded stereo sound, but nothing plays.
    Does anyone have any suggestions for what I could be doing wrong or what’s not happening properly? I’ve applied all available patches to all CS4 applications. The movie was originally exported from Keynote, if that makes any difference.
    Thanks for any help!
    David O’Donnell

    My environment:
    Mac OS X 10.6.2
    MacPro dual 2.66 dual-core Xeon with 2 GB RAM
    Adobe Creative Suite Design Premium CS4
    I have a QuickTime movie that has both audio and video components. It plays just fine in the Finder and QuickTime Player. I’m trying to convert it to Flash video for posting as a streaming file to our Web server. I’m new to Flash, and this is a bit of an experiment, so it’s quite possible I am going about it all the wrong way, but whenever I use the Adobe Media Encoder to convert the MOV file (51.8 MB, 1152×648 frame, PCM stereo audio, H.264 MPEG-3 codec) to F4V for insertion into Flash and eventual generation of a SWF file, all I get out of the encoder is a video. The video claims to have AAC-encoded stereo sound, but nothing plays.
    Does anyone have any suggestions for what I could be doing wrong or what’s not happening properly? I’ve applied all available patches to all CS4 applications. The movie was originally exported from Keynote, if that makes any difference.
    Thanks for any help!
    David O’Donnell

  • Convert to grayscale.

    I have a color illustration in Pages, iWork '09. How do I convert the image to grayscale or Black & White?
    Thanks in advance,
    Lenny.

    Black & White
    You do not want to match to black and white. In terms of technical prepress, you are matching to 1 bit so you are flattening tonal detail. The result is not recognisable.
    I convert the image to grayscale
    Here you are matching from lightness, chroma and hue to lightness and you have tonal detail left. To do this match to the image on disk, open the image in the ColorSync Utility, select Apply Profile in the first drop down dialogue, select Abstract (for the ABST Abstract class of ICC profile) and select the canned Gray Tone ABST Abstract profile that is also available in the printing dialogue. Depending on what you have installed on your system, you may have PRTR Printer device profiles that match to grayscale. These will appear if you open the drop down list termed Output.
    If you don't want to permanently change the pixels in your picture on disk, you can place the picture in Pages and change the pixels in the placed version (Pages does not link to the picture on disk but embeds the picture and applies edits to the embedded version). Finally, if you neither want to permanently change the pixels in your picture on disk or permanently change the pixels in placed copy of your picture (the copy that Pages embeds), then you can change the pixels only in the print stream by applying the ABST Abstract profile in the print dialogue.
    (You will find that no two software suppliers supply the same names for the same classes of ICC profile or the same names for the positions of ICC profiles in colour matching sessions. But you'll learn to live with that -:)).
    /hh

  • Acrobat 9 convert to grayscale

    How do I convert a PDF to grayscale in Acrobat 9 Standard for Windows?
    I see all kinds of tips for Mac, Pro or Extended. But I don't see any such options on on my menus or configs.
    thanks!

    HTML by its very nature has a varying format to meet the needs of the browser and screen. It should never be expected to see the same format when converting to HTML. Actually I am surprised you could even convert it to HTML since most IRS forms are secure and do not allow such operations. If you want to post it to your site for some reason, just post the PDF file itself.

Maybe you are looking for

  • Going in Circles

    right i'd like to have an opinion here. one engineer who visited us for the broadband problem already mentioned that it was rather stupid to put a phone socket here: the socket on the far right is new (approx 6 months is for SKY HD which we are using

  • Clicking noise from back left of MBP -- speaker maybe?

    Hi all, I have a clicking noise coming from the back left of my MBP and I'm wondering if anyone else has this problem, has any suggestions, or knows if it is potentially bad. I saw the long thread about a 'pop' noise here: http://discussions.apple.co

  • Distribution percentage in the case of multiple acct assgt

    Hello Gurus, While creating a PO for services, for the service line items I have a challenge to make Distribution percentage in the case of multiple acct assgt to two decimal places. Currently it is one decimal place, How do I achieve this. To be mor

  • Different messages on COMMIT_FORM ,when form is opened from another form

    hi, problem is when open form from another form. After change some data and execute COMMIT_FORM, message is : No changes to apply. Interesting is that when exit and open form again, changes is SAVED !?. If open that form directly, message is that lik

  • Ligthning adaptator for SD card

    I bought the ligthning adaptator for SD card, I'm obliged to reboot the ipad in order it works ! Do you have the same problem ?