from PIL import Image
import numpy as np
x=np.load("universal.npy")
x=(x-np.min(x))*255/np.max(x)
im=Image.fromarray(np.uint8(x))
im.show()
im.save('flag.jpg')
from PIL import Image
import numpy as np
im = Image.open(r'test.jpeg')
img = np.array(im)
img = np.asarray(im)
'''
https://github.com/numpy/numpy/blob/bcbed877f42ed6e9b01b2125134db4b6395f1d9d/numpy/core/numeric.py#L413-481
asarray<=>array(copy=false)
https://stackoverflow.com/questions/14415741/numpy-array-vs-asarray
'''
np.save('test.npy',img)