• 0 Posts
  • 63 Comments
Joined 5 months ago
cake
Cake day: June 23rd, 2024

help-circle







  • What kind of image is it? Reducing the number of colors in a PNG is usually inferior to JPEG compression. It can be OK for screenshots of texts and simple drawing but otherwise you’re better off with lossy JPEG or WebP.

    Some instance admins don’t even use the built-in pict-rs server so media cannot be uploaded natively at all.

    Some only allow month-old accounts to post images up to 500 kiB.

    Others leave the limits on the relatively high defaults: 10 MiB per file and up to 900 frames for soundless animation/video, which must be in WebM format and VP9 codec (or it will need to be reencoded, which usually fails because of the short timeout). It’s easy to use ffmpeg or HandBrake to create low-bitrate 30-second HD videos that fit but the limits are not visible to users and even the defaults are nowhere to be found in Lemmy documentation, I had to read the source code.