I'm having difficulty using this function. Perhaps I am doing something wrong. At the moment I am trying to use it to help me differentiate from thousands of images so i can view only those that I want and ignore the others. Is this function only useable when creating virtual images or can it be used for images that have already been created?
Thanks
imagecolorat() help
Moderator: General Moderators
Re: imagecolorat() help
It can be used on existing files, the code would be something like thatPintonite wrote: Is this function only useable when creating virtual images or can it be used for images that have already been created?
Thanks
Code: Select all
$img = imagecreatefrompng ("photo1.png");
$color = imagecolorat($img,10,30);http://www.php.net/manual/en/ref.image.php