Sunday, March 10, 2002 03:28 PM
I am trying to create a BufferedImage
from 3 byte arrays, where each array is
a bitmap for one of the color planes.
The planes are 1 bit per pel and are packed into bytes.
I have tried a variety of ways of getting this to work, to no avail. I consistently get incompatibility errors with respect to the color model and the raster.
Is there a way to get such a construct in java2D?
Thank you in advance!