Subject: | Imager::Cookbook code for TIFFs does not work |
Date: | Thu, 22 Nov 2018 12:51:21 -0500 |
To: | bug-Imager [...] rt.cpan.org |
From: | James E Keenan <jkeenan [...] pobox.com> |
In 'perldoc Imager::Cookbook' I read:
#####
Some formats, like GIF and TIFF support multiple images per file. Use
the read_multi() method to read them:
my @images = Imager->read_multi(file=>$filename)
or die Imager->errstr;
#####
On that basis, I hoped to use Imager to convert some .tiff files into
either .jpg or .png files. But was not able to even read the files,
much less write them to a new format. See attachment. Running the
program outputs:
#####
/tmp/tiffs/test.harness.tiff
/tmp/tiffs/test.simple.tiff
/tmp/tiffs/test.suite.list.compare.tiff
format 'tiff' not supported - formats bmp, ico, jpeg, png, pnm, raw,
sgi, tga available for reading at imager-cookbook-tiffs-bug.pl line 13.
#####
All 3 files are clearly viewable using the stock ImageViewer program
that comes with Ubuntu.
What am I missing?
Thank you very much.
Jim Keenan
Message body is not shown because sender requested not to inline it.