posted 19 years ago
The PixelGrabber api has an example that shows how to access the ColorModel int[].
This example works in older j2se versions. If you are using j2se 1.4+ you can load your image(s) with ImageIO.read which returns a BufferedImage. In the BufferedImage api you can then use the method getRGB to get your color information.
The PixelGrabber uses a default RGB ColorModel (see PixelGrabber constructor detail). More information is available in the DirectColorModel api.