0) { while ($_img_w >= 0) { $res = imagecolorat($image, $_img_w, $_img_h); $pixels_count++; $_img_w = $_img_w -_STEP_W; var_dump($res); echo '
'; flush();; } die(); $_img_w = _IMG_W; $_img_h = $_img_h -_STEP_H; } echo "Pixels >".$pixels_count; imagedestroy($image);