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?

  • Rooki@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    2 months ago

    Hi,

    this is done by pict-rs ( the image hosting middle man that lemmy uses ) it converts every image uploaded to png. Only way of keeping a jpg is using a external image hoster ( like imgur ) and just embeding the link here.

    Thanks

    • Tehdastehdas@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 months ago

      But why does it convert only when using copy and paste? Via download and upload, the jpeg stays jpeg.

      The converter can see it was smaller before the conversion. Why not save the smaller jpeg? Who needs pngs, no matter how wasteful?

      I’d guess Firefox takes a screenshot when I try to copy an image.