NAME
Imager::File::QOI - read and write QOI image files
SYNOPSIS
use Imager;
my $img = Imager->new;
$img->read(file => "foo.qoi")
or die $img->errstr;
$img->write(file => "foo.qoi", type => "qoi")
or die $img->errstr;
DESCRIPTION
Implements QOI file support for Imager.
LIMITATIONS
Due to the limitations of
QOIgrayscale images are written as RGB images.The decoder limits image sizes to 400 000 000 pixels.
Image tags
The i_format tag is set to qoi on reading a QOI image.
The qoi_colorspace tag is set based on the colorspace value in the QOI header when reading.
BUGS
The bundled reference decoder doesn't fail on truncated files. https://github.com/phoboslab/qoi/issues/98
The bundled reference decoder doesn't validate the end of file marker. https://github.com/phoboslab/qoi/issues/96
LICENSE
Imager::File::QOI is licensed under the same terms as Perl itself.
AUTHOR
Tony Cook <tony@develop-help.com>
SEE ALSO
Imager, <Imager::Files>.