Converting part of an image to Grayscale (black & white)

Q. I want to make part of an image grayscale but keep some color elements.
Answer: There is always more than one way to do something in Photoshop.
#1 Select the area you want to be grayscale. Create a new Hue/Saturation Adjustment Layer (half-moon icon in the Layers palette). Dial down the Saturation.
#2 Make a copy of your image and make it Grayscale.
After creating a layer in the color image with just the part of your image you want to still be color paste the Grayscale image under this layer.
Your image will still be a color image with elements that look grayscale.
#3 In CS3 (version 10 ) use Image > Adjustments > Black & White

It's all virtual right now. Various issues keep the points from being displayed, but it does contribute to the "level" setup which at some point will function (I'm guessing) much like the "old system" where you get certain bonuses (personal avatars, etc) depending on the "level" you are in the system.
I'm already a level 4, so points only contribute to my "reputation", I guess. But TPTB have suggested that we inform users of the Forum on the proper way to use it to build a better community.
Thanks for the "Solved"
Patrick

Similar Messages

  • AppleScript-Droplet: convert image to monochrome / grayscale / black&white

    Hello,
    i am used to applescript itself and now willing to write me a small droplet which converts dropped images (jpg & png) to grayscale images.
    right now i am wondering which might be the best application i could use for that ?
    First ideas was ImageMagick (somehow special ...macports) or Sips.
    Is there any chance that i can use a more usual application like Preview from applescript to do the convert task ?
    any ideas ?
    Best regards
    fidel

    Hi Piere,
    that looks great - i added the applescript/keystroke part for save & quit and the result is perfect for my needs.
    My mistake was to just check the offered options in automator - ignoring the keystroke possibilities.
    Thanks once again
    Best regards
    fidel
    code:
    on open droppedImages
    tell application "Preview"
    activate
    repeat with currentImage in droppedImages
    open currentImage
    tell application "System Events"
    keystroke "c" using {option down, command down}
    tell process "Preview"
    set value of value indicator 1 of slider 2 of window 1 to 0
    -- other image modifications are possible here
    end tell
    end tell
    end repeat
    tell application "System Events" to tell process "Preview" to click button 1 of window 1
    -- save
    tell application "System Events"
    keystroke "s" using command down
    end tell
    -- quit preview
    quit
    end tell
    end open

  • When I place a colored image, it goes black & white. Why?

    Pleas advise what settings to change, so the image stays in color when placed.

    The file that you're placing the color image into is most like set to grayscale.  Chage it to some other color space.

  • Feature Request: Monochrome / Grayscale / Black & White

    We have an iPad, and bought an AirPrint capable printer. Printing works fine, and set up was a breeze.
    Most of what is printed is black and white text from emails, and it would be fantastic if on the print screen a toggle was made for color vs (black and white / monochrome / grayscale) printing.
    I don't think it would be that big of a deal, as it is a feature that every printer driver should have already (as opposed to duplexing - which is also a good feature to add).
    Is this in the pipleline as a feature? Either way, reply to this post and maybe it could be a priority.
    Message was edited by: dgravenor

    Not something we can help you with.
    You can submit it here: http://www.apple.com/feedback/

  • Help need to change black & white pic to add some color?

    I have Adobe Photoshop Elements 8 and Im tryin to find where I can take a black and white pic I took today few of and want to add some color to few areas on it like flowers ect..
    Ive been tryiin to find out where it says in the book but I cant find it.
    Also, how does one place a watermark of somekind on my pics like a small one down in a corner?
    Thanks, appreciate it!

    There are several ways to do this. Here are a few.
    One way, is to create a blank layer over your image. Change this blank layer's blend mode to either color blend mode or soft light blend mode. Use the paint brush to apply color(s).
    You might also consider using a Hue/Saturation adjustment layer over your image.  If you have a color in mind, make that your foreground color in the tool box before you create a hue/saturation adjustment layer. After you create the layer, change it's blend mode to either color or soft light. Fill the mask with black to hide the effect. Grab the paintbrush tool and select white as your foreground color. Paint where you want color applied to your photo. (If you over paint switch to black and paint over mistakes.) You can apply a little bit of Gaussian blur on the mask to make the edges transition from black and white to color smoother.)
    Another possibility is to duplicate your image then use color variations to color the duplicate. Once happy with the coloration, use eraser to remove color you don't desire or better yet use a clipping mask with an adjustment layer as the base so you can mask the image and use black/white paint to define areas that will be colored.
    Clipping mask reading material:
    http://www.photokaboom.com/photography/learn/Photoshop_Elements/layers/layer_groups_clippi ng_masks/1_layer_groups_clipping_masks.htm
    http://help.adobe.com/en_US/PhotoshopElements/8.0/Win/Using/WSae2ea3b149d0c3591ae939f10386 0b3d59-7f86_WIN.html

  • Convert color images to black&white bitmaps

    Hi,
    I have black&white scans of public domain books (image format). I use an OCR software to convert them to indexable PDFs (image+text format). However, the OCRed PDFs are insanely big: a 27 MB scanned PDF leads to an indexable PDF of 728 MB! And unfortunately, my OCR software doesn't have output settings, so I have to find a way to compress the files using Adobe Acrobat 9 Pro.
    Using Advanced Options > Optimization does reduce the file size, but not significantly. The problem seems to be that my OCR software converts the black&white scans to color images, and encodes them as such inside the PDF. So I need a way to set the image modes back to black&white. I tried using the Advanced Options > Preflight dialog, and selecting "Convert to black&white". However, the resulting PDFs stay about the same size! It seems that "Convert to black&white" converts the images to grayscale, instead of to bitmap.
    Any help would be appreciated!

    I mentioned "bitmaps", because when I open the original PDF and right-click a random page and select "Modify image..." and open the image in Photoshop, the mode is set to "Bitmap mode": meaning 1-bit mode, containing either black or white pixels. However, when I do "Modify image..." for the OCRed PDF, the mode is set to "RGB Color Mode". I think this explains, in part, the huge size of the OCRed PDF.
    Maybe this table will make it more clear:
    Original PDF (Bitmap Mode, 132 dpi)
    Size: 27 MB
    OCRed PDF (RGB Color Mode, 300 dpi)
    Size: 728 MB
    Now, from the table above, it's clear that I have to reduce the image resolution. So, using the Acrobat's PDF optimizer, I tried the following settings:
    Optimized OCRed PDF: Try 1 (Downsample to 132 dpi, JPEG compression)
    Size: 733 MB
    Optimized OCRed PDF: Try 2 (Downsample to 132 dpi, ZIP compression)
    Size: 449 MB
    But 449 MB is still huge for a single book. And I don't want to reduce the resolution under 132 dpi, because I will loose quality. Clearly, if the original document is just 27 MB, I should be able to squeeze the OCRed document too. But I don't know how.

  • Converting color .jpg image to grayscale

    I have a color .jpg image that I want to convert to grayscale and then add annotation. Is this easy to do in Illustrator?

    Thomas Crowley wrote:
    I've opened the .jpg image in Illustrator. It is a line drawing.
    Those two statements constitute a logical fallacy. A JPEG image is a bitmap, and not, in any way or fashion, a "line drawing". Therefore,
    ...I cannot edit individual parts of the drawing.
    is because the "individual parts" of the image are single color pixels. To "edit" these, you need a bitmap editor.
    It's necessary to say "edit" (w/quotes) because you will be editing pixels. Any notion of 'lines', 'planes', and 'shades' only exist in your mind, and not as physical separate objects somewhere inside the bitmap. If you think you can "select" a big black square "object" in the bitmap editor, well, that's because the software only makes you think you can (it's easy to scan for the edge of a single color filled region).
    ... I just felt you might need to know this.

  • Preserving alpha while converting images to grayscale

    I am trying to convert images into grayscale.
    I use this code
    public static BufferedImage grayScale(BufferedImage im) {
            BufferedImage image = new BufferedImage(im.getWidth(), im.getHeight(), BufferedImage.TYPE_BYTE_GRAY);
            Graphics g = image.getGraphics();
            g.drawImage(im, 0, 0, null);
            g.dispose();
            return image;
        }but transparent parts become black. Is there a simple way to preserve opacity while converting to grayscale.

    Since you want to preserve the alpha channel you'll need to get and set the pixels yourself. And you'll have to use a BufferedImage type that
    supports an alpha channel. TYPE_BYTE_GRAY won't do...
    public static BufferedImage grayScale(BufferedImage im) {
         BufferedImage grayImage = new BufferedImage(im.getWidth(), im.getHeith(), BufferedImage.TYPE_INT_ARGB);
         for(int x = 0; x < im.getWidth(); x++)
              for(int y = 0; y < im.getHeight(); y++){
                   int argb = im.getRGB(x,y);
                   int a = (argb >> 24) & 0xff;
                   int r = (argb >> 16) & 0xff;
                   int g = (argb >>  8) & 0xff;
                   int b = (argb      ) & 0xff;
                   int l= (int) (.299 * r + .587 * g + .114 * b) //luminance
                   grayImage.setRGB(x,y, (a << 24) + (l << 16) + (l << 8) + l);
         return grayImage;
    }

  • Finding center in black part of greyscale image

    Hi all,
    Basically what I want to do is find the center of a black part of a gray scale image. I'm having a bit of a problem using built-in LV functions, because the part of the image is somewhat spherical but not completely.
    What I'm doing is imaging drops (I attached an example one to the post), and the drops show up as mostly black (except for the center) due to a bright blacklight. I am currently calculating the size of the drop by converting the image to an array of 1/0s where the 1s represent the region of the drop (and sometimes the edge of the image, depending on the exposure), I then scan each column of the array to calculate the diameter of the drop at that column by subtracting the first and last 1 that I find, then summing over the entirety of the drop and converting that into voxels then microliters. Phew.
    So now, what I'm trying to do, is find the center of the drop in x and y. I was thinking I'd be able to use some sort of average of the first/last numbers of each column (and then of each row) but everything I tried didn't seem to make sense and I can't figure out if my method is bad, or my implementation in LV was bad. Any ideas on what I could do here? I attached the code I'm using currently to take the pictures and calculate the drop size, although it may be easier to just start from scratch using the attached image.
    I appreciate any advice! Hopefully I explained that well enough, but I know it's a bit confusing.
    Laura
    Attachments:
    Manta camera - FINAL - JMcH with our camera with file save.vi ‏63 KB
    water drop, disp 3, exp 300.png ‏420 KB

    Hi (again) Burrito,
    I started out trying to use the Vision functions, but since my image isn't necessarily a circle nor does it have any straight edges I was having a hard time trying to figure out the best way to use the functions. Someone else I discussed the code with though also recommended making more use of the vision functions if possible - I'll look more into the particle analysis VI. Thanks for the advice!
    Laura

  • Convert colour images to grayscale images & get pixel data from them

    Is the code below correct to convert colour images to grayscale images in Java?
    public void convertToGrayscale (String sourceName,String destName) throws Exception {
    JPEGImageDecoder decoder=JPEGCodec.createJPEGDecoder(new FileInputStream(sourceName));
    JPEGImageEncoder encoder=JPEGCodec.createJPEGEncoder(new FileOutputStream(destName));
    BufferedImage sourceImg=decoder.decodeAsBufferedImage();
    BufferedImageOp op =new ColorConvertOp(
              ColorSpace.getInstance(ColorSpace.CS_GRAY),null);
         BufferedImage destImg = op.filter(sourceImg,null);
    encoder.encode(destImg);
    decoder = null;
    encoder = null;
    When I get grayscale images from the code below, I would like to access the pixels of those images. So I tried to do:
    byte[] dd=((DataBufferByte)mImage.getRaster().getDataBuffer()).getData();
    BUT the data result array is not 0-255. Could anyone suggest how to obtain pixel data from grayscale images?
    In case that my code shown is not correct or suitable, please give your advice. What I would like to do are in the steps as follows:
    1 change 100*70 jpeg-images to 100*70 grayscale images.
    2 create two dimensional array of pixel data (example [100][70]) from converted images. The number in the array should be between 0-255, right??? And 0 refers to black colour and 255 refers to white colour???
    I am confused about grayscale images. Please help.
    Thank you so much

    I am not sure i understand what is the problem exactly.
    Structure of DataBuffer is described by SampleModel used by same Raster
    object. E.g. it might be 1 byte per xipex or 4 bytes per pixel.
    In your example convertToGrayscale saves images to file as JPEG and
    it seems you later read it back. It is possible what image you read back
    is not greyscale but ARGB and data buffer has different format.
    Technically, if you just need level of grey you may simply
    call getRGB on your output image. Grey is uniform mix of R, G and B.
    Also, instead of ColorConverOp you may dimply create output image of
    grayscale type and draw your color input image with drawImage().
    If none of these helps please try to provide more details.

  • I cannot get photos placed in InDesign CS5 to show up only as grayscale/black. When a separation is done, part of the photos show up on both parts of the color separation. I've been hunting for a solution for hours.

    I cannot get photos placed in InDesign CS5 to show up only as grayscale/black. When a separation is done, part of the photos show up on both parts of the color separation. I've been hunting for a solution for hours. !

    ALSO, on the iPod under Settings>General>iTunes Sync, you may need to back out of the "iTunes Wi-fi Sync," and reopen it to get it to update.
    (I use iTunes 11.1.5.5)

  • After Preflighting a PDF, using Convert to CMYK, Flatten Transparency and Prepress Profile Convert to CMYK only the resultant PDF has a grubby halo along the edge of some white type sitting on an image. The type is part of the image.

    I am using a 27" iMac 3.2 GHz Intel Core 5, 8 GB Memory, running Yosemite 10.10.1. 
    The version of Acrobat that I am using is: Acrobat XI Version 11.0.10
    After Preflighting a PDF, using Convert to CMYK, Flatten Transparency (high resolution) and Prepress Profile "Convert to CMYK only" the resultant PDF has a grubby halo along the edge of some white type sitting on an image. The type is part of the image which is 300 dpi.
    It is like the image isn't really 300 dpi but has been artificially boosted to that to avoid being tagged by Preflighting, but when Preflighting the file it knows the original resolution.
    I have screen grabs which illustrate the problem perfectly but do not know how to post them, if indeed they can be.
    Any help or comments gratefully received.

    Without the files and possibly screen prints, it is virtually impossible to assist you.
              - Dov

  • Convert cmyk image to grayscale within Illustrator

    Now that we can finally change the color of grayscale images, it would be nice to change a cmyk image to grayscale.
    EDIT: I just remembered you can with Adjust Color Balance, oops!

    1) select all
    2) edit -> convert to grayscale

  • How can I convert RGB Color to Black-White Color?

    Dear everyone!
    I am using Photoshop CS5. I have got a file from my customer which is done as RGB and the resolution is 300dpi. There are black texts and color images in the file. I wish to print Black-White Process Film (1 black color), but I don't know how to solve it. I started converting my file to Grayscale and then the black texts are not black enough because it becomes lighter. When I go to Level and adjust the color, both the image and texts becomes darker. What must I do to make only texts blacker without effecting the image?
    Please find the attached file for the reference.
    For more information, please let me know.
    My Best Regards,
    LUCK

    luck_lesson wrote:
    ...I have got a file from my customer which is done as RGB and the resolution is 300dpi. ..
    What file format was supplied to you? Was it truly RGB @ 300ppi or did you rasterize a PDF?
    300ppi is lousy for text. You might converse with your customer to instruct them on the ideal way to supply a file to you.

  • Using a script to get the color of a colorized Black & White Bitmap image

    I've been running into this wall for quite some time and would greatly appreciate any help that can given for it.
    I have an Illustrator script that runs inside of a BridgeTalk session within an InDesign script.  Yeah, it's complicated.  The upshot is that the Illustrator part opens up an EPS file, looks through all objects on a certain layer in that file, and returns an array of the colors used in it.  So, it looks at fill colors, stroke colors, gradient stops, etc.  One of the biggest stumbling blocks (next to PlugIn Items, which I'll ask about in a separate post) is getting the color of raster images.
    Most raster images, I realize, are going to be CMYK or RGB images, but our company mostly deals with either Grayscale images or Black & White Bitmaps that are embedded in the EPS file.  Those two allow the ability to colorize them by simply selecting them and then choosing a color, such as a spot PANTONE color from one of their color books.
    Now, I need the script to read the color that the raster image has been colorized with.  This works okay for images that have a GrayScale color space, as the script just looks at Colorant[0] of that image.  However, I run into a problem with Black & White Bitmap images.  Here's a piece of code that I try to make work with an EPS file that has a raster image:
    var document = app.activeDocument;
    for (var i = 0; i < document.layers[0].pageItems.length; i++) {
              // Stepping through each item on the layer.
              var currentItem = document.layers[0].pageItems[i];
              $.writeln("Current item is " + currentItem.typename);
              $.writeln("Number of channels is " + currentItem.channels);
              $.writeln("Color Space is " + currentItem.imageColorSpace);
              $.writeln("Colorized Grayscale? " + currentItem.colorizedGrayscale);
              $.writeln("Number of Colorants: " + currentItem.colorants.length);
              for (var j = 0; j < currentItem.colorants.length; j++)
                        $.writeln("Colorant number " + j + " is " + currentItem.colorants[j]);
              $.writeln("Its parent is " + currentItem.parent);
              $.writeln("Parent's typename is " + currentItem.parent.typename);
    This code runs successfully on an Illustrator file that has a Black & White Bitmap image on the top layer, but if you try and run it, you'll see the problem:  Even if you've colorized your Bitmap image with a PANTONE spot color (and the script even returns "true" on the line "Colorized Grayscale?"), Colorant number 0 is "Gray".  It should be the spot color assigned, not "Gray".
    Can anyone please help me figure out how to get the script to recognize the actual colorant of a Black & White Bitmap image in Illustrator?

    If you're a professional photographer with 50,000 pictures stored now and more coming all the time, you need to forget about using iPhoto and get yourself some professional-quality digital asset management software. iPhoto is not meant for people like you, and instead of providing a simple, elegant one-stop answer to all your needs, iPhoto is actually complicating your life.
    You need an application that will:
    - catalog ALL your images and keep track of where they are, no matter how many DVDs, folders, partitions or hard drives they're spread over;
    - display thumbnails of ALL of them, even when the DVD that contains them is not present in any drive, so you can select all the ones you want for a project;
    - find and copy (or export) the originals of all the files you've selected in the browser window, even if it means prompting you to insert the necessary DVDs for all of them.
    I suggest Googling "digital asset management software Macintosh" and seeing what turns up. I used to use an old version of Extensis Portfolio, and even that would have been better for your purposes than iPhoto is.

Maybe you are looking for