Someone
public text v1 · immutablefunction imagegetpixel($im,$x,$y)
{
$color = array();
$rgb = imagecolorat($im, $x, $y);
$color['r'] = ($rgb >> 16) & 0xFF;
$color['g'] = ($rgb >> 8) & 0xFF;
$color['b'] = $rgb & 0xFF;
return $color;
}function imagegetpixel($im,$x,$y)
{
$color = array();
$rgb = imagecolorat($im, $x, $y);
$color['r'] = ($rgb >> 16) & 0xFF;
$color['g'] = ($rgb >> 8) & 0xFF;
$color['b'] = $rgb & 0xFF;
return $color;
}