Is there any particular reason why pasting an image from clipboard works in some places, but not others? I have not been able to determine what prevents it from working? Is this an issue with Sync? It doesn’t seem to depend on the Lemmy instance.

  • SanguinePar@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    I’ve noticed this too. Most of the time it works, but ever so often it fails.

    I wonder if it could be a file size limit or something? Some screenshots will be more complex than others and thus might be just the wrong side of the line for uploading. I’ve not looked into in detail though, so can’t say for sure.

    • go $fsck yourself@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 months ago

      Definitely not a size issue. Most of the time it’s a meme I copied that is just a less jpegified version of one someone posted. It’s not something I want to save to my phone and waste space, and it’s too much effort to go back through and delete after I’m done than it’s worth.

      Here is a recent example
      https://lemmy.world/comment/13317034

  • go $fsck yourself@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 days ago

    Big update!

    It seems the images that are successful are all PNG files. I can

    This issue also seems to be related to the Clipboard API. My thinking behind this is that I cannot use this example page for jpeg/jpg images, but it works fine for PNG.

    https://evercoder.github.io/clipboard-inspector/

    I have learned that if I use an app to take a jpg file that I cannot paste and convert it to PNG, then it works.

    I use Image Toolbox for converting without saving an image.

    https://github.com/T8RIN/ImageResizer