url = "https://www.linkpicture.com/q/knots_SM.jpg"
image_data = Image.open(requests.get(url, stream=True).raw)
This does not worked for me and yield error "cannot identify image file <_io.BytesIO object at 0x7f9a16b12a98>"
I have tried other workaround mentioned here but that also not working