TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: kagiac on July 08, 2015, 12:34:28 PM

Title: Display jpg and png on Tiny Screen
Post by: kagiac on July 08, 2015, 12:34:28 PM
I'd like to display a slideshow of images(jpg, png,etc)  from a SD card on the Tiny Screen.   I have the SDshield. Does anyone know how to do this?

Thanks!
Title: Re: Display jpg and png on Tiny Screen
Post by: blant0n on July 09, 2015, 10:03:46 AM
There is a tutorial for displaying static and animated images on the tinyscreen here <https://tinycircuits.hackster.io/tbatey_tiny-circuits/tinyscreen-animated-and-static-images>. There are two different programs there, one is a simple player and the other has a menu to select what video to play off the sd card. I'm assuming that the simple video player will play all the compatible files on the sd card until they are done and then loop back to the start, so that should be good for you. Either way, if you were willing to play with the code im sure you could get either to work for you.
Title: Re: Display jpg and png on Tiny Screen
Post by: kagiac on September 01, 2015, 11:47:56 PM
Thank you for your help. I'll give that  a try.

K
Title: Re: Display jpg and png on Tiny Screen
Post by: Ben Rose on September 08, 2015, 03:29:20 PM
JPG and other compressed formats are not possible, but we have a BMP display example at https://codebender.cc/sketch:86070

Displaying a BMP is still a bit slow- a lot more data has to be loaded from the SD card. blant0n's suggestion of using the tutorial with the converter to a raw format will result in faster display of a single frame.