Color of a screen pixel: Difference between revisions

Content deleted Content added
m →‎{{header|C}}: line break in code, correct comments for C < 99
added PHP
Line 177:
SHOW PIXEL
[255 255 255]
 
=={{header|PHP}}==
{{works with|PHP|5.2.2}}
{{works with|Windows}}
{{libheader|GD}}
<lang php>$img = imagegrabscreen();
$color = imagecolorat($im, 10, 50);
imagedestroy($im);</lang>
 
=={{header|PicoLisp}}==