Mastodon now recommends switching to libvips from ImageMagick.
-
Mastodon now recommends switching to libvips from ImageMagick.
Is this as simple as
apt install libvips
or is something else needed?Bonus question: is there any way of confirming it’s set up correctly to use libvips?
-
Shadow, First of His Namereplied to Michael last edited by
@michael It was simple for me but had to do via 'install make'
i am root (@[email protected])
In the 4.3.0-beta.1 release notes, it mentions you can enable "libvips as a faster and lighter alternative to ImageMagick for processing user-uploaded images". In one of the linked bugs is says to install `libvips42`. When I attempt to do that on Ubuntu 24.04 via `sudo apt install libvips42`, I see this: Note, selecting 'libvips42t64' instead of 'libvips42' It goes on to list 13 packages that will be installed. Does this sound correct to anyone who has enabled it? #MastoAdmin
puddle.town (puddle.town)
-
-
-
Shadow, First of His Namereplied to Michael last edited by
-
-
@michael @shadow @null You could try upgrading to Ubuntu 24.04 first. Since you're already on the current Mastodon beta, it should be compatible. Make a good backup first though!
After you have installed the library, you'll need to add the following line to your .env.production:
MASTODON_USE_LIBVIPS=true
-
I have never updated a server in production. Always stood up a new server and then migrated across. Way too chicken for anything else
-