> ';
}
echo '
';
//second row
for ($x = 0; $x < 200; $x++ )
{
$location = imagecolorat($im, $x, 1);
$c = imagecolorsforindex($im, $location);
echo '[' . $c[red] . ']['. $c[green] . '][' . $c[blue] . '] >> ';
}
echo '
';
//third row
for ($x = 0; $x < 200; $x++ )
{
$location = imagecolorat($im, $x, 2);
$c = imagecolorsforindex($im, $location);
echo '[' . $c[red] . ']['. $c[green] . '][' . $c[blue] . '] >> ';
}
?>