Forum Discussion
NaftaliKulik
3 years agoQrew Member
Did you ever solve this? I'm running into the same issue
------------------------------
Naftali Kulik
------------------------------
------------------------------
Naftali Kulik
------------------------------
DFDK
3 years agoQrew Member
Yes. In the end this works for me.
#Get image url using your method of choice
import urllib.request
from PIL import Image
from io import BytesIO
url = urllib.request.urlopen('https://the_image_url?usertoken=' + quickbase_token)
s = url.read()
img = Image.open(BytesIO(s))
img.show() #or do whatever you want with it
#Get image url using your method of choice
import urllib.request
from PIL import Image
from io import BytesIO
url = urllib.request.urlopen('https://the_image_url?usertoken=' + quickbase_token)
s = url.read()
img = Image.open(BytesIO(s))
img.show() #or do whatever you want with it