]> git.imager.perl.org - imager.git/commit
Imager->new now attempts to read a file given any data source
authorTony Cook <tony@develop-help.com>
Sun, 8 Nov 2015 00:09:42 +0000 (11:09 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 8 Nov 2015 00:09:42 +0000 (11:09 +1100)
commitc1af64cab9d10c86d9c5a87818488164737a5c63
tree554da9bc025821cd538e8e5320d157f62f31e0dc
parent5ebfb369523aebd6efa1d191ebbfe878bc0bcd69
Imager->new now attempts to read a file given any data source

Previously, attempting to read a raw image would simply return a blank
image, since the xsize and ysize parameters are required when reading
a raw image, and new() checked only those parameters to decide to
return a blank image.
Imager.pm
t/200-file/300-raw.t