Bitmap/Read an image through a pipe: Difference between revisions
Bitmap/Read an image through a pipe (view source)
Revision as of 23:21, 23 October 2017
, 6 years ago→{{header|Perl 6}}: slightly more idiomatic
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Add perl 6 example) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: slightly more idiomatic) |
||
Line 188:
$b.data = $proc.out.slurp.ords.rotor(3).map:
{ Pixel.new(R =>
'./camelia.ppm'.IO.open(:bin, :w).write: $b.P6;</lang>
See [https://github.com/thundergnat/rc/blob/master/img/camelia.png camelia image here].
=={{header|PicoLisp}}==
|