i.mx RT1160 JPEG Encode?

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

i.mx RT1160 JPEG Encode?

753件の閲覧回数
Cococarbine
Contributor II

Hello,

I was wondering if there was an example for encoding a YCbCr or RGB565 image from the camera.  I saw there was a jpeg decode example, just not an encoding example.

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

743件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Cococarbine,

There is not an encoding example available on the i.MRT1160 SDK. The example available for decoding does contain libraries that can perform several operation with the jpeg format but you would need to review the input required and perform any necessary conversions from the camera to the jpeg libraries.

My apologies for the inconvenience.

Regards,
Gustavo

0 件の賞賛

747件の閲覧回数
pdgendt
Contributor II

You can take a look at https://github.com/nothings/stb/blob/master/stb_image_write.h for a simple header only implementation.

Conversion to YCbCr or RGB565 is not supported though.

0 件の賞賛