13

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.

top 5 comments
sorted by: hot top controversial new old
[-] sanguinepar@lemmy.world 2 points 1 month 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.

[-] gofsckyourself@lemmy.world 2 points 1 month ago* (last edited 1 month 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

[-] sanguinepar@lemmy.world 2 points 1 month ago

Yeah, it didn't seem all that likely to be the reason.

[-] gofsckyourself@lemmy.world 1 points 1 month ago

More info!

So, I tried to post this image from a copy/paste and it would not work: https://morejpeg.com/Image/View/09984d7c-579e-ef11-8104-ea49aec8cc27

But then I found this image from a twitter post and it worked. It lets me upload it to the same post, either in a new comment or editing the one I posted:

[-] gofsckyourself@lemmy.world 1 points 1 week ago* (last edited 1 week 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

this post was submitted on 05 Nov 2024
13 points (100.0% liked)

Sync for Lemmy

15088 readers
1 users here now

๐Ÿ‘€


Welcome to Sync for Lemmy!

Download Sync for Lemmy


Welcome to the official Sync for Lemmy community.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Community Rules


1- No advertising or spam.

All types of advertising and spam are restricted in this community.



Community Credits

Artwork and community banner by: @MargotRobbie@lemmy.world


founded 2 years ago
MODERATORS