Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Loading images into gui.
-
How do I go about loading images into a pythonista ui from photo roll.
The purpose is just to have my own profile logo in the corner of my scripts.
I can load the library images but I can't seem to get a photo roll image into the library or load from my own file path within pythonista
-
Try using ui.ImageView; it takes an image from PIL.Image.open() and if presented, displays it
-
I'm still having trouble with this. I just want to use an image already sitting in the images folder in pythonista.
-
Assuming your image file is in the same folder as your script, you can load it into an image view like this:
my_image_view.image = ui.Image.named('image.png')
(jpeg would also work, of course.)
-
This post is deleted! -
@omz Whenever I try that, I get an error that says "Expected a texture object".