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.


    Issues copying animated gifs to clipboard

    Pythonista
    2
    2
    1197
    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.
    • ?
      A Former User last edited by

      I have a problem where I'm trying to copy an animated gif to my clipboard from a remote url and I get the image but it only appears to be the first frame of the gif?

      import Image
      import clipboard
      from urllib import urlopen
      from io import BytesIO
      
      url = clipboard.get()
      img = Image.open(BytesIO(urlopen(url).read()))
      clipboard.set_image(img)
      

      I came up which this code but not sure where I am going wrong? Hoping I'm on the right lines.

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

        It's not possible to copy animated gifs to the clipboard right now, sorry.

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