Search found 3 matches
- Thu Mar 11, 2021 12:10 pm
- Forum: ESP32 Arduino
- Topic: [Solved] fmt2rgb888() returns TRUE but doesn't work
- Replies: 3
- Views: 4143
Re: fmt2rgb888() returns TRUE but doesn't work
Since I am using the AI-Thinker ESP32-Cam and have psram memory associated with it. Now that I've educated myself on these intricacies, it's pretty easy to fix that actually. I just have to use the malloc variant (ps_malloc) to save _rgb888_buff in the psram. I just have to replace line 25 of my "ca...
- Thu Mar 11, 2021 9:01 am
- Forum: ESP32 Arduino
- Topic: [Solved] fmt2rgb888() returns TRUE but doesn't work
- Replies: 3
- Views: 4143
Re: fmt2rgb888() returns TRUE but doesn't work
Thank you for the quick reply. Hmm I added a few lines to allocate a memory of the desired size but it looks like the buf always points to NULL after allocation. static esp_err_t capture_handler(httpd_req_t *req) { camera_fb_t *fb = NULL; esp_err_t res = ESP_OK; size_t _jpg_buf_len = 0; uint8_t * _j...
- Thu Mar 11, 2021 1:47 am
- Forum: ESP32 Arduino
- Topic: [Solved] fmt2rgb888() returns TRUE but doesn't work
- Replies: 3
- Views: 4143
[Solved] fmt2rgb888() returns TRUE but doesn't work
Hello, I have a problem in my program and I haven't figured out how to fix it, so I'm calling on your enlightenment! I am currently programming with an ESP32-CAM and trying to get an image in RGB888 format. As we cannot take the image directly in the desired format, the most obvious way is to take t...