tags:

views:

56

answers:

1

I know that most screens are RGB, but is there a way in Java to detect if a display is physically using RGB or BGR order?

(note that I'm definitely not talking about the way images are stored in software nor in the video card's memory but about the physical property of the display(s) the Java app is running on)

+2  A: 

There's no feedback from the screen that will identify it as one type or the other. The only method I know is to present the user with two choices and have them select the one that looks best.

Mark Ransom
@Mark Ransom: wait, you mean there's no feedback at all or only no feedback accessible from pure Java?
Webinator
@Mark Ransom: hmmm now I seem to remember Microsoft's ClearType (their renamed version of sub-pixel AA / "rgb decimation") allows the user to pick between RGB/BGR, which kinda makes sense if there's no way for the OS to get this info from the monitor.
Webinator
@Webinator, yes that's what I was basing my answer on - if Microsoft couldn't do it, what chance do us mere mortals have?
Mark Ransom