HISE Logo Forum
    • Categories
    • Register
    • Login

    Can we 'get' hex Colour value from Mouse position?

    Scheduled Pinned Locked Moved Solved Scripting
    9 Posts 5 Posters 58 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.
    • ChazroxC
      Chazrox
      last edited by

      I have a drop panel that loads a picture onto a panel.
      Is there any way to extract the colour value from a specific pixel (x,y) on the panel?

      Colour dropper vibes.....

      How does one do this?

      Oli UllmannO 1 Reply Last reply Reply Quote 0
      • Oli UllmannO
        Oli Ullmann @Chazrox
        last edited by

        @Chazrox
        I think @d-healey made one.
        Check his Github...

        ChazroxC 1 Reply Last reply Reply Quote 0
        • ChazroxC
          Chazrox @Oli Ullmann
          last edited by

          @Oli-Ullmann he would! 🙏🏽 Thanks. Im gonna look for that now. do you remember what the script was called?

          dannytaurusD 1 Reply Last reply Reply Quote 0
          • dannytaurusD
            dannytaurus @Chazrox
            last edited by

            @Chazrox Does this help? https://forum.hise.audio/post/2480

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

            ChazroxC 1 Reply Last reply Reply Quote 0
            • ChazroxC
              Chazrox @dannytaurus
              last edited by

              @dannytaurus oh my...thats exactly what I want! yeeee! 🙏 Thank You!

              ChazroxC 1 Reply Last reply Reply Quote 0
              • ChazroxC
                Chazrox @Chazrox
                last edited by

                @d-healey I think this is a classic colour picker correct? Is it possible to extract hex from a user defined picture?

                Say I draw an image onto a panel 300x300 and I want to get the colour value of pixel (200,200) on the panel. Is this possible?

                Im trying to do some user custom theme functions where the colour of the gui background adapts colours from a user defined picture.

                Possible?

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

                  @Chazrox not possible as far as I know

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  ChazroxC 1 Reply Last reply Reply Quote 0
                  • ChazroxC
                    Chazrox @d.healey
                    last edited by

                    @d-healey Cool. I'll stop chasin that for now. 🙏

                    1 Reply Last reply Reply Quote 0
                    • ChazroxC Chazrox has marked this topic as solved
                    • ustkU
                      ustk
                      last edited by

                      Yep wanted to do that kind of thing a while back but it seems Juce doesn't have a method to read the pixel under the mouse (or any pos..)

                      Hise made me an F5 dude, browser just suffers...

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

                      40

                      Online

                      2.0k

                      Users

                      12.9k

                      Topics

                      111.7k

                      Posts