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
QOI
grayscale images are written as RGB images.
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
AUTHOR
Tony Cook <tonyc@cpan.org>
SEE ALSO
Imager, <Imager::Files>.