scipy/scipy — pull request #457 by juliantaylor (2013-03-04 18:40:43+00:00)
Title: add mode argument to ndimage.imread

a test_io.test_imread test failure on ubuntu uncovered [0] that ndimage.imread offers no possibility to define the mode in which a image is opened

[0] the ubuntu package compresses dot.png so its in P mode, 8 bit pixels with palette, so the shape does not match, this patch also fixes the test failure.