Hi Guys!
I have generated framebuffer in RGB888 and I would like to convert to to a JPEG format. I am trying to use these APIs, bur so far no success:
// Step 2: Initialize the JPEG compression object
jpeg_create_compress(&cinfo);
//jpeg_start_decompress(&cinfo);
jpeg_start_compress (&cinfo,true);
Can anyone give me more details about what other APIs to use and it would be great if there is a demo example.
Thank you all in advance.
I hope someone would answer my question. I am not sure why I am not getting a reply for none of the questions I submitted recently.
I am trying to compress an RGB888 image using Libjepg library, but for some reasons my code hangs as soon as it call this function: jpeg_set_defaults(&cinfo); I was following the example code used in this APP Note: https://www.nxp.com/docs/en/application-note/AN12110.pdf
In between I am using iMX RT1176A.