i.mx RT1160 JPEG Encode?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.mx RT1160 JPEG Encode?

752 次查看
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 回复数

742 次查看
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 项奖励

746 次查看
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 项奖励