omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. zjtafsjgd7

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    zjtafsjgd7

    @zjtafsjgd7

    0
    Reputation
    414
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    zjtafsjgd7 Unfollow Follow

    Latest posts made by zjtafsjgd7

    • How to Save Images With and Without EXIF Metadata to Camera Roll/Clipboard

      Hi there,

      In my Editorial workflow, I want to get an image from the clipboard or the camera roll, do some processing, and then export the image to the clipboard or the camera roll by either a) including or b) excluding the original EXIF image metadata (I am mainly interested in the geolocation information).

      From my testing, it seems photos are always exported without the original metadata. Can I trust this to be always true? I assume the img object in the following Python script doesn't even contain the metadata itself, is this correct? On the other hand, how can I actually include the metadata when exporting the image to the clipboard or camera roll?

      import photos
      import clipboard
      
      
      # Image input: From camera roll or clipboard
      img = photos.get_image(-1)
      # img = clipboard.get_image()
      
      # Processing
      # ...
      
      # Image output: To camera roll or clipboard
      # Depending on user choice, I want the exported image to either include or exclude the metadata
      photos.save_image(img)
      # clipboard.set_image(img, format='jpg', jpeg_quality=1)
      

      Thanks for any help!

      posted in Editorial
      zjtafsjgd7
      zjtafsjgd7
    • RE: How to Save Images With and Without EXIF Metadata to Camera Roll/Clipboard

      Oops sorry, I actually meant Editorial (edited original post).

      posted in Editorial
      zjtafsjgd7
      zjtafsjgd7