🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    [closed] Images not working

    UIFlow
    3
    12
    18.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lukasmaximusL
      lukasmaximus
      last edited by

      working fine for me. are sure you did all the steps, manager > upload less than 25 kb image > drag an image placeholder on UI area, select it and choose your uploaded image from the dropdown list? I have occasionally had weird results from certain files. Have you tried other files beside the one your trying to display?

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @lukasmaximus
        last edited by

        @lukasmaximus It will only allow me to upload BMP or JPG but Bmp have to be super compressed.
        Yup followed those steps but just get a black odd shaped box.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        S 1 Reply Last reply Reply Quote 0
        • S
          salty_good @ajb2k3
          last edited by

          @ajb2k3 I had seen a tweet on twitter.

          JPG format needs some conditions.
          ・progressive off
          ・not Matte color

          and use MS paint is no problem.

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @salty_good
            last edited by

            @salty_good said in Images not working:

            @ajb2k3 I had seen a tweet on twitter.

            JPG format needs some conditions.
            ・progressive off
            ・not Matte color

            and use MS paint is no problem.

            i'm on osx and using G.I.M.P

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            S 1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3
              last edited by

              Is there a detailed specification for images somewhere?

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • S
                salty_good @ajb2k3
                last edited by salty_good

                @ajb2k3 i found out this.

                https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display#tftimagex-y-file-scale-type

                • JPG images are supported.
                  Baseline only. Progressive and Lossless JPEG format are not supported.
                  Image size: Up to 65520 x 65520 pixels
                  Color space: YCbCr three components only. Gray scale image is not supported.
                  Sampling factor: 4:4:4, 4:2:2 or 4:2:0.

                • BMP images are supported.
                  Only uncompressed RGB 24-bit with no color space information BMP images can be displayed.

                ajb2k3A 1 Reply Last reply Reply Quote 1
                • ajb2k3A
                  ajb2k3 @salty_good
                  last edited by

                  @salty_good said in Images not working:

                  @ajb2k3 i found out this.

                  https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/display#tftimagex-y-file-scale-type

                  • JPG images are supported.
                    Baseline only. Progressive and Lossless JPEG format are not supported.
                    Image size: Up to 65520 x 65520 pixels
                    Color space: YCbCr three components only. Gray scale image is not supported.
                    Sampling factor: 4:4:4, 4:2:2 or 4:2:0.

                  • BMP images are supported.
                    Only uncompressed RGB 24-bit with no color space information BMP images can be displayed.

                  Ahh Lobo had the specs listed. thanks mate.

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • ajb2k3A
                    ajb2k3
                    last edited by

                    Working now.

                    UIFlow, so easy an adult can learn it!
                    If I don't know it, be patient!
                    I've ether not learned it or am too drunk to remember it!
                    Author of the WIP UIFlow Handbook!
                    M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      salty_good @ajb2k3
                      last edited by

                      @ajb2k3 Great!!

                      1 Reply Last reply Reply Quote 0
                      • lukasmaximusL
                        lukasmaximus
                        last edited by

                        Is there a good tool in GIMP for compressing image files? @ajb2k3 I tried without success in photoshop before, perhaps its there but I don't know. It would be better however to have an open source solution such as gimp

                        ajb2k3A 1 Reply Last reply Reply Quote 0
                        • ajb2k3A
                          ajb2k3 @lukasmaximus
                          last edited by

                          @lukasmaximus some formats gimp can compress, others need understanding of the file formats.

                          UIFlow, so easy an adult can learn it!
                          If I don't know it, be patient!
                          I've ether not learned it or am too drunk to remember it!
                          Author of the WIP UIFlow Handbook!
                          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post