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
case python3
from PIL import Image from IPython.display import HTML from io import BytesIO from base64 import b64encode pil_im = Image.open('data/empire.jpg') b = BytesIO() pil_im.save(b, format='png') HTML("".format(b64encode(b.getvalue()).decode('utf-8')))