Reading Colour Percentages of an image

Hi I work as a textile designer using illustrator and draw designs in flat colour.
Is there a way in Illustrator to read the percentages of each colour swatch within a design?
BY this I mean If there is a design with 3 colour swatches of red, black and white can it tell me the precentage of each swtach within the illustration?
If I saved my drawing as an image is there any program I can use to read the precentage of each colour block?
I forgot to mention I am currently using Illustrator CS3

Yes you may check your colours values in colour swatch panel located in right side in your design workspace, when you click an object that has some color values your swatch panel tells you the value or you can also use eyedroper tool to check your values in info panel by pressing ctrl+F8

Similar Messages

  • How to change the color of same coloured sections of an image according to the colorpicker..?

    Hi.. How r u all..?
    I'm doing a small program to change the color of those sections of an image which are having the same color, according to the color selected from the colorpicker..
    Say we have selected a color from the colorpicker, and then the mouseclick event on the image changes the color of those parts in the image which are having the same color as the clicked portion (or pixel) to the selected color.. If we've selected FF0000 from the colorpicker, then clicked on 3300CC coloured pixel in the image. This should change the color of all the 3300CC coloured pixels in the image..
    I've a colorpicker [colpickr] and a movieclip [mc] of the image on the stage. I created a bitmap of that same same image (imag1) using code. Selecting the color from the colorpicker and a mouse click on the movieclip (here I used getPixel) will change that color in the bitmap to the selected color (with setPixel). So here I've two images; one is a movieclip (inorder to add listener for click event) and one is a bitmap (inorder to set the property setPixel). But I need only a single image.
    Please help me regarding this.. Given below is my (horrible) code..
    import flash.events.MouseEvent;
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.net.URLRequest;
    import flash.display.Loader;
    var c = 0;
    var myBitmapData:BitmapData;
    var bm:Bitmap;
    colpickr.selectedColor = 0xffffff;
    var preLoader;
    var urlReq;
    var preloader_img:MovieClip;
    preLoader =new Loader();
    preLoader.unloadAndStop();
    urlReq = new URLRequest("imag1.jpg"); // i've selected the same image as that of movieclip mc
    preLoader.load(urlReq);
    preLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,preLoaderComplete);
    //creates a bitmap image of mc..
    function preLoaderComplete(loadEvent:Event) {
        myBitmapData = new BitmapData(mc.width,mc.height);
        myBitmapData.draw(mc);
        bm = new Bitmap(myBitmapData);
        addChild(bm);
        bm.width = mc.width;
        bm.height = mc.height;
    mc.addEventListener(MouseEvent.CLICK, _onMouseClick);
    //gets the color of mc and sets the color to bitmap
    function _onMouseClick(event:MouseEvent):void {
        var myColor:uint = myBitmapData.getPixel(mc.mouseX,mc.mouseY);
        c = myColor.toString(16);
        for (var i=0; i<bm.width; i++) {
            for (var j=0; j<bm.height; j++) {
                if (myBitmapData.getPixel(i,j).toString(16) == c) {
                    myBitmapData.setPixel(i,j,colpickr.selectedColor);

    try this:
    import flash.events.MouseEvent;
    import flash.display.Bitmap;
    import flash.display.BitmapData;
    import flash.net.URLRequest;
    import flash.display.Loader;
    var c=0;
    var myBitmapData:BitmapData;
    var bm:Bitmap;
    colpickr.selectedColor=0xffffff;
    var preLoader;
    var urlReq;
    var preloader_img:MovieClip;
    preLoader =new Loader();
    preLoader.unloadAndStop();
    urlReq=new URLRequest("z_bitmaps/image1.jpg");// i've selected the same image as that of movieclip mc
    preLoader.load(urlReq);
    preLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,preLoaderComplete);
    //creates a bitmap image of mc..;
    function preLoaderComplete(loadEvent:Event) {
        bm = Bitmap(loadEvent.target.loader.content);
        addChild(bm);
    stage.addEventListener(MouseEvent.CLICK, f);
    function f(e:MouseEvent):void{
        if(bm.hitTestPoint(mouseX,mouseY) && !colpickr.hitTestPoint(mouseX,mouseY)){
            _onMouseClick(e);
    //gets the color of mc and sets the color to bitmap
    function _onMouseClick(event:MouseEvent):void {
        c=bm.bitmapData.getPixel(bm.mouseX,bm.mouseY);
        for (var i=0; i<bm.width; i++) {
            for (var j=0; j<bm.height; j++) {
                if (bm.bitmapData.getPixel(i,j)==c) {
                    bm.bitmapData.setPixel(i,j,colpickr.selectedColor);

  • Colour grads in greyscale images

    I needed a black and white copy of this image, so I made a virtual copy and converted it to greyscale. I love the flexibility of the grayscale mixer, so and decided to darken the sky with a blue grad and then use the grayscale mix to adjust the level of the blue.
    I know I could have done this with the brightness or exposure in the grad, but I wanted to drag the blues darker as I was not getting the results I wanted from the exposure / brightness.
    I now have a colour black and white image!
    Even if I start with the colour image and then manipulate the colour gradient and then make the image greyscale, the colour grad stays colour.
    Any thoughts for how to work with colour grads in photos and then neediong to convert to black and white versions, cos mine is black and blue and white.
    another "split toning" effect
    Hamish

    Any thoughts for how to work with colour grads in photos and then neediong to convert to black and white versions, cos mine is black and blue and white.
    another "split toning" effect
    Yes, it's split tone effect. Nevertheless, I bugged this "particular" behaviour a few months back, but was advised that it was as designed. However, the language used didn't exactly convince me that the respondent didn't agree with me that it's bug.
    To be clear, adding a colour grad to a B&W image doesn't cause me any difficulties and an effect I use a lot. However, leaving the effects of a colour grad in play after converting to B&W is to my mind dumb in the extreme. I've seen reports on this forum of images were the original grad was quite subtle and therefore easily forgotten about. When the image was subsequently converted to B&W (usually as a VC) the colour comes through and confused the hell out of the user.

  • How to read 32 bit depth .bmp image

    How to read 32 bit depth .bmp image using LabVIEW?
    @nk
    Solved!
    Go to Solution.

    A "standard" image, by which I mean an image type most typically encountered, stores image data in RGB format with 8 bits per colour, making them 24-bit images (24bbp - bits per pixel). A 32-bit image normally includes an additional 8 bits for the alpha channel, but in BMP files this format is complex (see wiki article), and it appears the LabVIEW Read BMP function does not support it.
    Do you have the IMAQ toolkit? I can't test the theory, but perhaps the IMAQ functions for reading image files are more advanced and can read your images?
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Is there a way to save a fillable form (in Reader) as a static (uneditiable) image and send it for signature without the recipient being able to revise the fields at all?

    Is there a way to save a fillable form (in Reader) as a static (uneditiable) image and send it for signature without the recipient being able to revise the fields at all? I have designed a number of fillable forms and sent them to our clients as Reader extended pdfs to be filled out and sent back. Now, certain clients want to be able to fill in the fields and save the doc as a pdf that can't be tampered with so that they can send it to their own people for signature to be returned to them hand-signed and scanned via email.
    Since the forms have been secured, and my cleints are only using the free Acrobat Reader, how can they save the filled in form as a static pdf to send on for signature? They do not want to have to print, scan and email. Is there an app, plug-in, simple solution to this?
    Thank you,
    Rumor

    The signature WILL work! I've just looked into it more, thank you so much for pointing me in that direction.
    I get it now, it locks the form fields in place after my coworker fills them in and signs it (as the very last step).
    I wish I would have asked on here a full day ago. Would have saved a lot of headache and Googling.
    Thanks again.

  • I have my photos  iPhoto but my iPhoto library is empty. when clicked message reads could not be opened image capture cannot open files in the photo library format. How do I get my photos back into my library?

    I have my photos in  iPhoto but my iPhoto library is empty.When clicked message reads could not be opened image capture cannot open files in the photo library format. How do I get my photos back into my library?

    When what is clicked?
    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Colour Profiles on exported images causing major problems

    I've been exporting keynote slides as png's to use in video presentations. The problem is that the png's are saved with colour profiles, which means if I export the images from diferent macs, or even the same mac but with a different monitor attached (therefore a diferent monitor colour profile active), the images have very noticeable colour variations.
    This is a major problem. I exported 1,000 slide transitions to import into Adobe Premiere, then about 500 slide updates that when imported, were in some cases darker or lighter even though I was using the same keynote and original images. I had to create a batch job in Photoshop to open, ignore the stored profile and save the images using a new default colour profile to try and get all the images consistent.
    There needs to be an option in either the Keynote preferences or export options to save exported images without colour profiles.

    There needs to be an option in either the Keynote preferences or export options to save exported images without colour profiles.
    No, there needs to be documentation on the ICC architecture and how ICC profiles are applied. Stripping out embedded ICC profiles will colour manage the objects (images) in the system, but when the images pass outside the system they will not be colour managed any more. In this scenario, either they will have to be rendered as deviceColor by the numbers, without a definition of the colours their colourants should form, or a source ICC profile will have to be assigned by the following system/application.
    I've been exporting keynote slides as png's to use in video presentations. The problem is that the png's are saved with colour profiles, which means if I export the images from diferent macs, or even the same mac but with a different monitor attached (therefore a diferent monitor colour profile active), the images have very noticeable colour variations.
    I could be considered an unconditional bug in Keynote if it embedded the current monitor profile and not the system RGB colour working space profile (: Generic RGB Profile). If indeed Keynote embeds the current monitor profile, it could be considered an unconditional bug in your understanding if you start by stripping the source profiles. You should be doing a profile to profile conversion in order to get into the RGB colour working space you want in Photoshop.
    Sorry, but it helps to have a basic understanding of media independent colour matching (even if the developers don't sometimes -:)).
    /hh

  • Reading metadata of a JPEG image

    Hi,
    I am trying to read the metadata of an image taken from mobile.
    how can i extract the thumbnail from the metadata?
    I will be receiving the image as bytearray from client.
    Thanks & Regards,
    Sairam

    http://www.drewnoakes.com/code/exif/

  • Reading colour image using raster object and getsample() method

    Hello all,
    I am trying to read a grey image using this code below and it perfectly works:
    File filename = new File("myimage.jpg");
    BufferedImage inputimage = ImageIO.read(filename);
    Raster input = inputimage.getRaster();
    double pixelvalue = input.getSample(xx, yy, 0) ; // to read pixel colour.
    Now:
    what modifications should i do to read a colour image using getsample() method.
    any help, by example if y would.
    Thanks

    The code below
    double pixelvalue = input.getSample(xx, yy, 0) ; // to read pixel colour.actually doesn't obtain the pixel color. It reads a band of the specified pixel. If you are reading a tripple band image (24-bit colored image RGB ) then you have to invoke this method three times for band 0, 1 and 2. The arrangment of them depends on the BufferedImage type.
    In reply of your question, you can use getSamples method, refer to the java API documentation of the BufferedImage class for more info.
    you can also check methods getRGB and setRGB, they used to get/set the entire pixel in range of 0x00000000 to 0x00FFFFFF ( 0x00RRGGBB of image type TYPE_INT_RGB )
    Regards,
    Mohammed M Saleem

  • Reading grayscale values from saved image

    Hi,
    I've written several methods that crop, convert to grayscale, histogram equalise and then resize a colour jpeg image for preparing sets of images for a face detection neural network. The next thing I want to do is to write a method that allows me to read that saved grayscale images pixel values back as singular grayscale values from the RGB values that were used to save the jpeg. I used this code to create the 2D array of grayscale pixel values
          for (int i = 0; i < imageWidth; i++)
                for (int j=0; j <imageHeight; j++)
                    grayRGB[i][j] = (rgb[i][j] & 0xff000000) | (eqGray[i][j]<<16) | (eqGray[i][j]<<8) | (eqGray[i][j]);
                    img.setRGB(i, j, grayRGB[i][j]);
                }and then used this code to resize the image:
            BufferedImage resized = new BufferedImage(20,20,1);
            Graphics2D g = resized.createGraphics();
            g.drawImage(img, 0, 0, 20, 20, null);
            g.dispose();my class gets the RGB values on instantiation as follows:
            //get RGB pixel values for image loaded
            for (int i = 0; i < imageWidth; i++)
                for (int j=0; j <imageHeight; j++)
                    rgb[i][j]= inputImage.getRGB(i,j);
                    //perform bitwise shift rgb information values to obtain appropriate values for each colour pixel
                    r[i][j]=  (rgb[i][j] >> 16) &0xff;
                    g[i][j]=  (rgb[i][j] >> 8) &0xff;
                    b[i][j]=  (rgb[i][j]) &0xff;
                }Is there a way to get the grayscale values directly from an image that is already converted to grayscale without having to perform the grayscale conversion method again, perhaps using a similar bitwise shift?
    Thanks
    Nick

    answering this myself for those lost souls like i was a while ago:
    the answer is very simple when you get to know it :) : use a signed type for your image. this can be achieved by using the Format Operator (javax.media.jai.operator.FormatDescriptor). an example as follows :
            BufferedImage bufferedImage= someimage...
            ParameterBlock pb = new ParameterBlock();
            pb.addSource(bufferedImage);
            pb.add(DataBuffer.TYPE_SHORT);
            RenderedImage formattedImage =
                    JAI.create("format", pb, null);
    // you may use as well TYPE_DOUBLE or TYPE_FLOATimage could be of any type such as PlanarImage, BufferedImage, RenderedImage etc..
    then all you need to do is read your pixel values by using an iterator such as RectIter or RandomIter to access pixel values etc..
    San

  • Colour changes when saving images as JPEGS/PNGS in Photoshop CS6

    When I save my .PSD files as .JPEGS the colour of the images change drastically.
    I never experienced this issue in CS 5 or 5.5, and am only experiencing it now as I just switched over to CS6.

    Wow … another one of those threads, it seems.
    What are your Edit > Color Settings, do you embed the profile on saving, in which application do you observe the change, …?

  • Flash not reading colour correctfrom an external PNG? Bug? Or am I missing something?

    Hi guys and gals.
    I have a very interesting bug I think.. Wondering if there is
    a way around the problem I'm having.
    ok.. Very Very simply script here..
    Make new flash movie..
    On frame one.. put this code.
    r=this.createEmptyMovieClip('currentImageMask',this.getNextHighestDepth());
    r.loadMovie('test.png');
    (because I'm lazy and didnt put in loading detection... on frame
    20 put this code.
    import flash.display.BitmapData;
    image_bitmap = new flash.display.BitmapData(r._width,
    r._height,false);
    image_bitmap.draw(r);
    curr_colour = this.image_bitmap.getPixel(5, 5); //0
    trace(curr_colour.toString(16));
    stop();
    Now... make a simple image with the rgb colour 100,100,100
    filled in it. (Mine is a simple 50x50 pixel image filled with that
    colour. save the png as "test.png" and put next to the fla with
    code above. You will see that the colour returned in the trace is
    not the hex value that matches color 100,100,100... it matches
    99,99,99. Flash isnt reading the colour correctly...
    Now this same test returns the correct color and works fine
    if using a .gif or a .jpg. but I cannot do what I want with these
    formats. it must be a png.. .it must read the rgb value 100%
    correct every time and the image MUST be loaded from an external
    file.
    It seems that regardless the rgb is off by one. so if colour
    was 25,25,25 it would be returned as 24,24,24
    Is there any other way to do what I need to do.. or is there
    a bug in my code.. please anyone help.. I'm pulling my hair out
    with what should be a simple damn thing to do.

    There are two reasons why I cant/wont to do that ....
    1... If it is a bug.. Adobe will fix it and my program will
    break... (Ina lot of places)
    2... the colour 0,0,0 comes back 0. teh coloru 1,1,1 also
    comes back 0... So regardless I cnat tell teh difference between
    0,0,0 and 1,1,1... (This is very important for the program to
    accuratly determine these colours)

  • How to resize layer in percentage relative to image size?

    Hi,
    Say I have an image that is 100x100 pixles. And I want to take one of the layers and resize it to 50% of the image size, so that it is 50 pixles. How can I accomplish that?
    The reason I ask, is that have multiple images all with different size. But I have a signature (ie. watermark) that is always the same size. I want to be able to place this signature, and then resize it to XX% of the image it was placed on. That way, it should always have the same proportions.
    Thanks in advance!

    You can scale by percentage of the original layer size going to Edit > Transform > Scale. In the transform options menu, there is an option to scale by percentage - just make sure that you click on the link icon between the Height and Width fields to maintain the aspect ratio of your layer.
    However, if you wanted to scale a layer relative to the canvas size, I think you would need to do some scripting or use actions... you might want to ask around on the Photoshop General Discussion or Photoshop Scripting forums to see if anyone has a solution.
    Kendall
    (Edited - misinterpreted original question)

  • Keying video that has similar colour background, advice please-image included.

    Last-year I visited America, and on the last day managed to secure an interview with a WW2 Ace, which had to be done within a very short time span.
    Unfortunately this left me with a situation that I couldn't really control, and so I am in a situation where I need to add a background to footage (doesn't need to be perfect, so a fringe would be acceptable), but I wonder if anyone can give me steps on how to best remove the Pilot from the plain background.
    An image can be seen here from the footage:
    http://www.atgo72.dsl.pipex.com/key.jpg
    As you can see, his shirt and hair are very similar to the background colour, so I have had difficulty colour and chroma-keying.
    I am wondering if it is possible to key him out of the background, or whether I'm chasing my own tail?
    Any help would be much appreciated, cheers, Neil.

    Here is my feeble attempt.
    http://img135.imageshack.us/img135/3345/keyout.png
    How: create a simple travelling mask and keyframe the movement of person try avoiding too few bezier points for easier, this is helpful for keying purposes so that the keyer has less areas to key out and in the end you can additionaly adjust mask expansion and feather at your needs >> Keying: i used at least 4 instances of color key and play around with color, color tolerance and feather of each instance >> add matte choker, adjust >> ad simple choker, adjust.
    NOTE: Ae does not update changes very well, means every slider adjustment must be done by little increments, so adjust a little, release, adjust, release, to get the preview done this is pretty awful but it works somehow.
    COMP PREVIEW MUST BE SET @ FULL QUALITY otherwise at half resolution results vary very heavy - thats the next flaw, hopefully better in CS5
    much luck.

  • Changing fill colour for partly transparent images

    Does anyone know how to change the fill colour used for partly transparent images? I have a bunch of PNGs that I made for use as clip art, which I imported into iPhoto (that way I can use the media browser with Pages and Keynote).
    Unfortunately, the images (which are black) are shown on top of a black rectangle both in iPhoto and the media browser. I've tried changing the background colour to both gray and black, but the 'fill' colour stays black.

    There's no way to change it if you want to keep the transparency for use in other applications or web pages.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

Maybe you are looking for

  • Two T61's - connected, yet not resolving - other computers do

    Hello All, We have two identical T61's that suddenly stopped (even though connected to the wireless router both wirelessly and hard wired) resolving to anything on the Internet, including email client activity, etc.   Anoher older R52, which I am sen

  • IMac doesn't load any Windows Install CD

    After using Parallels and finding out, that i needed more speed and 3d graphic I wanted to install windows with BootCamp. I made a partition, put the Windows CD in, pressed Install and it restarted. Now if I don't press Alt, nothing happens, grey scr

  • 4507R+SUPII_Plus Redundancy Problem

    Dear Professionals I have 4507R + 2 X SUPII_Plus + cat4000-i9s-mz.121-19.EW1.bin Following dump seems to be not configured correctly to redundancy. What can I do to fix this problem. ------------------ show running-config -------------- redundancy mo

  • Send Article via email

    Has anyone ever seen sites where you can click on a link and send the article you just read to a friend by entering in their e-mail address? Is there anyway to do this in portal? I would like to be able to have my users click on a link so they can se

  • JTabbed Pane Icon with Text at bottom of the image

    Hi, Is it possible to use image with text at the bottom of the image in JTabbedpane? can anyone help me to do this? Thanks in advance, Nandha