ESP32-CAM image hex data does not end with "ffd9"

Hi everyone!
We know that there are some indicators of a file's beginning and ending. For example, the JPEG one is "ffd8" at the beginning, and the end of the file is "ffd9".

My problem is that sometimes when my ESP32-CAM board takes a picture, the data does not end with "ffd9". (The expected JPEG file is ffd8...........ffd9). I am taking photos corrupted with random possibilities for no reason.

Anyone know that under what conditions this corruption can be happening?

Faulty code, intermittent connections or inadequate power supply come to mind.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.