• Fonzie!@ttrpg.network
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    3 months ago

    Is there a limit (lower than 4 MB) on your instance? If not, why didn’t you upload the full version directly?

    • MentalEdge@sopuli.xyzOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      3 months ago

      For speed.

      Since I’m not uploading to my instance but hosting using catbox, I could upload the full image as the main image every time. (Instance limit is 1mb, and it also further compresses all images into webp files)

      But for some users on mobile apps in places with crap internet, larger files mean they have to wait for the post to load for potentially tens of seconds. That’s really annoying, just to see what someone posted.

      In order for my posts to load relatively instantly no matter the conditions in which a user is browsing lemmy, I thumbnail any image larger than a megabyte into something smaller. For any images like this I then link the original file, should someone like to see the piece in full quality.

    • wjs018@ani.social
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      Not the OP, but…most instances (including ani.social) auto-convert any uploaded images to webp to save storage space since they are run on user donations. That conversion will impact image quality.

      Edit: Also, this is semi-automated through some post-creation tools by the OP and some of the booru images are really, really big. So, having a reasonably sized version makes sense for the formatting.

      • Fonzie!@ttrpg.network
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        3 months ago

        .webp can be lossless, and is often still smaller than .png, but I’m guessing ani.social uses lossy compressed .webp then?

        That’s good to know, will check what my instance does, just in case! Thanks for the explanation!