HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE Color Rendering is Wrong? Am I Missing Something?

    Scheduled Pinned Locked Moved Solved Bug Reports
    12 Posts 2 Posters 107 Views
    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.
    • A
      aaronventure
      last edited by aaronventure

      So I'm trying out some color palettes online and am copying the codes over... And the rendering is wrong?

      3eb7f176-d5b7-42ea-b5d7-745ac8275399-image.png

      Notice the itemColour code. It's the same as the one on the right. But it's not the same color, which you can confim if you take the picker to this image and the two colors. Sure, the compression will do its thing and there'll be a bunch but if you crop out the rectangle and move it next to the one in the HISE properties tab, you'll see they're not the same. The one in HISE is actually #A57F4A

      • I copied the code directly into HISE
      • If I copy the code from HISE back, it gives the same color on the right, which is different from the one in HISE.

      Am I missing something here?

      macOS 14.5, latest commit.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @aaronventure
        last edited by d.healey

        @aaronventure Interesting, when I hover a colour picker over your two images, the one on the right shows 978153 and the one on the left something completely different.

        However I'm getting the correct colour in HISE.

        27ea7b49-2fe4-4c80-adad-753e5da6afbc-image.png

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        A 1 Reply Last reply Reply Quote 0
        • A
          aaronventure @d.healey
          last edited by

          @d-healey Must be macOS...

          e2360d73-0dfd-4a8a-919e-8fc499dfcaba-image.png

          Left is HISE running in Parallels on Win11, right is macOS.

          1 Reply Last reply Reply Quote 1
          • d.healeyD
            d.healey
            last edited by

            Someone on reddit suggests changing the colour profile, but I would think that only affects what we see, not the data in the system... https://www.reddit.com/r/MacOS/comments/iasefc/why_does_macos_reports_different_color_than/

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            A 1 Reply Last reply Reply Quote 0
            • A
              aaronventure @d.healey
              last edited by

              @d-healey The colors are only wrong in HISE.

              Here's GIMP

              aac541d2-a264-4e26-ab40-715e4dd2da7e-image.png

              Here's Raycast's clipboard (though its rendering is also funky around the edges of that circle)

              c7a40ace-535e-4af1-9349-6fd4f05da40a-image.png

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @aaronventure
                last edited by d.healey

                @aaronventure Might be related to the GUI toolkit that each app is using. Can you find another JUCE based app to test its colours?

                What happens if you load an image from gimp into HISE, are the colours correct?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                A 2 Replies Last reply Reply Quote 0
                • A
                  aaronventure @d.healey
                  last edited by

                  @d-healey Here's Genelec's GLM which is a standalone JUCE-based app

                  c991735e-5828-46a0-9ef2-171a5c8532a5-image.png

                  1 Reply Last reply Reply Quote 0
                  • A
                    aaronventure @d.healey
                    last edited by

                    @d-healey said in HISE Color Rendering is Wrong? Am I Missing Something?:

                    What happens if you load an image from gimp into HISE, are the colours correct?

                    Alright here's GIMP's image filled and the exported version rendering in Finder

                    58b5d4c0-bca4-476c-873d-360308950dcb-image.png

                    Once I tell GIMP in settings to use the monitor color profile, it becomes correct

                    580102e1-516e-4a9f-8d14-a61a5fbf3b2b-image.png

                    2658f066-b841-4b54-adbd-b60178b92e1a-image.png

                    If I unplug the external display, on the internal MacBook Pro (XDR) display I get

                    67a45823-5133-4bba-b965-1e4759f39129-image.png

                    which is a different colour, but also wrong.

                    So I think it could be HISE colour profile setting on macOS.

                    d.healeyD 1 Reply Last reply Reply Quote 1
                    • d.healeyD
                      d.healey @aaronventure
                      last edited by

                      @aaronventure Are you using OpenGL?

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      A 1 Reply Last reply Reply Quote 1
                      • A
                        aaronventure @d.healey
                        last edited by

                        @d-healey Nice one, that was it. Turning it off in settings fixed it.

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @aaronventure
                          last edited by

                          @aaronventure There are a bunch of threads about it on the JUCE forum

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            aaronventure @d.healey
                            last edited by

                            @d-healey Right, see it.

                            From macOS docs:

                            OpenGL is not color managed. As a consequence, it might require additional effort to devise solutions to specific color problems you may encounter when using it. The fundamental problem is OpenGL has one set of assumptions, and the display buffer has another.

                            JUCE has now apparently fixed it, here's the commit

                            Link Preview Image
                            OpenGL: Ensure that macOS uses the same (sRGB) colour space everywhere · juce-framework/JUCE@19175ff

                            JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins. - OpenGL: Ensure that macOS uses the same (sRGB) colour space everywhere · juce-framework/JUCE@19175ff

                            favicon

                            GitHub (github.com)

                            1 Reply Last reply Reply Quote 1
                            • A aaronventure marked this topic as a question on
                            • A aaronventure has marked this topic as solved on
                            • First post
                              Last post

                            12

                            Online

                            1.7k

                            Users

                            11.8k

                            Topics

                            103.1k

                            Posts