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.


    Save local photo to camera roll?

    Pythonista
    2
    2
    1944
    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.
    • donnieh
      donnieh last edited by

      I have an image manually imported into my scripts main directory using the Pythonista photo import feature, myimage.gif. I have a button action where I want to save this to the camera roll. I just cannot figure out how to do this. Do I use the photos module to save it? If so, how?

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

        Yes, use Photos module:

        photos.save_image(image)
        or
        photos.create_image_asset(image_path)
        
        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Powered by NodeBB Forums | Contributors