https://stackoverflow.com/questions/19395649/python-pil-create-and-save-image-from-data-uri
import base64
from io import BytesIO
@app.route('/send_pic',methods=['GET','POST'])
def button_pressed():
print("Image recieved")
data_url = request.values['imageBase64']
# Decoding base64 string to bytes object
im