Updated: April 19, 2023 |
Change the manual white balance color temperature
#include <camera/camera_3a.h>
camera_error_t camera_set_manual_white_balance(camera_handle_t handle, unsigned whitebalancevalue)
Use this function to set the white balance color temperature. The white balance alters the color for the image. The value that you set using this function is only applied when the white balance mode has been set to manual white balance using the camera_set_whitebalance_mode() function with the CAMERA_WHITEBALANCEMODE_MANUAL property.
For more information regarding these manual settings, see the Manual camera settings section, and camera_whitebalancemode_t.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.