From 1af1796ee09697a6a37d8d06970dc511a9604fac Mon Sep 17 00:00:00 2001 From: SybexX Date: Sat, 4 Jan 2025 13:30:25 +0100 Subject: [PATCH] Update ClassControllCamera.cpp .jpeg_quality = 6 can cause problems with some cameras --- code/components/jomjol_controlcamera/ClassControllCamera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/components/jomjol_controlcamera/ClassControllCamera.cpp b/code/components/jomjol_controlcamera/ClassControllCamera.cpp index cfc62a88..075b2373 100644 --- a/code/components/jomjol_controlcamera/ClassControllCamera.cpp +++ b/code/components/jomjol_controlcamera/ClassControllCamera.cpp @@ -98,7 +98,7 @@ static camera_config_t camera_config = { .pixel_format = PIXFORMAT_JPEG, // YUV422,GRAYSCALE,RGB565,JPEG .frame_size = FRAMESIZE_VGA, // QQVGA-UXGA Do not use sizes above QVGA when not JPEG // .frame_size = FRAMESIZE_UXGA, //QQVGA-UXGA Do not use sizes above QVGA when not JPEG - .jpeg_quality = 6, // 0-63 lower number means higher quality + .jpeg_quality = 12, // 0-63 lower number means higher quality .fb_count = 1, // if more than one, i2s runs in continuous mode. Use only with JPEG .fb_location = CAMERA_FB_IN_PSRAM, /*!< The location where the frame buffer will be allocated */ .grab_mode = CAMERA_GRAB_LATEST, // only from new esp32cam version