Read image from sd card

Hi i’m trying to just read an image from de sd card, i already managed to save an image to the sd card like this“example.jpg”), it perfectly saves a snapshot to the sd card, now i need to read an image saved for further machine vision processing , how do i just read an image stored in the sd card ? thanks a lot.

Hi, save the image as a .ppm file. PPM for RGB565 and PGM for GRAYSCALE.