numBits[1] = bits;
}
int transparency = hasAlpha ? Transparency.TRANSLUCENT : Transparency.OPAQUE;
ColorModel model = new ComponentColorModel(colorSpace, numBits, hasAlpha, isAlphaPremultiplied, transparency, dataType);
return new ImageTypeSpecifier(model, model.createCompatibleSampleModel(1, 1));
}
public static ImageTypeSpecifier createIndexed(byte[] redLUT,
byte[] greenLUT,