About using PixelSearch for a single pixel
Posted: 11 May 2024, 16:18
I've been using this function as PixelGetColor alternative for cases when the color may have a variance. It works great, but I was wondering if what I'm doing is the best method for this.
Code: Select all
PixelMatchColor(x, y, color, variance)
{
Return PixelSearch(&a, &b, x, y, x, y, color, variance)
}