Color of a screen pixel: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
Thundergnat (talk | contribs) m (Fix Perl 6 -> Raku calling conventions) |
||
Line 811: | Line 811: | ||
=={{header|Raku}}== |
=={{header|Raku}}== |
||
(formerly Perl 6) |
(formerly Perl 6) |
||
This example works with MacOS, customize with the appropriate <tt>screencapture</tt> utility for other OSes. |
This example works with MacOS, customize with the appropriate <tt>screencapture</tt> utility for other OSes. |
||
<lang perl6>use GD::Raw; |
<lang perl6>use GD::Raw; |
||
Line 835: | Line 836: | ||
Alternately, a version that should work in any X11 environment. Needs X11::xdo and MagickWand installed. |
Alternately, a version that should work in any X11 environment. Needs X11::xdo and MagickWand installed. |
||
⚫ | |||
<lang perl6>#!/usr/bin/env perl6 |
|||
⚫ | |||
multi MAIN () { |
multi MAIN () { |