if (altColor != null) {
res = processAllColorSpace(altColor, result);
}
int numberOfColorants = 0;
PDDeviceNAttributes attr = deviceN.getAttributes();
if (attr != null) {
Map colorants = attr.getColorants();
if (colorants != null) {
numberOfColorants = colorants.size();
for (Object col : colorants.values()) {
if (col != null) {
res = res && processAllColorSpace((PDColorSpace) col, result);