creates uncompressed PNG images from raw RGBA data
C Other
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 add precomp dir to gitignore Apr 27, 2017
.travis.yml
LICENSE update license informtion, add license to repo May 2, 2017
META6.json
README.md
camelia.p6 prepare for travis integration Nov 11, 2015
pngcheck.c prepare for travis integration Nov 11, 2015

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