Is it possible to use PIL images in Toga? #1986
Unanswered
ego-lay-atman-bay
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Yes, it's possible. The documentation of the Image class constructor details the API, and theimage example in the Toga repository shows that API in use. |
Beta Was this translation helpful? Give feedback.
2 replies
-
That would probably work the best. For now, I guess I will save the image to a BytesIO object, and get the data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using a python package that heavily uses PIL for creating images. I would like to be able to use PIL images in Toga without having to save the image to a BytesIO object, and grab the bytes from that. It would probably speed up the app.
Beta Was this translation helpful? Give feedback.
All reactions