A Java library created to make color-identification easier & simpler for screen-bots. Streamlines and removes the need of juggling between Java's Color, BufferedImage, and Robot classes.
Currently a work in progress.
-
getColor(int x, int y) // Returns integer representation of color
-
getRGBAry(int x, int y) // Returns an integer array containing RGB values of the pixel
-
getHSB(int x, int y) // Returns a float array containing HSB values of the pixel
-
isWhite(int x, int y) // Returns a boolean
- Identify dominant color in pixel range