creates uncompressed PNG images from raw RGBA data
C Perl6
Switch branches/tags
Nothing to show
Latest commit 2f5ca80 Jun 17, 2017 @cygx improve README example
Permalink
Failed to load latest commit information.
lib/Image/PNG
.gitignore
.travis.yml
LICENSE
META6.json
README.md
camelia.p6
pngcheck.c

README.md

Image::PNG::Inflated build status

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

Synopsis

use Image::PNG::Inflated;

my $row    = blob8.new(^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 cygx@cpan.org

Distributed under the Boost Software License, Version 1.0