PNG(3pm) | User Contributed Perl Documentation | PNG(3pm) |
Imager::File::PNG - read and write PNG files
use Imager; my $img = Imager->new; $img->read(file=>"foo.png") or die $img->errstr; $img->write(file => "foo.png") or die $img->errstr;
Imager's PNG support is documented in Imager::Files.
Two low level class methods are provided, most for use by Imager::File::APNG, but it may later be used for other formats that can encapsulate PNG such as ICO.
Returns a true value on success.
Returns a true value on success.
Tony Cook <tonyc@cpan.org>
Imager, Imager::Files.
2023-01-11 | perl v5.36.0 |