omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Workflow pass image to pythonista

    Pythonista
    3
    5
    2351
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Webmaster4o
      Webmaster4o last edited by

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

      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • Webmaster4o
          Webmaster4o last edited by

          Thanks!

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

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

            1 Reply Last reply Reply Quote 0
            • Webmaster4o
              Webmaster4o last edited by

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors