Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 30103
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: perl [...] pied.nu
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.60
Fixed in: (no value)



Subject: read_multi with type='tif'
Greetings, Imager->read_multi() does not recongnise 'tif' as a synonym of 'tiff'. This is very suprising. At least, it should list the valid formats, so the coder sees the problem is his fault, not in the TIFF file support. Imager.pm, line 1875. - elsif ($type eq 'tiff') { + elsif ($type eq 'tiff' or $type eq 'tif') { Cheers, -Philip
On Thu Oct 18 16:11:36 2007, GWYN wrote: Show quoted text
> Greetings, > > Imager->read_multi() does not recongnise 'tif' as a synonym of 'tiff'. > This is very suprising. At least, it should list the valid formats, so > the coder sees the problem is his fault, not in the TIFF file support. > > Imager.pm, line 1875. > - elsif ($type eq 'tiff') { > + elsif ($type eq 'tiff' or $type eq 'tif') {
Hi, I've fixed this by improving the error message, the result of errstr() will now be: format 'tif' not supported - formats bmp, gif, ico, jpeg, png, pnm, raw, sgi, tga, tiff available for reading Fixed in Imager 0.61. Tony