Is there a good way to determine what order should the bands be passed to a ByteLookupTable passed to a LookupOp? My source is an RGBA BufferedImage, but the bands can be in any order allowed by a BufferedImage, e.g. ARGB, RGBA ...
Also, is there any easy way to find out what changed in the LookupOp between Java 6 & 7? Thanks.
When communicating through the Raster, the bands are based on the color space. Band 0 will always be red, 1 for green, 2 for blue, and 3 for alpha.
Said another way, if I called getSample() for band 0 of the first pixel, I would get the same result whether the image is BGR, ABGR, RGB, ARGB, or any other rgb format. I would get the red component of the first pixel.