I am using IPP library for conversion of JPEG to BMP file. Lib is Not able to convert to BMP data if file has
Photometric Interpretation = MONOCHROME2 and Sample Per Pixel is 1.I am getting IppJpeg.JERRCODE.JPEG_BAD_SAMPLING Error .
It is working fine if Photometric Interpretation = RGB/YCBr and Sample Per Pixel is 3 .
What IPP library version, function, IPP sample do you mean?
Though, IPP doesn't support JPEG decompression for quite long, may be we could provide some hints.