// set to true to allow conversion from CMYK to RGB or YUV that follows simple subtractive scheme public void SetAllowCMYK(int allow_cmyk) { res = NvJpegNativeMethods.nvjpegDecodeParamsSetAllowCMYK(_params, allow_cmyk); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nvjpegDecodeParamsSetAllowCMYK", res)); if (res != nvjpegStatus.Success) { throw new NvJpegException(res); } }