cinny
cinny copied to clipboard
An option to automatically compress uploaded images
Describe the problem
A lot of images, such as high-resolution screenshots, or modern day phone camera photos, can be in the realm of 10+ megabytes. When a homeserver is resource constrained, be it the media store, or available bandwidth, commonly sharing images can often end up being slow and cumbersome.
Describe the solution you'd like
The ability to automatically compress images, such as PNG images, to a webp (or jpeg if compatability is really a must), would be amazing. I do think it should be a toggleable option, or have a configurable threshold where it would kick in.
Alternatives considered
Manually compressing images is... fine, but it often takes a while and adds a whole bunch of steps into the process of simply sharing images.
Additional context
While I do not have a low-storage server, I only have 50 megabits of uplink speed, so when I'm sharing large images, it can often slow down my server until remote servers have cached my file.