Bitmap/PPM conversion through a pipe: Difference between revisions
Bitmap/PPM conversion through a pipe (view source)
Revision as of 18:44, 29 December 2018
, 5 years ago→{{header|Perl 6}}
(added Perl 6) |
|||
Line 242:
}
my $proc = run '/usr/bin/convert','-','output_piped.jpg', :in
$proc.in.write: $b.P6;
$proc.in.close;</lang>
{{out}}
<pre>file output_piped.jpg
|