Hi lists,
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, ... , TYPE_FCLR).
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.
Best Regards,
Daniele
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
- [JAVA2D] ColorModel - ColorSpace: generic N (<16) com... Daniele Romagnoli
- Re: [JAVA2D] ColorModel - ColorSpace: generic N (&l... Jeannette Hung
- Re: [JAVA2D] ColorModel - ColorSpace: generic N... Daniele Romagnoli
- Re: [JAVA2D] ColorModel - ColorSpace: gener... Jeannette Hung
- [JAVA2D] Copy a subimage of a BufferedImage Denis Bueno
- Re: [JAVA2D] Copy a subimage of a BufferedImage Chris Campbell