Use dtype= here as well, and is there a reason why you use np.int16 rather than np.uint8?