How to convert RGB to BGR?
Posted
by Adam
on Stack Overflow
See other posts from Stack Overflow
or by Adam
Published on 2010-06-14T22:57:42Z
Indexed on
2010/06/14
23:02 UTC
Read the original article
Hit count: 492
java
|color-scheme
This is probably easy, but I'm trying to convert from a source which provides colors in RGB strings to an output in BGR strings in Java. I've been busting my brain and time on shifting and Long.decode and Long.toHexString.
Feel free to also throw alpha values in there (RGBA -> ABGR), though I think I can extend the principles.
© Stack Overflow or respective owner