Get pixel values of a certain point on the screen

Asked

Viewed 92 times

1

Hello, I’m new here so if there is any formatting error, I’m sorry!

I am developing a WEB solution and I need to load an image in the browser and select 4 points within that image and get its values from the pixels that were selected in these 4 points. My doubt is how to make such selections and capture their pixel values? It is possible to do this with some WEB language (PHP, Javascript, CSS, etc)?

I have already done several searches on Google and the closest I found was the use of PHP GD library, but it also did not meet what I need.

I await your reply and thank you for your cooperation!

  • I advise you to use the canvas HTML5

  • You want to do it next to the server?

  • 1

    Hello Everyone! Thank you for the reply. lazyFox I will study on the canvas. @Theprohands the pixel markup would be on the same client side. Thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.