Saving images to SD

  • Hi,

    Does someone have an example on how to save images to the SD? I want to save screenshots of my M5Stack. Ideally, it would be nice to save in PNG format. But BMP should be OK since the images are small.

    I got it working on a M5Stack Fire, but it needs to use the PSRAM and unfortunately, the building with PSRAM enabled is very buggy.