Skip to content

Commit

Permalink
add Avifenc to document (#3321)
Browse files Browse the repository at this point in the history
* add libavif to install setup doc

* fix Avifenc link

* add Avifenc to links
  • Loading branch information
ariaieboy authored Jul 24, 2023
1 parent c1c7afa commit 6cebab8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/converting-images/optimizing-converted-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 3 additions & 1 deletion docs/installation-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -332,6 +333,7 @@ brew install optipng
brew install pngquant
brew install svgo
brew install gifsicle
brew install libavif
```

## Installing Media Library Pro
Expand Down

0 comments on commit 6cebab8

Please sign in to comment.