ByteArrayInputStream bais = new ByteArrayInputStream(ary[1].getStream());
ICC_Profile profile = ICC_Profile.getInstance(bais);
value = new PDFColorSpace(new ICC_ColorSpace(profile));
} else if (name.equals("Separation") || name.equals("DeviceN")) {
PDFColorSpace alternate = getColorSpace(ary[2], resources);
PDFFunction function = PDFFunction.getFunction(ary[3]);
value = new AlternateColorSpace(alternate, function);
} else if (name.equals("Indexed") || name.equals("I")) {
/**
* 4.5.5 [/Indexed baseColor hival lookup]