boolean hasAlpha = false;
boolean isAlphaPremultiplied = false;
int transparency = Transparency.OPAQUE;
int transferType = dataType;
int[] nbits = { bitsPerPixel };
ColorModel colorModel = new ComponentColorModelJAI(colorSpace, nbits, hasAlpha,
isAlphaPremultiplied, transparency, transferType);
SampleModel sampleModel = colorModel.createCompatibleSampleModel(sampleImageWidth,
sampleImageHeight);
its = new ImageTypeSpecifier(colorModel, sampleModel);
return its;
}