0 Replies Latest reply: Sep 6, 2012 4:33 PM by 956947 RSS

    Creating a ColorModel for >4 band images.

      The application I am writing involves the creation of images with over 4 bands. I'm using RasterFactory.createPixelInterleavedSampleModel(int,int,int,int) to create a SampleModel and then using PlanarImage.createColorModel(SampleModel) to create a ColorModel. Problem is that this method always returns null since it cannot create an appropriate ColorModel for the SampleModel. What can I do to make this work? Is it even possible? Is there another approach to creating many-banded images? I'm new to JAI.