SyntaxT3rr0r
SyntaxT3rr0r

Reputation: 28293

Java: detecting if a display is RGB or BGR

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)

Upvotes: 1

Views: 1699

Answers (1)

Mark Ransom
Mark Ransom

Reputation: 308206

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.

Upvotes: 2

Related Questions