this post was submitted on 03 Aug 2023
95 points (98.0% liked)

Lemmy NSFW

11900 readers
4 users here now

Updates about lemmynsfw.com

founded 1 year ago
MODERATORS
 

I was waiting for new versions, but the disk filled up faster than I expected. I'm moving 400GB image archive from local disk to object-storage. Unfortunately the process is very slow. It will take several hours.

Update: Migration finished ๐ŸŽ‰

you are viewing a single comment's thread
view the rest of the comments
[โ€“] yay@lemmynsfw.com 2 points 1 year ago (1 children)

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.

[โ€“] whyIs@lemmynsfw.com 10 points 1 year ago (1 children)

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.

[โ€“] yay@lemmynsfw.com 6 points 1 year ago

oh shit you are right! It used to be default but probably removed in new versions. I added it back. Thanks!