Image format of Argus library

Dear Sir/Madam,

i’m mingu.

Now, i use argus library in jetson TX2 board for camera controls.
(camera model : LI-JETSON-KIT-IMX377CS-X of Leopard Imaging)

I’ve looked at the examples codes from Argus library.
Examples was saving the pictures in jpg format.

I learned that the examples save the images in .jpg format.

Is it possible to save in other formats like bmp?

If possible please help me how to do it.
Thank you.

This sample is use NvJPEGEncoder, you can use any others linux API to implement it as you want.

Is there samples to use bmp format?

Which linux API can i use to save in bmp format?

This may help.
https://github.com/morrowind/yuv2bmp