rawImage.setRawColorspace(JPEGColorSpace.CMYK);
colorConvertor = new InverseColorConvertor();
break;
case 2:
rawImage.setRawColorspace(JPEGColorSpace.YCCK);
colorConvertor = new YCCK2CMYKColorConvertor();
break;
default:
/* assume it's YCCK */
rawImage.setRawColorspace(JPEGColorSpace.YCCK);
colorConvertor = new YCCK2CMYKColorConvertor();
break;
}
} else {
/* No special markers, assume straight CMYK. */
rawImage.setRawColorspace(JPEGColorSpace.CMYK);