How to show PIL Image in ipython notebook

前端 未结 12 628
悲&欢浪女
悲&欢浪女 2020-12-22 23:08

This is my code

from PIL import Image
pil_im = Image.open(\'data/empire.jpg\')

I would like to do some image manipulation on it, and then s

12条回答
  •  时光说笑
    2020-12-23 00:03

    much simpler in jupyter using pillow.

    from PIL import Image
    image0=Image.open('image.png')
    image0
    

提交回复
热议问题