|
Hi
I need to find where a certain color is in an image.
What I did for now is the following
$img->getpixel(x => $x, y => $y)
within two loops for $x and $y.
On an 1024x1024 pixel image it takes quite some time. Is there a better way to speed up the process?
best regards
|