Xaio ESP32S3 sense board can't save images in any other format than JPEG

How can I save raw uncompressed images in the SD card for XAIO ESP32S3 sense board? Whenever I try to change the format to PIXEL_GRAYSCALE and save as JPEG, it saves corrupt images. Can anyone please point me directly to the code?

Simply write the image array out to SD card.

JPG is designed for compressing color images, and is not really suitable for B&W images. You can see the problems using this converter web site: Create Black and White JPG – Online JPG Tools

1 Like