this post was submitted on 10 Nov 2024
18 points (100.0% liked)

Lemmy.world Support

3228 readers
1 users here now

Lemmy.world Support

Welcome to the official Lemmy.world Support community! Post your issues or questions about Lemmy.world here.

This community is for issues related to the Lemmy World instance only. For Lemmy software requests or bug reports, please go to the Lemmy github page.

This community is subject to the rules defined here for lemmy.world.

To open a support ticket Static Badge


You can also DM https://lemmy.world/u/lwreport or email [email protected] (PGP Supported) if you need to reach our directly to the admin team.


Follow us for server news 🐘

Outages 🔥

https://status.lemmy.world/



founded 1 year ago
MODERATORS
 

I just made a post copy-pasting images from another tab. All jpegs became pngs, for example 1.3MB became 6.4MB.

If I save the image first, then upload to Lemmy, it stays as a jpeg. What causes the pointless converting when copy-pasting? Can it be stopped from happening?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 week ago* (last edited 1 week ago) (1 children)

Are you pasting the file or the image data?

If you’re opening the image, and copying the file’s contents, I could imagine it becoming uncompressed bitmap data to be stored on the clipboard rather than the clipboard containing lossy compressed image data. When pasting the contents somewhere, you can’t count on the destination handling jpeg data as often/reliably as you can count a destination being able to handle bitmap data.

edit: I hit the wrong reply button, but I guess this stands alone fine as it is.

[–] [email protected] 2 points 1 week ago* (last edited 1 week ago) (1 children)

In Firefox I right-click the image and select "Copy". In the same window in the other tab I hit Ctrl-V.

Surely it sends the file from the local cache folder?

[–] [email protected] 1 points 1 week ago

No. When you copy an image like that you're copying the image data to your clipboard, not the file.