Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Custom Splashscreen wrong color

    Scheduled Pinned Locked Moved
    PanelDue
    6
    21
    962
    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.
    • Fuganaterundefined
      Fuganater @wilriker
      last edited by Fuganater

      @wilriker said in Custom Splashscreen wrong color:

      @Fuganater Your can try the method described here: https://github.com/Duet3D/PanelDueFirmware#splash-screen

      But wrong colors usually indicate that you picked the wrong firmware binary as a base. Which PanelDue do you have?

      Point 1 - That method doesn't work because it is a 16-bit application and won't run on my 64-bit system.
      36991609-8baa-4a76-baa0-503d56704e36-image.png

      Point 2 - The colors for the rest of the display is fine. It is just the logo that is the wrong color. I have the MKS 7" Duet Panel.

      wilrikerundefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        Try the bmp2c from https://github.com/Duet3D/PanelDueFirmware/tree/master/Tools/bmp2c/Release

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        rathorp80undefined Fuganaterundefined 2 Replies Last reply Reply Quote 0
        • rathorp80undefined
          rathorp80 @dc42
          last edited by

          @dc42 what command line would be used for that version of bmp2c ?

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            Should be the same

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • rathorp80undefined
              rathorp80
              last edited by

              @Phaedrux gives unkown option: -outfile error code -1

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                Can you show what your entire command line was?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • Fuganaterundefined
                  Fuganater @dc42
                  last edited by

                  @dc42 said in Custom Splashscreen wrong color:

                  Try the bmp2c from https://github.com/Duet3D/PanelDueFirmware/tree/master/Tools/bmp2c/Release

                  So I do that but it still shows up as the wrong color.

                  I also tried a much simpler version and it just flat out doesn't work at all. The display looks fine and works as it should. Just no image at boot up.

                  This is the image I was trying:
                  e28cb358-d9aa-46b0-8f94-7fc8a3e7568d-image.png

                  Since I am using RR 2.01, I'm using this version for the PanelDue: https://github.com/Duet3D/PanelDueFirmware/releases/tag/1.24

                  MY commands are:

                  bmp2c-escher3d.exe newbumblee.bmp newbumblee.bin -b -c

                  copy /b PanelDue-5.0i-7.0i-nologo.bin+newbumblee.bin PanelDueFirmware.bin

                  1 Reply Last reply Reply Quote 0
                  • Jacotheronundefined
                    Jacotheron
                    last edited by

                    Perhaps take a look at https://github.com/frank26080115/PanelDueSplashMaker

                    While it is old, and not updated recently, it is still working even with the latest firmware versions. Simply go to its folder "release_binary" and download the file.

                    Place the file in an easy to access location and run it (I think it will download the Bossa and bmp2c-escher3d binaries automatically, on first run). It provides a simple to use interface:

                    • Click on the Load Image and select your image (a preview will be shown).
                    • Choose the "Local Files" tab (default is From Web, which gets the latest version, but may not work reliably).
                    • In the Firmware Binary (nologo) File Path, browse to your firmware that you want to use.

                    The last step is what to do with the resulting firmware. If you want to save it, (for example to upload it with DWC in latest version firmwares, to flash it from ReprapFirmware), click the Save Resulting Firmware and choose your location. If you have the PanelDue directly connected to your (you might still have to save it), you can use the "Final Firmware Binary File Path" and its buttons to flash it (have not used this direct flashing).

                    This is what I use to create the splash screens for all my various printers.

                    Fuganaterundefined 1 Reply Last reply Reply Quote 0
                    • wilrikerundefined
                      wilriker @Fuganater
                      last edited by

                      @Fuganater said in Custom Splashscreen wrong color:

                      @wilriker said in Custom Splashscreen wrong color:

                      @Fuganater Your can try the method described here: https://github.com/Duet3D/PanelDueFirmware#splash-screen

                      But wrong colors usually indicate that you picked the wrong firmware binary as a base. Which PanelDue do you have?

                      Point 1 - That method doesn't work because it is a 16-bit application and won't run on my 64-bit system.
                      36991609-8baa-4a76-baa0-503d56704e36-image.png

                      This is odd. I just tried it on my Windows 10 Pro 64-bit and it runs just fine.

                      Can you please provide the original BMP you tried to convert so I can test what the issue is?

                      Manuel
                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                      My Tool Collection

                      Fuganaterundefined 1 Reply Last reply Reply Quote 0
                      • Fuganaterundefined
                        Fuganater @wilriker
                        last edited by

                        @wilriker newbumblee.jpg bumblee-logo.jpg

                        It won't let me upload a .bmp. I just converted these to .bmp in paint.

                        wilrikerundefined 1 Reply Last reply Reply Quote 0
                        • wilrikerundefined
                          wilriker @Fuganater
                          last edited by

                          @Fuganater I am not sure if the forum scaled your images but non has the required exact size of 800x480. That by itself will already be a problem.

                          You can attach the BMP if you put it into a ZIP file first.

                          Manuel
                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                          My Tool Collection

                          rathorp80undefined 1 Reply Last reply Reply Quote 0
                          • rathorp80undefined
                            rathorp80 @wilriker
                            last edited by

                            @wilriker I did some for @Fuganater with this image but as bmp and he had same resultbee.jpg

                            rathorp80undefined 1 Reply Last reply Reply Quote 0
                            • rathorp80undefined
                              rathorp80 @rathorp80
                              last edited by

                              @rathorp80 wouldnt let me upload .zip of bmp

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @rathorp80
                                last edited by

                                @rathorp80 said in Custom Splashscreen wrong color:

                                @rathorp80 wouldnt let me upload .zip of bmp

                                to upload either you would have to change the extension unfortunately.

                                Please try the tool linked by @Jacotheron

                                Make sure your image is exactly 800x480

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • Fuganaterundefined
                                  Fuganater @Jacotheron
                                  last edited by

                                  @Jacotheron

                                  While I did get this to work. The image still shows up blue. I also tried just a b/w image and it was very spotty. I may try to remake it at some point but I just don't have the time right now.

                                  I really wish this was easier to do.

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    @Fuganater well you can share the actual bmp file so we can see what format it's actually in.

                                    Generally the image will look a lot better when you can match the reduced color pallet of the screen, so try setting your color pallet to 16 colors.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    Fuganaterundefined 1 Reply Last reply Reply Quote 0
                                    • wilrikerundefined
                                      wilriker
                                      last edited by wilriker

                                      To add to what @Phaedrux said (and correct a little): The splash screen does not have to adhere to the 16 color palette used for icons but it should work well within 16-bit color space (RGB 5-6-6).

                                      Re spottiness: all of your images here contain a lot of compression artifacts. So I guess they all have been saved as JPG (or any other lossy-compression format) before being converted to BMP. This means all compression artifacts will end up in the BMP as well. And based on the 16-bit color space these will be more or less visible thereafter. So to create a clean splashscreen save the raw image (as created by whichever drawing application) as BMP (or at least PNG). This will avoid compression artifacts.

                                      Manuel
                                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                                      My Tool Collection

                                      1 Reply Last reply Reply Quote 1
                                      • Fuganaterundefined
                                        Fuganater @Phaedrux
                                        last edited by

                                        @Phaedrux said in Custom Splashscreen wrong color:

                                        @Fuganater well you can share the actual bmp file so we can see what format it's actually in.

                                        Generally the image will look a lot better when you can match the reduced color pallet of the screen, so try setting your color pallet to 16 colors.

                                        I'll have to do some googling because I have no idea how to do that.

                                        1 Reply Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator
                                          last edited by

                                          If you're on windows, check out https://www.getpaint.net/

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA