when I save image in pil from numpy it do't work properly code example
Example: save numpy arrayw with PIL
from PIL import Image
im = Image.fromarray(A)
im.save("your_file.jpeg")
from PIL import Image
im = Image.fromarray(A)
im.save("your_file.jpeg")