Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. doubleness
    D
    • Continue chat with doubleness
    • Start new chat with doubleness
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    doubleness

    @doubleness

    1
    Reputation
    4
    Posts
    925
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    doubleness Follow

    Posts made by doubleness

    • RE: M5Paper: How to display large jpg image from web (or download it to SD card)

      @felmue Thanks Felix, I tested different urls with several jpg images and it is really working.

      I was probably testing either images with wrong format or simply didn't wait long enough until the image is drawn. And not sure why, I was under impression that images need to be smaller than 50KB ... my bad.

      Thanks again, you saved me a lot of headache :)

      posted in SOFTWARE
      D
      doubleness
    • M5Paper: How to display large jpg image from web (or download it to SD card)

      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

      posted in SOFTWARE
      D
      doubleness
    • RE: [M5Paper] UiFlow support

      @world101 @ajb2k3

      Thank you guys it works! You saved me :) ... finally I can switch to micropython, programming using arduino IDE was kind of slow and painful

      posted in Features Wish List
      D
      doubleness
    • RE: [M5Paper] UiFlow support

      @felmue Hey, are you able to run the code on your device? Not sure what I am doing wrong, I burned UiFlow alpha version, and connected to my device, also it seems like code is being uploaded to m5paper device, and screen refreshes probably restarting, but nothing shows up in the screen.

      Everytime I try to upload the code I get warning ' Lack block "Set screen set show" or "Set screen parital show" '

      Not sure what I am doing wrong, any idea?

      posted in Features Wish List
      D
      doubleness