How can I find the colour of a pixel of an image?
You must pass as parameters the image resource, and the x and y co-ordinates you want to find the color of, for instance:
$rgb = imagecolorat($im, 5, 10);
Will get a reference to the colour used at 5,10 (X,Y) on the image.
Depending on the version of the GD library you are using and the type of image, you may experience different return values, for more information take a look at:
ASK A QUESTION
More images PHP QuestionsI recently updated from shared servers to virtual dedicated, I now cannot see any of the images I try to upload. The hosting company says that the script for the images are in the root directory but the images are not. The programmer said he didn't c
How to display multiple images in a form path came from database and images are store in Image folder(assume 10 images are uploded that i want to display)
How create albums as Facebook in Php by using code igniter
I have a text query, but I added images (small jpgs), I am not sure but it looks like it is creating/saving the files in a tmp folder each time a visitor requests the query. Is there a efficient way to run a query calling images? I noticed some PHP progr
Please can any one help me to solve this problem how to comparer two images and show the dissimilarities in third image in php code?