Can I displlay jpg or png images from SD card on a 3.2" display using arduino?
If you mean to do .c file from that image I already tried to do that
but, .bmp images only!
QuoteIf you mean to do .c file from that image I already tried to do that I can just about imagine doing JPEG decoding on a Mega, for a very restricted set of JPEG files.It would be exceedingly slow, and an exercise in advanced hair-loss.It may be possible to do some other form of compression on the image, but it really depends on the image content.If you've already got an SD card, store the image in a file as a BMP.
Not quite correct there loadBitmap() will only load raw, pre-processed files, but a conversion tool for Windows is included with UTFT, and there is also an online version on my website./Henning
It's possible on the Mega for almost all JPEGs (only progressive jpegs are not supported), costs only 2.5Kb of SRAM while decoding and it's surprisingly fast. See my demo video at the bottom of this article. It won't work on the standard (2Kb SRAM) arduino - the huffman tables are just too large.
..or is it more complex than that?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16