Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Not able to Convert from JPEG to BItMAP

Ranjan_K_
Beginner
372 Views

Hello ,

 

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 .

Please suggest.

0 Kudos
2 Replies
Sergey_K_Intel
Employee
372 Views

Hi Ranjan,

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.

0 Kudos
Ranjan_K_
Beginner
372 Views

Hello Sergey,

Thanks for reply.

Library :     I am using  ipps-5.1.dll    Version: v5.1 

I got alternative solution ,in JPEGDecoder : Changing The horizontal sampling value of  MONOCHROME2  images from 2 to 1".

Its work fine for me.

Regards,

Ranjan Kumar

0 Kudos
Reply