Hi, my first post at these forums ๐.
Im trying to find a way to detect the color of a certain pixel in an image with php. Does anyone know of a way to do this? Or can maybe point me in the right direction.
Try looking at this section of the image functions and it might do what you are wanting. imagecolorat() It is used as
int imagecolorat ( resource image, int x, int y ) Returns the index of the color of the pixel at the specified location in the image specified by image.
Hey that looks like exactly what i want, couldnยดt imagin there was a built in function for it. Damn i love php ๐.
Thanks for the pointer!
You're welcome. Using the manual or downloading it to go over the various functions helps quite a bit.