Forum Archive

Workflow pass image to pythonista

Webmaster4o

Can workflow pass an image to pythonista to be used with PIL in pythonista?

dgelessus

The Workflow app recently got a Base64 action, which you can use to encode any data using ASCII letters. You can pass that string to Pythonista (either via the clipboard, or by manually opening a pythonista:// URL with an argv parameter - Workflow's built-in Pythonista actions don't work like they should) and then use the base64 module to decode the string back into the image data.

Webmaster4o

Thanks!

JonB

out of curiosity, are you on the beta? your app seems like a perfect appex module!

Webmaster4o

I couldn't use appex because of the watch bug when this was posted, I posted it before your workaround