imagefilltoborder
Intervention/image
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Flood fill to specific color
<?php imagefilltoborder
(
GdImage $image
,
int $x
,
int $y
,
int $border_color
,
int $color
):
bool