Get the color under the selected point in an image (Color picker).

Hi,


I have found a way to make a background transparent using ImageSharp. I will create a custom toolbar button in SfImageEditor to start the image manipulation.


What I need to know is the color of the pixel underneath the users finger? This is effectively a color picker.


So the flow will be:

  1. Load image.
  2. Select color picker toolbar button.
  3. Tap on image.
  4. Select color from tap.
  5. Call custom action and replace the tapped color with the transparent color.
  6. Reload the image.

Thanks

Mark.

1 Reply

SS Sridevi Sivakumar Syncfusion Team July 5, 2021 09:55 AM UTC

Hi Mark Flagg,

Currently we don't have support to get color while tapping on image in SfImageEditor. Please let us know if you have any other queries.

Regards,
Sridevi S. 


Loader.
Up arrow icon