Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    XPM Graphics Converter ("transferring" graphics from computers and other sources)

    Work In Progress
    7
    18
    852
    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.
    • N
      Nisse5 F last edited by

      So, now it should work. Tested it with a converted XPM file, and retyped the color/pixel data on FUZE4Switch.

      Will share the project now.

      1 Reply Last reply Reply Quote 1
      • Discostew
        Discostew F last edited by

        But doesn't this require a means to transfer from PC to Switch? You using an Arduino or RPi Zero to emulate a keyboard?

        N 1 Reply Last reply Reply Quote 0
        • N
          Nisse5 F @Discostew last edited by

          @Discostew I retyped the text.

          1 Reply Last reply Reply Quote 0
          • jacobmph
            jacobmph last edited by

            Excellent. Please share!
            Hex is a bit easier to type, but some kind of keyboard emulation would be better! @Discostew Is it not possible to emulate a keyboard from a PC (not had time to research)?

            N 1 Reply Last reply Reply Quote 1
            • N
              Nisse5 F @jacobmph last edited by

              @jacobmph said in XPM Graphics Converter ("transferring" graphics from computers and other sources):

              Excellent. Please share!
              Hex is a bit easier to type, but some kind of keyboard emulation would be better! @Discostew Is it not possible to emulate a keyboard from a PC (not had time to research)?

              The project is shared.

              1 Reply Last reply Reply Quote 0
              • V
                void00 F last edited by

                I been trying to do that myself and have manage to create a keyboard emulator that will send all the pixel value to the switch and store it in a Array but when I try to draw the pixels with upload image function the pixels are not drawn right but I think it’s more on how the function try to draw the pixels from array I need to know how I can draw myself each individual pixel to wherever I want on the screeen with intensity of a pixel instead of full rgba let me know how u think I can do that.

                N 1 Reply Last reply Reply Quote 0
                • N
                  Nisse5 F @void00 last edited by

                  @void00 I'm not using uploadImage myself, but it seems to works very similar to the XPM syntax. Have you set the correct dimensions of the bitmap? Do you have any example code that fails?

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nisse5 F last edited by

                    I've updated the shared version of the code now. Cleaned up some stuff and provided more syntax checking.

                    The new version also have a CreateXMirroredXPMImage() function, that creates a horizontally mirrored version of the image. (For truly symmetrical images, only half the pixel data is required.)

                    1 Reply Last reply Reply Quote 0
                    • N
                      Nisse5 F last edited by

                      Shared yet a new update. One bug fix in the mirrored code, and it also now have a global _XPM_UseFilter variable, that can be changed whenever smoothing filters are needed (prior to creating the bitmap).

                      1 Reply Last reply Reply Quote 0
                      • S
                        senas8 last edited by

                        Nice, I would love to try this. So to get this you have to convert and image to xpm .. and after type the code in? that's awsome! friend code sent.

                        1 Reply Last reply Reply Quote 0
                        • S
                          senas8 last edited by

                          wow very nice, so to import an image first convert it to xpm and write out the code from that in your program?

                          N 1 Reply Last reply Reply Quote 0
                          • N
                            Nisse5 F @senas8 last edited by

                            @senas8 said in XPM Graphics Converter ("transferring" graphics from computers and other sources):

                            wow very nice, so to import an image first convert it to xpm and write out the code from that in your program?

                            Yes, you have a sample picture in the program that would show you how it's done.

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