ARDK 1.5.6
Reads the current camera frame and converts it to the requested format.
This operation may involve copying and converting the camera image and can therefore be expensive. It should normally be executed on a background thread rather than on the rendering thread.
Return
The captured camera frame.
Parameters
The desired output image format.
Maximum size, in pixels, of the image's shortest side. A value of 0 disables resizing. Images whose shortest side is already smaller than or equal to this value are also preserved without resizing. This parameter applies only when format is CameraFrame.Format.JPEG or CameraFrame.Format.PNG.
The compression quality used when format is CameraFrame.Format.JPEG.