Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

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

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

Bug Information
Severity: Wishlist
Broken in: 0.51
Fixed in: (no value)



Subject: read_multi() should fallback to read()
Currently read_multi() will fail if the image isn't a supported multi-image file type. This leads to a pattern like: my @imgs = Imager->read_multi(file => $filename); if (!@imgs) { my $im = Imager->new; $im->read(file=>$filename) or die $im->errstr; @imgs = $im; } It would be easier to use if read_multi() would call the read() method to read other formats, changing the above to: my @imgs = Imager->read_multi(file => $filename) or die Imager->errstr;
Fixed in current dev tree
fixed in 0.54