Skip to content

MuffinLightning/chroma-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ChromaLib

Logo

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.

Usage

  • 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

Examples

Bejeweled Solver

ToDo

  • Identify dominant color in pixel range

About

A Java library for color-identification purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages