diff --git a/Tests/check_large_memory_numpy.py b/Tests/check_large_memory_numpy.py index e48d9836797..f0df1971877 100644 --- a/Tests/check_large_memory_numpy.py +++ b/Tests/check_large_memory_numpy.py @@ -38,6 +38,14 @@ def test_2gpx(self): """failed prepatch""" self._write_png(XDIM, XDIM) + def test_1475(self): + """ issue #1475 """ + self._write_png(36352, 18144) + + def test_1475_b(self): + a = np.zeros((36352, 18144), dtype=np.float) + im = Image.fromarray(a, mode='F') + if __name__ == '__main__': unittest.main()