text_plain_output_1.png
from PIL import Image

import matplotlib.pyplot as plt

import numpy as np

import numpy as np # linear algebra

from PIL import Image
image = Image.open('../input/pilimages/opera_house.jpg')

import matplotlib.pyplot as plt
import numpy as np
img_arr = np.asarray(image)

img = Image.fromarray(img_arr)
print(img.mode)
print(img.size)
print(img.format)