diff --git a/docs/converting-images/optimizing-converted-images.md b/docs/converting-images/optimizing-converted-images.md index 0bf436482..a44180181 100644 --- a/docs/converting-images/optimizing-converted-images.md +++ b/docs/converting-images/optimizing-converted-images.md @@ -25,6 +25,7 @@ The package will use these optimizers if they are present on your system: - [Pngquant 2](https://pngquant.org/) - [SVGO](https://github.com/svg/svgo) - [Gifsicle](http://www.lcdf.org/gifsicle/) +- [Avifenc](https://github.com/AOMediaCodec/libavif/blob/main/doc/avifenc.1.md) Head over to [the installation page](https://docs.spatie.be/laravel-medialibrary/v10/installation-setup#optimization-tools) to learn how to install these. diff --git a/docs/installation-setup.md b/docs/installation-setup.md index f0c23942e..97b9b202e 100644 --- a/docs/installation-setup.md +++ b/docs/installation-setup.md @@ -316,11 +316,12 @@ Media library will use these tools to [optimize converted images](https://docs.s - [Pngquant 2](https://pngquant.org/) - [SVGO](https://github.com/svg/svgo) - [Gifsicle](http://www.lcdf.org/gifsicle/) +- [Avifenc](https://github.com/AOMediaCodec/libavif/blob/main/doc/avifenc.1.md) Here's how to install all the optimizers on Ubuntu: ```bash -sudo apt install jpegoptim optipng pngquant gifsicle +sudo apt install jpegoptim optipng pngquant gifsicle libavif-bin npm install -g svgo ``` @@ -332,6 +333,7 @@ brew install optipng brew install pngquant brew install svgo brew install gifsicle +brew install libavif ``` ## Installing Media Library Pro