Skip to content
Discussion options

You must be logged in to vote

I had the same problem in my salabim package.

There is a simple -not very elegant- solution:

                try:
                    ims = scene.load_pil_image(capture_image)
                except SystemError:
                    im_file = "temp.png"  # hack for Pythonista 3.4
                    capture_image.save(im_file, "PNG")
                    ims = scene.load_image_file(im_file)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Striblezz
Comment options

Answer selected by Striblezz
Comment options

You must be logged in to vote
1 reply
@Striblezz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants