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

Custom Splashscreen wrong color

Scheduled Pinned Locked Moved
PanelDue
6
21
928
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.
  • undefined
    Fuganater @wilriker
    last edited by Fuganater 14 Jan 2021, 21:14

    @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.

    undefined 1 Reply Last reply 15 Jan 2021, 08:54 Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 14 Jan 2021, 21:48

      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

      undefined undefined 2 Replies Last reply 14 Jan 2021, 22:12 Reply Quote 0
      • undefined
        rathorp80 @dc42
        last edited by 14 Jan 2021, 22:12

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

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 14 Jan 2021, 22:13

          Should be the same

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            rathorp80
            last edited by 14 Jan 2021, 22:16

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

            1 Reply Last reply Reply Quote 0
            • undefined
              Phaedrux Moderator
              last edited by 15 Jan 2021, 02:44

              Can you show what your entire command line was?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                Fuganater @dc42
                last edited by 15 Jan 2021, 04:20

                @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
                • undefined
                  Jacotheron
                  last edited by 15 Jan 2021, 07:41

                  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.

                  undefined 1 Reply Last reply 18 Jan 2021, 02:42 Reply Quote 0
                  • undefined
                    wilriker @Fuganater
                    last edited by 15 Jan 2021, 08:54

                    @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

                    undefined 1 Reply Last reply 15 Jan 2021, 11:00 Reply Quote 0
                    • undefined
                      Fuganater @wilriker
                      last edited by 15 Jan 2021, 11:00

                      @wilriker newbumblee.jpg bumblee-logo.jpg

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

                      undefined 1 Reply Last reply 15 Jan 2021, 11:21 Reply Quote 0
                      • undefined
                        wilriker @Fuganater
                        last edited by 15 Jan 2021, 11:21

                        @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

                        undefined 1 Reply Last reply 15 Jan 2021, 13:15 Reply Quote 0
                        • undefined
                          rathorp80 @wilriker
                          last edited by 15 Jan 2021, 13:15

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

                          undefined 1 Reply Last reply 15 Jan 2021, 13:18 Reply Quote 0
                          • undefined
                            rathorp80 @rathorp80
                            last edited by 15 Jan 2021, 13:18

                            @rathorp80 wouldnt let me upload .zip of bmp

                            undefined 1 Reply Last reply 15 Jan 2021, 17:13 Reply Quote 0
                            • undefined
                              Phaedrux Moderator @rathorp80
                              last edited by 15 Jan 2021, 17:13

                              @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
                              • undefined
                                Fuganater @Jacotheron
                                last edited by 18 Jan 2021, 02:42

                                @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
                                • undefined
                                  Phaedrux Moderator
                                  last edited by 18 Jan 2021, 02:48

                                  @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

                                  undefined 1 Reply Last reply 27 Jan 2021, 04:12 Reply Quote 0
                                  • undefined
                                    wilriker
                                    last edited by wilriker 18 Jan 2021, 08:40

                                    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
                                    • undefined
                                      Fuganater @Phaedrux
                                      last edited by 27 Jan 2021, 04:12

                                      @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
                                      • undefined
                                        Phaedrux Moderator
                                        last edited by 27 Jan 2021, 04:14

                                        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