cancel
Showing results for 
Search instead for 
Did you mean: 

Loading a PNG Image from USB

Priyank
Senior

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;
	}

 

0 REPLIES 0