• tun
        link
        fedilink
        arrow-up
        43
        arrow-down
        3
        ·
        1 year ago

        Software dev here.

        Client app have little to no knowledge about server limit.

        Usually the limit is set at various places in the server. Even the server app itself does not know it’s file size limit most of the time.

        Anyway the screenshot is still worthy of the topics.

        • Echo Dot@feddit.uk
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Still though if the limit is blocking a single image from being uploaded it’s going to be pretty small. I can WhatsApp a 4K image because it’ll do down sampling to 720p, it seems odd that the same tactic wouldn’t be implemented here.

          • tun
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            1 year ago

            Resize without resampling is not resource intensive and appear not as good as resampling.

            Still server has to

            1. Accept file (needs bandwidth and storage space)
            2. Resize (needs storage, RAM and CPU)
            3. Clean up (needs CPU)

            I don’t know lemmy has this feature or not. Even if not, as Lemmy server get mature this feature might get implemented. Server might allow admin toggling this feature.

            Recent attack on Lemmy servers with CSAM made server admins to completely turn off the image upload. That could also be the case here.

          • tun
            link
            fedilink
            arrow-up
            15
            arrow-down
            1
            ·
            1 year ago

            Not the avelon dev. Just a nobody software dev.

            Just sharing my exp.