HISE Logo Forum
    • Categories
    • Register
    • Login

    [Feature Request] Get rgba values from pixels

    Scheduled Pinned Locked Moved Feature Requests
    3 Posts 3 Posters 140 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
      Allen
      last edited by

      I think we need a function that get the rbga values from pixels of an image.

      I've tried to do this in Javascript though webview but i couldn't find a way to send the data back into HISE.

      Also I found there's a juce class called bitmapData that has some functions probably does this and I tried to bring these into HISE myself but after getting bunch of errors over about 20 times i found out maybe I can't do this properly with my c++ skills and my current understanding to the source code of HISE.

      CasmatC 1 Reply Last reply Reply Quote 0
      • CasmatC
        Casmat @Allen
        last edited by

        @Allen I was actually thinking about this same exact thing a while back, getting features for image analysis would be useful. My use case is finding the most common color in an image and displaying that within the ui.

        i make music

        1 Reply Last reply Reply Quote 0
        • rglidesR
          rglides
          last edited by

          Krita is open source and C++, the answer might be there somewhere, surely the colour picker logic could be tinkered with. Not that I would know

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

          33

          Online

          1.7k

          Users

          11.7k

          Topics

          102.0k

          Posts