Updated: October 28, 2024 |
Set the brightness value on the camera
#include <camera/camera_api.h>
camera_error_t camera_set_brightness(camera_handle_t handle, int32_t brightness)
Use this function to increase or decrease the brightness on the camera. Brightness controls the luminosity of the pixels in an image. You can call camera_get_supported_brightness() to determine the available brightness values that can be used.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.