Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Color picker from image

drykorn free asked 4 years ago


Hello,

did someone managed to pick the color values from an image? With the project "COLOR PICKER PLUGIN ONE PROJECT (jQuery version[standard Bootstrap])"

Maybe there are any plans for a future update with this feature?

I'm also thankful, for some resources, like w3schools. There are similar tutorials.

Thank you! Drykorn


Grzegorz Bujański staff answered 4 years ago


Hi.

Color picker was created for a different purpose. We are not planning to change its functionality at the moment to allow get color from a specific image.

To achieve this, try placing the image inside the canvas and using getImageData to get the color of a specific pixel. You also need to create a function that will check which pixel was clicked.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.11
  • Device: Desktop
  • Browser: Chrome
  • OS: Mac OS Mojave
  • Provided sample code: No
  • Provided link: No