2025-10-22 2:17 PM
Hello, I would like to know if there are any methods to load PNGs/JPGs from a USB for the stm32 (I am on stm32F7). I currently imported lodepng but, it seems the malloc used by it is way too large for the device. The png I am loading is relatively small, 185 x 43.
unsigned err = lodepng_decode24(&img, &w, &h, file, fileSize);
if(err)
{
return MEMORY_ERROR;
}