Hello!
I am new to m5stack, arduino/micropython and ESP32 development overall, and I was wondering if anybody here could help me and give me advice what would be best way to go about displaying larger jpg images (~1MB) directly from web on m5paper.
I was able to draw small example image "flower.jpg" using
canvas.drawJpgUrl("https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/example_pic/flower.jpg");
But I understand I cant draw larger images this way, directly from the web, so I was thinking I would download the image to SD card first and then display it (since that works for large images)
Any ideas if there is a better way to do this and what I should look into?
Thank you!
PS: I found that maybe I could modify this example to download images, but it is a bit complicated for me to understand everything:
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266HTTPClient/examples/StreamHttpClient/StreamHttpClient.ino