ColorModel - ColorSpace: generic N (
I'm working on a plugin which is able to read HDF4 format sources.
An HDF4 file may contain several images.
Some of these images may contain several Bands (sometime the number of bands
is greater than 10).
When building a BufferedImage, I need a Raster (SampleModel + DataBuffer)
and a ColorModel.
The SampleModel is not a problem because I can use a BandedSampleModel.
But I don't know how to handle the ColorModel for this type of images.
The ColorSpace class contains "static ints" for generic N component color
spaces (e.g. TYPE_2CLR, TYPE_3CLR, ..., TYPE_9CLR, TYPE_ACLR, ... ,
What I have to do in order to correctly set-up a ColorModel with a 10
components color space?
Is this an achievable task?
Thanks a lot.
To unsubscribe, send email to firstname.lastname@example.org and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
email@example.com and include in the body of the message "help".