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.


    Photos Module

    Pythonista
    1
    1
    878
    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.
    • MurielleG14
      MurielleG14 last edited by

      Hi,

      I am new to Python and struggling with the Image/Photos modules.
      So far, I have managed to select a photo from photoroll, access pixels, save it, copy it...
      My problem is that I cannot figure out how to save the picture as a png to the photoroll. No matter what I do, I end up with a jpeg and when I read it again, the pixel values are not what I expect. This only happens when saving to the photoroll. The saves to pasteboard and local file system do not behave this way.
      What am I doing wrong ? Maybe some extra arguments to the photos.save_image ?
      Thanks for your help.

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