this post was submitted on 03 Aug 2023
95 points (98.0% liked)
Lemmy NSFW
11027 readers
2 users here now
Updates about lemmynsfw.com
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I wanted to ask if you are storing images after transcoding them or not. 400GB image archive seems quite a bit High to me.
If you are no,t I highly recommend that you transcode the images that the users upload, it will significantly reduce the size of your image library.
I recommend that you transcode to webp format. I tried making avif work but it wouldn't and jxl is still ways of.
Images are transcoded but thats not the problem. The problem is lemmy literally downloading every remote posts thumbnails to our archive. There is no option to opt out.
I looked at the images now and I will tell you for a fact that they are not being transcoded and saved. to transcode and save image to desired format you have to have set the following environment variable for the
pictrs
service in the docker-compose file:PICTRS__MEDIA__FORMAT=
When I look at your communities, I find images saved as png, jpeg, jpg, but not as webp. Saving images as webp/avif/jxl will result in an incredible reduction of storage requirements.
oh shit you are right! It used to be default but probably removed in new versions. I added it back. Thanks!