python image open code example
Example 1: PIL image example
>>> from PIL import Image
>>> im = Image.open("image.jpg")
>>> im.show()
Example 2: pillow image from array
PIL.Image.fromarray(your_array)
>>> from PIL import Image
>>> im = Image.open("image.jpg")
>>> im.show()
PIL.Image.fromarray(your_array)