Read JPEG then copy to second CIppImage write corrupted
Hello, I have a very small application where I'm reading 1 image,
copying it to another CIppImage and attempting to encode the second
image but the Encoder fails to encode the second image. The failure
happens on the WriteData portion of the encoder.
If I simply decode the JPEG into a CIppImage and then re-encode that same CIppImage, then everything works fine.
The SaveImageJPEG and ReadImageJPEG are the methods that are provided in jpeg.cpp/h in picnic application.
I'm running this against IPP 6.1.2.041.
I'm certain that I'm doing something really stupid in initializing the copyImage but can't figure out what.
Edit: I have even tried to use CIppImage's method CopyFrom ( ). to copy all data from 1 CIppImage to another, but I still get failures on encoding.