Write Numpy Array To Image Python Programming