diff --git a/content/en/admin/config.md b/content/en/admin/config.md index 9a021c7..ab54bb5 100644 --- a/content/en/admin/config.md +++ b/content/en/admin/config.md @@ -262,6 +262,17 @@ If you are not using Unix sockets, this defines the IP to which the process will This variable cannot be defined in dotenv (`.env`) files as it's used before they are loaded. {{}} +#### `MASTODON_USE_LIBVIPS` + +By default, Mastodon uses ImageMagick to process images in posts. As an alternative, [libvips](https://www.libvips.org) 8.13+ can be utilized, which has better performance and lower resource utilization. + +When installing Mastodon from source, this defaults to `false`, set to `true` to enable. + +When deploying the Mastodon project container image, this is hardcoded to `true` and should not be overridden. + +**Version history:**\ +4.3.0 - added + ### Scaling options {#scaling} {{< page-ref page="admin/scaling" >}} diff --git a/content/en/admin/install.md b/content/en/admin/install.md index a3b750a..ce85b78 100644 --- a/content/en/admin/install.md +++ b/content/en/admin/install.md @@ -42,7 +42,7 @@ echo "deb [signed-by=/usr/share/keyrings/postgresql.asc] http://apt.postgresql.o ```bash apt update apt install -y \ - imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core \ + imagemagick ffmpeg libvips-tools libpq-dev libxml2-dev libxslt1-dev file git-core \ g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf \ bison build-essential libssl-dev libyaml-dev libreadline6-dev \ zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev \