Jump to content

Return RGB from Selected Area


Dysan

Recommended Posts

I would think you would do this using Javascript, i dont know how you would do that via php, with the exception of...

making every pixel in the image an image map-> sending it to GD2 and then getting the RGB values for it.

 

Whats the purpose? do you have one image? or a color pallete? that the user selects a color from.. to do what with?

is the selected area, a picture? is it always the same picture?

is the selected area a color pallete?

 

you want to look into both of these

imagemagick

GD Library

 

 

One of those will be able to do it. If you have code, I can help you write it, but i wont write it for you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.