Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

Corrupt JPEG Output

turks
Beginner
105 Views
Using Picnic in the IPP 6.0 update 1, if you open the attached bmp file and save as jpeg using the settings :
Bas, 444, Use Huffman, RGB, quality=75
The resultant jpeg file will be grayscale and distorted.

Can you reproduce ?

Thanks
0 Kudos
1 Reply
Sergey_Ryadno
New Contributor I
105 Views
Quoting - turks
Using Picnic in the IPP 6.0 update 1, if you open the attached bmp file and save as jpeg using the settings :
Bas, 444, Use Huffman, RGB, quality=75
The resultant jpeg file will be grayscale and distorted.

Can you reproduce ?

Thanks

try to change in jpeg.cpp in functionSaveImageJPEG() this line

dataOrder.LineStep() [0] = geometry.RefGridRect().Width() * nOfComponents * du;

to this

dataOrder.LineStep() [0] = image.Step();

Reply