convert an RGB888 image to JPEG image

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

convert an RGB888 image to JPEG image

2,780件の閲覧回数
farid_mabrouk
Contributor II

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.

 

0 件の賞賛
返信
2 返答(返信)

2,764件の閲覧回数
farid_mabrouk
Contributor II

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.

0 件の賞賛
返信

2,670件の閲覧回数
zhouqi
Contributor II

 

スポイラ

Hi farid_mabrouk

   I have the problem with how to get a RGB888 capture from CSI.

   Would you give me so

スポイラ
スポイラ
 

 

0 件の賞賛
返信