Bodmer / JPEGDecoder

A JPEG decoder library
Other
220 stars 64 forks source link

using my own pictures #52

Closed tarbear123 closed 3 years ago

tarbear123 commented 3 years ago

can I rename "arduino.jpg", FILE_READ to the file my pictures are in? also, can I replace if (SD.exists("arduino.jpg")) with my folder my picture are in

tarbear123 commented 3 years ago

can I rename "arduino.jpg", FILE_READ to the file my pictures are in? also, can I replace if (SD.exists("arduino.jpg")) with my folder my picture are in

hello?

Bodmer commented 3 years ago

You can rename files. The decoder library needs to be provided with file names of the jpeg files to decode. Check the SD library documentation, the "exists" function is not part of the JPEGDecoder library.