How do you tell the color value of a pixel in an image data

Hi,
Given a BufferedImage of type, say BufferedImage.TYPE_4BYTE_ABGR, how do you tell the color value of a pixel in the image?
Specifically, in the following code:
Raster imgData = image.getData();
int x = imgData.getMinX();
int y = imgData.getMinY();
int width = imgData.getWidth();
int height = imgData.getHeight();
I want to search the raster looking for a specific color, e.g., Color.WHITE.
According to the API, "getSample()" may be used for this purpose. But, how do you know which color band a band index parameter in getSample() refers to? Does band index of 0 always refer to the RED band? Does band index of 1 refer to the GREEN band? etc.
I'd greatly appreciate any help you may be able to provide.
Thanks,
--HS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

In the print dialog underneath the settings for number of copies and print range you should see a dropdown menu probably called Layout. If you don't see that look for a button labeled Details and click it.
Under the Layout menu you should find an option labeled Printer where you will find Printer specific options. Look for something there. You might also find an option called Color which may have options you are looking for.
If this doesn't help, go to the printer manufacturer's website and look for answers there.

Similar Messages

  • How do you change the color of the title text?

    The main title text for the tap your currently on shows up centered one line above the tab row. The default is black text, with a gray drop shadow, but that doesn't work with dark background themes/personas. How do I go about changing that text color so that its visible on a dark background. I've tried changing font stylings in general for the browser, and I've tried changing the color values in the about:config for the persona, but none of that works. How do you change the color of the title text?

    That colors option under content doesn't change the color of the title text, but thanks anyways

  • How do you change the colors of individual cells within a 2D array?

    How do you change the colors of individual cells within a 2D array of numeric indicators?
    I want the VI to check a data value and if it is failing, white out a square at a specific index coordinate.  I have it working with color boxes, but I'm not sure how to use the property node function, to change the color of individual cells, by coordinates.
    I have attached the VI using color boxes. If you run the VI, the box corresponding to the Step control should turn white.
    I want to do the same thing, using numeric indicator boxes inside the array.
    Thanks for any suggestions...
    Attachments:
    Fill DME matrix.vi ‏95 KB

    Get rid of all these sequences! That's just bad form.
    Your code has a few logical problems. Why do you create a boolean array if you later only look at the last element (Yes, the FOR loop does nothing useful, except in the last iteration because your outputs are not indexing. All other iterations are useless, you only get the result of the last array element. My guess is that you want to color the index white if at least one of the numbers is out if range. Right?
    It is an absolute nightmare to manage all your numeric labels. Just read them from a 2D array. Now you can simply find the index of the matched elements and don't have to spend hours editing case structure conditions.
    Attached is a simple example how you would do what I meant (LV7.1). Modify as needed.
    Message Edited by altenbach on 04-04-2006 02:04 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Fill_2DME_matrixMOD.vi ‏70 KB

  • How do you change the color of events on ICal.

    How do you changed the color of events on ICal? I was able to do this when I utilized ICal on the Snow Leopard system but can no longer do this with Lion.
    I know that I can select the Calanders list, but when I create a new "Calander" it doesn't allow me to choose a color and it doesn't show up in my list when working within an event.
    Thanks!

    Phoebe,
    Right-click on the new calendar and select "Get Info."
    Make sure that the ✓ mark is selected.
    Then choose the color from this pane:

  • With IOS 7.0 How do you change the Color Red, that shows up on the Calendar to another color? People with certain eye problems cannot tolerate the color Red.

    How do you change the Color Red, that shows up on various points of the Calendar to another color? Persons with certain eye problems have visual irritations that can be caused by the color Red. This problem came up with the update to IOS 7.0.

    Sorry but you cant

  • How do you tell the free hard drive space on macbook pro 10.6.8

    how do you tell the free hard drive space on macbook pro 10.6.8

    Open Activity Monitor and look at the drive space info
    see graphic here
    Why is my computer slow?

  • How do you tell the sequence of a TV series in iTunes?

    Hi,
    I've never downloaded a TV series before in iTunes and I am wondering how do you tell the order of the "chapters"?  I don't see any sequence information.  For example, I am interested in downloading the series called "The Walking Dead" but I don't know how to tell what order to watch them in.  Any hints?
    Thanks.
    Dave

    Simply double click on the playlist name.
    Really easy
    Let me know

  • How do you change the color of a MobileMe calendar group?

    How do you change the color of a MobileMe calendar group?

    Are you using MobileMe? If not, the colors do not match unless you implement the rather painful workaround of loading the calendars one at a time, in the order that the iPhone assigns them (red, orange, blue, green, purple).

  • How do you change the color of the appointments that show up in Calendar?

    How do you change the color of the scheduled appointments in calendar? All of mine seem to show up in red when they are actually in blue on my computer.

    Many others are experiencing this problem as well.. I personally have eleven different calender in iCal with assigned colors, all of which are different colors on my iPhone iCal.
    It seems that as of now there is no fix for this bug and that we'll just have to wait for Apple to recognize the issue.

  • How do you change the color of the sign and fill text to the color blue

    How do you change the color of the sign and fill text to the color blue in a pdf document

    Is this using the "Fill & Sign" tab of https://cloud.acrobat.com/fillsign (for now text input is only black) or maybe using the Fill & Sign tool in Adobe Reader XI, or another application? 
    Thanks,
    Josh

  • How do you change the color of the texting bubbles

    Help how do you change the color of the texting bubbles

    You don't.
    iPhone User Guide (For iOS 5.0 Software)

  • How do you tell the difference between a genuine USB to Lightning cable? I spoke to two different operators at Apple Support. One said that it has Designed in California Made in China and the serial number on it, and the other operator said it didn't

    How can you tell the difference between a genuine Apple lead and the cheap, or sometimes not so cheap imitations? I spoke with two people at Apple Support - one said that it has Designed in California Made in China and the serial number stamped on it, and the other said it didn't. Come on guys, how are we supposed to tell if you can't? I'd really like to know how to identify my lead amongst my daughter's gazillion fakes?

    All my cables are genuine either with the devices or from Apple retail Store I have never found a serial number on any regardless of which length ,I have all three lengths
    In fact they have nothing printed at all only a USB logo at relevant end

  • How can you tell the difference between ipad 2 and ipad 3 ?

    I need to know how can you tell the defferance between the Ipad 2 and Ipad 3 by just looking at it ?

    Well it hard to tell if you don't have the two side by side and compair it to...

  • How do you change the color scheme in new OS?, How do you change the color scheme in new OS?

    How do you change the color scheme in the new OS?

    and what does apple says about this?

  • How do you retrieve the USR_LOCK value?

    How do you retrieve the USR_LOCK value, it cant be mapped directly on the process task right?
    You writed custom JAVA code?
    Thanks in advance.

    If by any change you want this with 11g APIs then you can use http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/identity/usermgmt/vo/User.html#getManuallyLocked__ and http://docs.oracle.com/cd/E14571_01/apirefs.1111/e17334/oracle/iam/identity/usermgmt/vo/User.html#getAccountLockedDate__
    HTH,
    Bikash

Maybe you are looking for

  • AC 5.3 RAR - combined risk analysis reports for regular auth. and SPM auth.

    Dear All, we have users that have regular day-today authorization and also FF authorization. Does the Batch Risk Analysis takes into account both authorizations when doing the risk analysis for those users ? will we see it in the reports ? Thanks Yud

  • AirPort Problems [I know posted already, but read]

    hey guys, These AirPort problems are really really getting on people's nerves. 10.5.1 was perfect for most, and now after updating to .2, us .1 100% connection, the connection drops every couple of minutes. I'm on a Macbook 2.2 (White), and so I have

  • Urgent help on SAP BW3.5 GST Query Changes

    Dear Experts, Need your urgent help in modifying a query. Requirement: The Query has two different hierarchy node structures in 1 hierarchy itself. This hierarchy is used in report where we can now see 2 different node structures added, for which the

  • Jato 1.2 Log class

    Hi How can i set log level(Examle : JATO_TRACE ,APP_TRACE) for this new Log class(Jato 1.2).Can i read this log level from a properties file. Thanks in advance Shyam Gotur

  • How does sapinfo.exe works?

    Can any one explain how the tool <b>sapinfo.exe</b> works? If any one has any document regarding this tool(how it works) please share the same with me. Thanks, cvr/