How to show PIL Image in ipython notebook

前端 未结 12 1407
抹茶落季
抹茶落季 2020-12-22 23:18

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-22 23:59

    much simpler in jupyter using pillow.

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

提交回复
热议问题