Change color of pixels in a raster (png) image

Hi,
I have just begun using Illustrator CS6.  I have a very simple image (.png file) that I would like to annotate with some arrows and some text.  This file is what I guess you would consider a raster image (no vector graphics) that has a very limited color range.  It has less than ten basic colors plus a gradient fill (shades of gray) in a few places. 
I want to use illustrator to annotate this image with some lines with arrows and some text, but first, there are a few stray lines that I would like to eliminate.  For example, there is a black line that I would like to "erase" by replacing all the black pixels in this line with white pixels.  I tried to do this by selecting the "Paint Brush" tool and then selecting white as both my fill and my stroke color.  After doing this, I position the cursor over the pixels I want to change but the cursor appears as a circle with a line through it, and it doesn't do anything.
If anyone can tell me how I can do this, I would really appreciate it.
Thanks in advance,
Paul

Paul,
If you have access to Photoshop or a another application that actually works with raster images (the circle with the line through it shows that Illy has no clue what to do with it), you can change the image quite easily.
Edit: Hi John.

Similar Messages

  • Change color effect only of part of an image, such as only the left side?

    I have an image that is basically a bunch of blue dots.  On a keyframe, I want to change the left side of the image to red dots.  How can I do this?

    Here's another way:
    Apply the effect to an adjustment layer, and create a mask on the adjustment layer to define the area that the effect should affect.
    Since you're new to After Effects, I strongly recommend that you begin here and work your way through the basic learning resources first.

  • Cannot change color of png image in AI

    I downloaded a camera png image (http://simpleicon.com/camera.html) and am trying to change its color to red (B03B28). But the fill box is not working. It shows like the item is red but it will not change. Can the color be changed?

    go back to the download site and get the .svg file--that will open in Illustrator and you can change the color--the only way to change the color with the .png file is in photoshop

  • Illustrator Showing Correct Colors, When Exported or Saved as PNG Certain Colors Change

    How can I resolve this?  I am new and just downloaded the trial. 
    Please help me.

    Exactly, so if you change your colour mode to RGB (File > Document Color Mode), your colours in Illustrator will change slightly but when you export to PNG there should be no colour change.

  • ExtendScript Illustrator - Change color of text one character at a time.

    I'm trying to write code for ExtendScript ToolKit to target Illustrator. I've been writing in JavaScript, but am open to switching to AppleScript if needed. The goal of the code is to change the characters in a text box one by one to the color of the image behind that letter. The end goal is to have the color of the text create the image.
    Basically, I select a character. And lets say that character is at 720x648 (in pixels) in a 24x36 in image. Then I detect the color in the image layer at that location. Then turn the selected character to that color.
    I have encountered two problems, finding a way to have the script detect the color of the picture at a given location (ideally in pixels) and then change that one character to that color.
    So far my code is this, with a color hard coded in for testing purposes since I haven't figured out the detection part yet.
    if ( app.documents.length > 0 ) {
    var doc = app.activeDocument;
    //get text from textbox
    var numChars = 0;
    textArtRange = doc.textFrames[0].contents;
    numChars += textArtRange.length;
    //loop through to select characters one at a time
    for (x=0; x<numChars; x++){
         var selectChar=textArtRange.charAt(x)
         doc.characterStyles.removeAll();
         var charStyle=doc.characterStyles.add("NewOne");
         var charAttr=charStyle.characterAttributes;
         var detectedColor = new RGBColor();   //ideally the detected color would go here. But for now it is hard coded.
             detectedColor.red = 242;
             detectedColor.green = 51;
             detectedColor.blue = 51;
         charAttr.fillColor = detectedColor;
         charStyle.applyTo(selectChar); // I got an error here: "Object expected".
    }//end for loop
    To detect the color, I tried using the following code, but it only works in Photoshop and even there I can't find a way to store that color the way I need to.
    app.activeDocument.colorSamplers.removeAll();
    var pixelLoc = [UnitValue(16) , UnitValue(16)];
    var myColorSampler = app.activeDocument.colorSamplers.add(pixelLoc);
    I have put in so many hours into this and just want to rip my hair out. Any help or guidance anyone can give would be SO appreciated! Thanks in advance!!!

    finding a way to have the script detect the color of the picture at a given location (ideally in pixels)
    there's no native command to do this in illustrator,
    I tried using the following code, but it only works in Photoshop.....
    unless you get extremely lucky (working with matching Object names) photoshop code won't work in Illustrator.
    a possible workaround, clip your text to your image, rasterize it, trace it, you might end up with a solid color per character, where you could read their color.

  • Using Illustrator CS6, how to preserve drawn colors when Save For Web to PNG?

    Using Illustrator CS6 on Mac OSX 10.9.1:
    step 1. I open a new file for Web profile.
    step 2. I verify that File > Document Color Mode is RGB.
    step 3. I draw a square and set it's color to 0,103,197 (decimal).
    step 4. I click File > Save For Web
    step 5. In the popup that opens, I set to PNG-24, and verify the option Convert To sRGB is not selected.
    step 6. Using the Mac's DigitalColorMeter, I observe the color is 0,109,191 in the Save For Web popup. If I save it, then open the saved PNG file, it's color is also 0,109,191.
    How to do this so the colors don't change?
    step 7. I close Save For Web popup.
    step 8. I verify Edit > Color Settings for Working Spaces is set to Monitor RGB, and that the Color Management Policies for RGB is off.
    step 9. I verify Edit > Assign Profile is set to Don't Color Manage This Document.
    step 10. I verify View > Proof Colors is off.
    Can anyone provide a set of Illustrator CS6 settings that let me save a PNG image with the same colors it's drawn in so I can use that PNG image in a website?
    I must be missing something obvious, because anyone working in web design must do this day in and day out, please let me know what procedure people follow to achieve this.
    UPDATE:
    Using the above procedure DOES preserve the colors when embedding the PNG image in a webpage viewed in Firefox and Chome, but NOT for Safari. Also, the colors are not preserved in Mac's Preview software, as well as Microsoft Office 2011 for Mac.
    I'm pretty new to all this. Hoping someone can provide some perspective on what typical procedure people use for web development when working with colors in Illustrator CS6.

    Using Illustrator CS6 on Mac OSX 10.9.1:
    step 1. I open a new file for Web profile.
    step 2. I verify that File > Document Color Mode is RGB.
    step 3. I draw a square and set it's color to 0,103,197 (decimal).
    step 4. I click File > Save For Web
    step 5. In the popup that opens, I set to PNG-24, and verify the option Convert To sRGB is not selected.
    step 6. Using the Mac's DigitalColorMeter, I observe the color is 0,109,191 in the Save For Web popup. If I save it, then open the saved PNG file, it's color is also 0,109,191.
    How to do this so the colors don't change?
    step 7. I close Save For Web popup.
    step 8. I verify Edit > Color Settings for Working Spaces is set to Monitor RGB, and that the Color Management Policies for RGB is off.
    step 9. I verify Edit > Assign Profile is set to Don't Color Manage This Document.
    step 10. I verify View > Proof Colors is off.
    Can anyone provide a set of Illustrator CS6 settings that let me save a PNG image with the same colors it's drawn in so I can use that PNG image in a website?
    I must be missing something obvious, because anyone working in web design must do this day in and day out, please let me know what procedure people follow to achieve this.
    UPDATE:
    Using the above procedure DOES preserve the colors when embedding the PNG image in a webpage viewed in Firefox and Chome, but NOT for Safari. Also, the colors are not preserved in Mac's Preview software, as well as Microsoft Office 2011 for Mac.
    I'm pretty new to all this. Hoping someone can provide some perspective on what typical procedure people use for web development when working with colors in Illustrator CS6.

  • How to change colors of LCD/VFD controls from SGC-Tek?

    Hi Anybody got idea how to change colors of LCD/VFD controls from SGC-Tek?
    I have tried but could not. When I try to make myself a nest cluster of clusters of LEDs, I can change colours but I can't do the same thing with LCD/VFD controls.
    Please check at LCD/VFD controls
    Clement

    I suspect this repsonse is somewhat mis-leading, the code has no effect on the control other than setting its state, although the route is somewhat tedious for the mod.
    I would imagine that the control is set up so that the pixels didn't move around when they are being used as controls.
    There are nested groups and locks on the controls, which might make the ordering in the cluster easier to manage.
    The following should work....... ;-) it did for me
    Open  your own new VI
    Open the main LCD VI
    Open the Browse VI Hierachy
    Drag and drop the LCD VI onto your own diagram
    Create a cluster from the LCD VI's connector
    Now ungroup the clusters and unlock them (this is tedious) if you create your own then you could be more imaginative in the structure, I leave that for homework.
    Then import a new bitmap (gif) into the control
    Now update the modified contol back into the master control
    ........ Told you it could be done, but I am not sure the pain was worth it.
    BUT
    Try the alternative control..... with colour settings as well, ANY colour and even some size control.
    It was here http://members.lycos.co.uk/sgctek/

  • Changing colors of an image in real time

    Hi,
    I am trying to get an image raw data in an int[] array using getRGB() in order to change the color of the image.
    But it is working fine in simulator for any image. if i install it in real device say Nokia 6600 the getRGB() method is not working for large .png image like size (88X57) because the device gets hang while we are using large image but it is working fine for small image.
    Pls give me some idea how to use getRGB() for large image.
    Following is the sample code
    int imageWidth = img.getWidth(); 
    int imageHeight = img.getHeight();
    int[] raw = new int[imageWidth*imageHeight];
    img.getRGB(raw, 0, imageWidth, 0, 0, imageWidth, imageHeight);Thanks in advance

    Use the AI CONFIG to set up your acquisition.
    Use AI CLOCK config to set up your timing.
    Use AI TRIGGER CONFIG to set up your trigger.
    Use AI CONTROL to start the DAQ (use TOTAL SCANS TO ACQUIRE = 0 for unlimited scanning.
    repeat (While loop)
    Use AI READ with a NUMBER of SCANS TO READ = 0. This tells you the backlog (how many scans in the buffer)
    Use AI READ with NUMBER OF SCANS TO READ = to the backlog number from above. (this empties the buffer)
    Process the scans received into your image - append to previous data and re-display.
    If you are doing a fixed number of scans, add this backlog number to the total done so far, and see if you're done. If you're doing continuous, skip this step.
    Wait 100 mSec if you can, 10 m
    Sec if you can't.
    Loop (until # scans done >= # scans wanted OR Quit button, whatever).
    Use AI CONTROL to stop the DAQ.
    The idea is that the DAQ operation happens in the background. You just ask how many are available, and then read that many and use them.
    You wait 100 mSec to allow the display update to happen.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • How to change color of spinning logo

    How can i change the color for the spinning logo part on a flash site template?
    Is there a way to simply adjust it, or is it nescessary to make a whole new design?
    The animation for me is ok, but i only want a different color..

    Having it as all png pieces can make the revision harder than if you only needed to revise Flash-drawn graphics.  If you can see the pieceparts in the library as png images, then you can replace those in the assembled movieclip with new png images. 
    As an alternative, just to try and see, you might be able to convert the pieceparts into library symbols (graphic/movieclip) if they are not already and adjust their tint to get the desited effect, but it really depends on what you have to work with for the pieces.
    You shouldn't have to come up with a whole new animation, but you may have to manually stitch each new element into the current one.

  • How to change color in the title line?

    Hi experts, How to change color in the title line, i show an image for explained better
    !http://img688.imageshack.us/img688/9259/imagenjar.png!
    thanks

    in Views.css file
    file below object.and change border-color as you desired to reflect.
    .TitleTable {
         font-family: arial, helvetica, sans-serif;
         border-width: 0 0 4px 0;
         border-style: solid;
         border-color: #6666cc; ----> change here.
    hope this helps !
    -Niranjan K

  • Captivate 5 - Inserted PNG images from Fireworks are pixelated

    The PNG images I inserted from Fireworks are showing up pixelated when I play the file in a browser, but look fine while I'm working in Captivate.  Any thoughts?
    THANKS!
    Birgit

    Hello,
    Did you try changing the publish quality? Because of the fact that CP when converting to SWF will still be doing some compression, I really would give that first of all a try.
    PNG allows even partial transparency, and certainly its 24-bit version. That is one of the reasons that it is superior to JPEG (no transparency) and GIF (only 100% transparency).  But I'm not really used to Fireworks, always using Photoshop for graphical assets.
    Lilybiri

  • Adobe Photoshop CC, problem with color noise/pixelation on the monitor display

    After downloading Adobe Photoshop CC, my images come in with color noise/pixelation on the monitor display. I've tried checking the color space preferences, but this doesn't help. I didn't have this problem before. Is there anything else I can check? There's no problem with LR, just Photoshop.

    My performance settings are: Available RAM 10905 MB/using 7633 MG (70 percent); cache levels 4, history 20, cache tile size 1024K. However, I noticed under Graphics processer settings, it is set on Advanced Drawing Mode - perhaps this should be changed to Normal or Basic Mode? Your help is very much appreciated.

  • Changing color of Navigation menu items

    I can't figure out how to change color of the navigation menu. any help?

    The treatment of the navigation bar is hard-coded in XML files which control the appearance of iWeb templates. You cannot change this from within iWeb itself.
    In fact, iWeb treats items on the navigation bar as images, as you'll see if you open a folder for one of your iWeb pages on your iDisk. Go to iDisk/Web/Sites/iWeb/SIteName/PageName_files and you'll find files such as navbar0normal.png, navbar0rollover.png, navbar1normal.png, navbar1rollover.png and so on. iWeb generates these based on the names you assign to your pages, using the font and colours specified in the controlling XML.
    It is possible to change the appearance of the navigation bar, but only by editing the XML files within the iWeb application itself. Take a look at the 11 Mystics site, where Suzanne Boben provides a detailed description of what's involved. It's not something for the faint-hearted to tackle.
    [ Visit here for iWeb Tips, Tricks and Hacks ]

  • Help changing color of menu in Adora template

    I'm a new BC user and have been scouring the CSS stylesheet for the Adora template, but I can't figure out where the color is being set for the main menu. I was able to change the navigation.png image to be solid instead of transparent and that covers the maroon/red color, but you can still see it peaking around the edges in some browsers, or full-on during page refresh, before the png image loads. Additionally, I added a sub-menu and the maroon/red color is back. The site is www.digitalglobesystems.com
    Can anyone point me to the location of where the color is being set in the stylesheet? I've done a lot of trial and error with no results. Another thread said the color was set in the spry assets, but I don't see that in my File Browser.

    Hello
    I have changed the background color in the css stylesheet, lines 1558 and 1562
    #navigation {
              background-color: #Your color !important;
    .sf-navbar li ul, .sf-navbar ul ul li {
              background-color: #Your color !important;
    Hope it helps and it is not too late

  • How can i color the pixels that are only in the area of the rectangle i'm drawing on the picturebox1 ?

    In the form i have picturebox mouse down event:
    bool DrawIt = false;
    private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
    timer1.Stop();
    LoadPictureAt(trackBar1.Value, sender);
    pictureBox1.Refresh();
    if (e.Button == MouseButtons.Left)
    rect = new Rectangle(e.X, e.Y, 0, 0);
    DrawIt = true;
    pictureBox1.Refresh();
    rect is a global Rectangle variable.
    The the picturebox mouse move event:
    List<Point> NewPoints = new List<Point>();
    private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
    if (e.Button == System.Windows.Forms.MouseButtons.Left)
    if (DrawIt == true)
    rect = new Rectangle(rect.Left, rect.Top, Math.Min(e.X - rect.Left, pictureBox1.ClientRectangle.Width - rect.Left), Math.Min(e.Y - rect.Top, pictureBox1.ClientRectangle.Height - rect.Top));
    NewPoints.Add(e.Location);
    pictureBox1.Refresh();
    In the mouse move event i'm drawing the rectangle i didn't check it yet but in the move event i want to draw the rectangle in real time on the picturebox1.
    Then the paint event:
    private void pictureBox1_Paint(object sender, PaintEventArgs e)
    if (cloudPoints != null)
    if (DrawIt)
    CloudEnteringAlert.pointtocolorinrectangle = cloudPoints;
    Bitmap bmp = new Bitmap(pictureBox1.Width, pictureBox1.Height, PixelFormat.Format32bppArgb);
    CloudEnteringAlert.Paint(e.Graphics, 1, 200, bmp);
    First in the paint event how do i use the rect to draw the rectangle ?
    Second cloudPoints contain all the pixels in the pictureBox1 Image. Could be 44000 or 400.
    cloudPoints is a List<Point>  For example in cloudPoints index 0 i have a coordinate x = 100 y = 200 of a pixel.
    Then i send the pixels coordinates to another class with Paint method and color the pixels in yellow.
    But instead sending all the pixels coordinates in ccloudPoints i want to send to the paint event only the pixels coordinates from cloudPoints that exist inside the rectangle i was drawing. Only the pixels in the rectangle i was drawing.
    So in the end the List<Point> pointtocolorinrectangle will contain only the pixels coordinates exist in the rectangle i was drawing.
    1. How to fix the code in the move event ?
    2. How to change the code in the paint event so it will send coordinates of pixels only that exist in the drawn rectangle.

    I did it this way:
    bool DrawIt = false;
    private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
    timer1.Stop();
    LoadPictureAt(trackBar1.Value, sender);
    pictureBox1.Refresh();
    if (e.Button == MouseButtons.Left)
    rect = new Rectangle(e.X, e.Y, 0, 0);
    DrawIt = true;
    pictureBox1.Refresh();
    List<Point> NewPoints = new List<Point>();
    private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
    if (e.Button == System.Windows.Forms.MouseButtons.Left)
    if (DrawIt == true)
    rect = new Rectangle(rect.Left, rect.Top, Math.Min(e.X - rect.Left, pictureBox1.ClientRectangle.Width - rect.Left), Math.Min(e.Y - rect.Top, pictureBox1.ClientRectangle.Height - rect.Top));
    NewPoints.Add(e.Location);
    pictureBox1.Refresh();
    private void pictureBox1_Paint(object sender, PaintEventArgs e)
    if (cloudPoints != null)
    if (DrawIt)
    e.Graphics.DrawRectangle(pen, rect);
    var pointsAffected = cloudPoints.Where(pt => rect.Contains(pt));
    CloudEnteringAlert.pointtocolorinrectangle = pointsAffected.ToList();
    Bitmap bmp = new Bitmap(pictureBox1.Width, pictureBox1.Height, PixelFormat.Format32bppArgb);
    CloudEnteringAlert.Paint(e.Graphics, 1, 200, bmp);
    Working perfect just what i needed.

Maybe you are looking for