📅  最后修改于: 2022-03-11 14:58:44.888000             🧑  作者: Mango
random_array = np.random.random_sample(content_array.shape) * 255
random_array = random_array.astype(np.uint8)
random_image = Image.fromarray(random_array)