creates uncompressed PNG images from raw RGBA data
Clone or download
cygx Merge pull request #3 from timo/patch-1
use zef instead of panda in travis script
Latest commit b9e1292 Oct 24, 2017

Image::PNG::Inflated build status

Creates PNG images from raw RGBA data of depth 8, chunking the data into uncompressed 64k blocks.


use Image::PNG::Inflated;

my $row    =^256 .flatmap: { $_ xx 3, 255 });
my $pixels = [~] $row xx 64;
my $img    = to-png $pixels, 256, 64;
                   # width --^    ^-- height

spurt 'grayscale.png', $img;

Bugs and Development

Development happens at GitHub. If you found a bug or have a feature request, use the issue tracker over there.

Copyright and License

Copyright (C) 2015, 2017 by

Distributed under the Boost Software License, Version 1.0