Image::PNG::Simple - Convert bitmap file to png file without C library dependency.
This is beta release. API will be changed without warnings.
use Image::PNG::Simple; # Create Image::PNG::Simple object my $ips = Image::PNG::Simple->new; # Read bitmap file $ips->read_bmp_file('dog.bmp'); # Write png file $ips->write_png_file('dog.png');
Convert bitmap file to png file without C library dependency.
my $ips = Image::PNG::Simple->new;
Create new Image::PNG::Simple object.
$ips->read_bmp_file('dog.bmp');
Read bitmap file.
$ips->parse_bmp_data($bmp_data);
Prase bitmap binary data.
$ips->get_bmp_data;
Get bitmap binary data.
$ips->get_png_data;
Get png binary data.
$ips->write_bmp_file('dog_copy.bmp');
Write bitmap file.
$ips->write_png_file('dog.png');
Write png file.
This module internally use libpng-1.6.17 and zlib-1.2.8. So This module license follow Perl license, libpng license and zlib license.
Image::PNG, Imager::File::PNG, Image::PNG::Libpng
Yuki Kimoto <kimoto.yuki@gmail.com>
Tell me on Github Repository
https://github.com/yuki-kimoto/Image-PNG-Simple
Copyright (C) 2015 by Yuki Kimoto
This library is free software; you can redistribute it and/or modify it under the same terms as Perl, libpng, and zlib itself, either Perl version 5.16.3 or, at your option, any later version of Perl 5 you may have available.
To install Image::PNG::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::PNG::Simple
CPAN shell
perl -MCPAN -e shell install Image::PNG::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.