Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
7
Task/Color-quantization/Raku/color-quantization.raku
Normal file
7
Task/Color-quantization/Raku/color-quantization.raku
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
use MagickWand;
|
||||
use MagickWand::Enums;
|
||||
|
||||
my $frog = MagickWand.new;
|
||||
$frog.read("./Quantum_frog.png");
|
||||
$frog.quantize(16, RGBColorspace, 0, True, False);
|
||||
$frog.write('./Quantum-frog-16-perl6.png');
|
||||
Loading…
Add table
Add a link
Reference in a new issue