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'
Download (untitled) / with headers
text/plain 340b
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
Download (untitled) / with headers
text/plain 611b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.