How to reduce number of colors in an image

I am fairly new to Photoshop and I'm learning as I go, so I apologize for using your time.  I haven't worked with images that much - I've used MS Digital Image Suite with photos from my camera.  That's the extent of my knowledge.
I am taking over a job from someone who is gone and I can't ask him how to do this.  He used Photoshop to reduce the number of colors in an image (for example, a color drawing or clipart) to 2-6 colors.  I haven't been able to figure this out.  I've visited this site that explains how to reduce tones but it's still a lot of colors.  I thought I might learn something from this link that explained how to make Photoshop cartoons, but I didn't.  I've done a lot of searching but nothing seems to explain this.  I know that the other guy had some knowledge of Photoshop but he wasn't a power user.
Thanks to anyone who will help me.  (I am using CS5.)

Are you sure that he was using Photoshop? (see my third solution)
There are some plug-ins for Photoshop, but they basically do the same as the posterize or index mode: http://www.topazlabs.com/simplify/ (commercial) see this panel for colorizing comic art: http://vimeo.com/user3771002/videos
I would rather use posterize, as an adjustment layer, as you can control it.
Try with this layer stack, from bottom to top:
Convert the original image in a Smart Object, in order to use Smart filters and blur the image (Gaussian Blur, or noise>median or blur>smart blur or blur>surface blur could be interesting internatives) would be useful, to make smoother posterized areas.
A dodge/burn layers (a neutral gray layer in overlay mode) to adjust areas using the Dodge/burn tools.
the Posterize Adjustment layer, with very few colors
On top of it, put a gradient map adjustment layer, to control the posterized colors
Vectorizing in Illustrator can also be used to reduce the number of colors. Live Trace: http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-6229a .html
More on the topic: http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-622aa .html

Similar Messages

  • Reduce number of colors in an Image

    Hi,
    I have a bufferedimage that is a screenshot of my pc, what can i do to reduce the number of colors in the image to 512 or somthing? The final image will be in JPEG form.
    Thanks

    I tried this code, but there must be a bug or something cos most things turn black and red....even when i specify 512 colors...I saw http://forum.java.sun.com/thread.jsp?forum=31&thread=446716 that someone else had this problem, but i did not find a fix. Its weird cos I used another java quantizer that did the same thing..
    Here is my code:
    byte[] = toByteArray(getScreenshot());
    /*****Takes a screenshot*****/
    private BufferedImage getScreenshot() {
         try {
              Robot robo = new Robot();
              Rectangle rect = (GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().getBounds());
              BufferedImage img = robo.createScreenCapture(rect);
              return img;
         } catch (AWTException exc) {
              exc.printStackTrace();
         return null;
    /*****Saves a BufferedImage as a JPEG*****/
    private byte[] toByteArray(BufferedImage img) {
         try {     
              //WANT TO QUANTIZE img HERE
              //Encode
              ByteArrayOutputStream out = new ByteArrayOutputStream();
              JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
              JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(img);
              param.setQuality(.45f, false);
              encoder.encode(img, param);
              out.flush();
              out.close();
              return out.toByteArray();
         } catch (Exception e) {}
         return null;
    }

  • How can we change the  color of the image for product display for different

    Hi All,
    How can we change the  color of the image for product display for different colors, to be displayed on site.
    jeff

    Hi priya,
    The requirement that you have stated is not a standard feature in ISA CRM. In order to do the same, you will need to modify the standard ISA code in Java. A common path for the solution would be as follows:
    1. Colours
        a. Maintain a text type for Color under the object - PCAT_ITM in Customizing.
        b. Modify the standard search of ISA to search within your new text type as well. (In standard it only searches in Description.
       c. Maintain all shirts colour data in the new type created in step a.
       d. Your requirement will be done!
    2. Price
      a. Use list prices for your shop and assign the appropriate condition type, acces in your catalog.
      b. Modify the standard search of ISA to search on the list prices as well.
      c. This too will be done!
    3. Accessories - This is very tricky, and will require some exploration. However, here's my opinion,
    a. Search for the standard function module, which will return the accessories when provided the product as an input.
    b. Modify this function module according to your requirement and ensure that it can be accessed remotely.
    c. Modify the JSP as in steps 1b and 2b above to call this new remote-enabled function module.
    d. Now you're done!!
    The ISA modification part is not so simple, you need a really good guy like "Sateesh Chandra" who'll be able to handle your requirements. This is all I could manage, hope it is some help to you!
    Thanks & Regards,
    Nelson.

  • How do I create a duplicate image inside the same page? Then how do I change the color of that image

    how do I create a duplicate image inside the same page? Then how do I change the color of that image from black to red?

    Hello there!
    Here is one way to create a duplicate image and colorize it. As you can see below, I have one image right now, that I want to duplicate.
    My layers panel looks like below.
    To duplicate your image, click the downward arrow on the right side of your Layer Panel.
    Select Duplicate Layer. This will duplicate the layer that the image is on.
    Select "OK" to approve the duplication.
    As you can now see in the Layers panel, the image is duplicated. The new layer is now at the top of the Layer panel.
    Now to colorize your image, go to Window > Adjustments.
    The Adjustments panel will now be opened. Select the Hue and Saturation icon as seen circled in red.
    The Hue and Saturation propertied panel will be opened. I selected "Colorize", and adjusted the hue and saturation bar to achieve the level red in my photo.
    As you can see below, the image is now red.
    Now i want to make sure only ONE of my image layers is red. I moved the Hue and Saturation layer to only be on top of the bottom layer. The image on the top layer now will not be affected by the red.
    Select the move tool, so I can now move the image layers so we can see both of them.
    With each image layer selected, you can take the move tool and move the images. I moved mine on top of eachother and you can see my red layer (bottom) and the non red layer (top).
    I hope that helps. i have also included helpful links.
    Please post back with any questions,
    Janelle

  • Does anyone know of a way to reduce the number of colors of an image

    I have read all the documentation on this and there is no clear and easy way to reduce the number of colors of a bufferedimage. It would be also handy to know how to ensure that the image stays under specific size.
    thanks for any help
    Lee

    Yeah Abuse you are sooo right, i have written code to do this and it was/wasnt fun depending on your sense of humour...
    Heres how it works..
    *1 pick a pallet, the more colours, the bigger the result file, but better quality
    -so decide what you want
    *2 for each pixel find the nearest colour in your pallet that matches it.
    -its important to count each pixel rather than each colour in the original as a large block of 1 colour should have more weight
    *3 then for each colour in you pallet average out the colour of all pixels that would become that colour
    -the average becomes the new best colour for that pallet entry
    -since the pallet has now changed repeat 2 and 3 as long as you want, or rather untill nothing changes
    * if at any time a pallet entry has nothing that maps to it then make it become a colour that is near the most used pallet entry.
    have fun, its called cluster theory and is used lots in converting images to .GIF

  • How do you keep the colors of an image true when you set it as a background?

    I have an image with lines in it and a black blackground. When I set it as a background :
    html {
        background: url(../Images/backgroundimage.jpg);
        background-repeat:auto;
        background-position:center top;
    the black is a couple shades lighter so when I place a <div> with an <img>that is also mainly black on top of it, the top image is much darker than the background. I have no other css tags on the div other than a margin. The only difference in the images is I saved the background from photoshop and the image in the div from illustrator but I dont think that should have effected anything. Does anybody know anything about this because I am seriously stumped.
    Thanks

    We have been here before…
    Firstly, Adobe' Photoshop has the ability to save a color profile with an image. That color profile will be consistent across all versions of Adobe software. Problem is, Adobe does not make web browsers (and that is probably a good thing).
    When you save images for websites, you need to go through the proper Photoshop or Illustrator dialog. You want to Save for Web & Other Devices. Why? because the applications will take the image out of CMYK color space (if it is in that color space) and make it RGB. They will also try to translate the colors in a sensible way. When you use this dialog, you will see various options for JPG, including ICC Profile. Turning this on or off will change how the colors get mapped, and some experimentation to get best results is a good idea.
    I have it turned off, presently.
    The image will be set up for 72 dots per inch automatically, and you can, then, resize the image to optimize it for the website you are working on. If you are trying to fill a hole for an image that is 350 pixels wide by 250 tall, don't save the image as 1125 wide by 1024 high. That will take a long time to download from your server to whatever device is displaying it. Your original image will not be changed and you can navigate your path to your defined website's images folder.
    This should help you immeasurably. I should mention that If I am trying to match a background exactly, I will tend to knock out that color from the image, save the image as a .PNG file with transparency (where that particular color is) and place the image on the background in question with the background color I am trying to match on the website.
    -Mark

  • How to set canvas extension color for arbitrary image rotation?

    I'm using Photoshop CS4 v 11.0 with Windows XP.  When adjusting canvas size there's a menu for chosing the canvas extension color.  Where is the menu for chosing canvas extension color for arbitrary image rotation?
    Thanks.

    This will be the background colour selected in your toolbox.

  • How do I change the color of an image while still keeping some detail within the image

    I am trying to take a handprint such as the one below and change the color of the handprint to say a light pink (or any color) but I want to keep most of the detail of the fine lines that make this handprint unique.  The lines could even just come out as white as below.  The main thing is to change the overall color while maintaining the fine details.  I have been trying to accomplish this for over a week now in Photoshop Elements 11 and I have been unsuccessful as anything I do just totally color fills the image, which does not keep any details of the handprint.  Thank you to anyone who may be able to help me. 

    Hello again,
    Unfortunately, I am not getting the same result as you and I was wondering if you would take a look at what I'm doing and maybe you could tell me what I'm doing wrong.
    I go to file, open and bring in my file
    Go to Select, Layer, New, Layer
    Name = Layer 1
    Mode = color
    ok
    Two things then seem to go wrong:
    1.  I chose my foreground color, but when I go to paint, a smart brush setting takes over so I had to change my paint color in that setting - to pink.  also my foreground box color will then change to gray
    2.  So then I do have a pink handprint, but when I change the opacity, it only effects the pink - and not the black on the handprint (pic below).  I want the black to go away and have only the color there with the unique lines of the handprint which you were able to do.
    I'm not that handy in layering so maybe i'm doing something wrong there - just not real sure.
    Can you help?  I liked the way your handprint came out - if I could copy that with any color that would be great and exactly what I'm looking to do.
    Thank you so much.
    Tami

  • How to reduce number of mail boxes on mac

    I have 4 active email boxes and would like to reduce this to one. How do I do this please without removing them totally from the Mac?

    Look at this copy of my Mail sidebar:
    The two headings pointed at with the arrows are what I am talking about. If you hover your cursor over them you will see the button named Hide on the right. Click on it to hide the heading and all items under it. This will work with all but the topmost one which is required as is by default.
    It means to take the Google Mail account offline - receive no mail and send none from that account.

  • How to reduce number of artists in artist category who do not have a full album?

    The category I use most on my ipod touch is the "Artist" category,
    because I generally like to listen to full albums and to a single artist for a fair amount of time.
    Something I find really annoying is when I put compilation albums  on my ipod , which feature multiple artists with 1 or 2 songs each per album ;
    Suddenly my "artist" category is FILLED with all these artists who only have one or 2 songs each.
    I find that really annoying.
    Is there some way to narrow down artists that on my ipod that have, for example, less than 5 songs, and put them all in one big compilation folder?
    Or to make them just not display in the artist category?
    It just confuses me when I look at my ipod to see all these artists who have only one or two songs.
    That's not what I want to listen to.
    The only things I want to see listed in the artist category are artists who have at least ONE FULL ALBUM on my ipod.
    I hope my question makes sense,
    as well as the reason for my asking it.
    Thanks in advance for any answers.

    Hi Jon.
    Sorry if you kind of answered this already.
    I'm going through and manually renaming the "album artist" column for tracks which do not have this information.
    Most of these tracks have the "artist" column filled.
    [This is actually becoming a bit laborious, plus there is actually a fair bit of waiting time for itunes to fill in the track metadata on all the tracks after I have selected multiple tracks and typed it in, and it won't allow me to continue tagging while it does this.]
    SO......
    I was wondering if there was a way to get the album artist column to be automatically filled by mirroring what is in the artist column?
    I found this excellent looking tool,
    http://dougscripts.com/itunes/scripts/ss.php?sp=tagsmirrorartalbfnom
    but I don't know how to use it.
    It would be excellent if there is some way to do this without a 3rd party solution, but if I knew how to use this tool, it looks very good too.

  • How to reduce number of output parameters in case of determination engine API

    Hi
    We are using determination engine API to integrate with the third party (OBRM) . In that case all the base/top/intermediate attributes have been sent in xml as output.
    Is there any way to filter out the output parameters as I don't want to send all attributes in output XML.
    Thanks and Regards
    Vandana

    There are the following possible copies of an object that can be made in TopLink.
    - Session cache - copy of object stored in the Session cache, this instance is considered read-only and can be shared. In the case of a shared cache, this copy exists in the ServerSession cache, in the case of an isolated cache, this copy exists in the ClientSession cache.
    This copy can be created whenever a query is executed against a ClientSession, or non-isolated UnitOfWork. To avoid this copy for an update operation, you can query in a UnitOfWork, and set your descriptor's unitOfWorkCacheIsolationLevel to ISOLATE_CACHE_ALWAYS (added in 10.1.3).
    This copy can be created after a inserted object is committed as well. ISOLATE_CACHE_ALWAYS will also avoid this.
    - UnitOfWork working copy. Instance of the object that is modified in the UnitOfWork. This instance must exist as at least one instance is required, unless UpdateAll / DeleteAll / SQL queries are used.
    - UnitOfWork backup copy. This copy is used to track changes to the object. This copy can be avoided if attribute change tracking is used (added in 10.1.3, weaving added in 11g).
    So, it is possible to only have a single copy.
    You can also use a DatabaseSession which only maintains a single copy. You can use Insert and UpdateObjectQuery's, these will update everything and not give you the benefit of change tracking nor a shared cache, but may be useful in batch transactions such as yours.
    -- James : http://www.eclipselink.org

  • How can I change the color of interactive image label box background.

    Interactive image labels are a bit overwhelming in appearance. Can I change the label background color or make it partially transparent? I have tried several things and looked this up on Lynda.com training but no info.

    don't know how much this might help but you can change some colors using the Inspector as follows:
    from the text menu you can control paragraph and character colors, from the text menu you can control the text color.
    hope this helps...

  • How can I change a color of an image without affecting the texture, but based on a pantone pick?

    Here is an image of a paintbrush stroke that shows the texture of the paint.  I want to change the color to a specific pantone green in order to match a specific color pallet.  Rather than just using hue saturation to "guess" at the color (no pantone number), is there a way I can actually set a base color without losing the texture?

    You can only use the picker values as a guide on an image with many tones.
    I presume you are going to print as cmyk, so find the mix of the target colour and make a 'solid colour' adjustment layer and choose that mix. Then set the adj layer properties to 'hue' which should do it.
    Otherwise, add a 'hue/saturation' layer (and click on colorize in the adj layer palette) and move the slider to suit.
    If you convert to greyscale, you could colorize the pic with the spot colour too.

  • How do I change the color of an image

    I have some photos that I would like to change the color of, so that I can have the same image in multiple colors. How do I do this using Photoshop CS4?

    Using a Solid Color Layer set to the Blend Mode Color is one of several options in general …
    But maybe you could post a screenshot and elaborate one what you are trying to achieve.

  • How do I change the colors of this image?

    I want to change the color scheme of this image, not just re-color it one color.  I have the original file, this is just the shutterstock preview image. I'm a beginner with Illustrator.
    Any tips would be much appreciated! Thanks

    Select it, and click the Recolor Artwork button in the Options Bar.

Maybe you are looking for

  • Error due to drop down menu in the dataTable

    I have a data table which has a drop down menu in one of the table columns. When the drop down menu is disabled, every action in the page works (click on it, and it does what it does). When the drop down menu is enabled, every action (with one except

  • Firefox Update Requires Admin Privs, But Does Not Check and Just Displays Misleading Message

    Firefox attempts to perform an update from an Non-Admin account, the Update File is downloaded, the update is begun but the following misleading message is displayed... "unable to install firefox update make sure no firefox applications are open and

  • How to avoid more than one debit memo request referenced to an invoice

    Hello Experts, Please if you have answer to the following question let me know it, the case is the following: I can create a debit memo request with reference to an invoice more than once time, which means I can have many debit memos request with who

  • Spotlight no longer show path with command key

    Hello! Since a couple of days, i don't remember when, the spotlight on my mac no longer show the file path if i press the command key. Anyone know how to fix this? Thanks Cristian

  • Activating IPSec license on IOS-XE

    I'm unable to locate the document that provides details to activate the licesne FLSASR1-IPSEC please advice whether this license needs any PAK code to activate , according to my understanding FLSASR1-IPSEC is a RTU license , hence only we need to act