Skip to content

Commit db4b621

Browse files
authored
docs: Add AVIF to README.md list of supported formats. (#211)
1 parent 11f51e2 commit db4b621

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ decompressing, resizing and compressing images. It aims to do as little memory
77
allocation as possible and especially not to create garbage in Go. As a result,
88
it is suitable for very high throughput image resizing services.
99

10-
Lilliput supports resizing JPEG, PNG, static WEBP, and animated GIFs & WEBPs. It can also convert formats.
10+
Lilliput supports resizing JPEG, PNG, WebP (both static and animated), AVIF (both static and animated), and animated GIFs. It can also convert between these formats.
1111
Lilliput also has some support for getting the first frame from MOV and WEBM
1212
videos.
1313

@@ -258,6 +258,7 @@ Valid keys/values for `opts` are
258258
* `JpegQuality` (1 - 100)
259259
* `PngCompression` (0 - 9)
260260
* `WebpQuality` (0 - 100).
261+
* `AvifQuality` (0 - 100)
261262
262263
```go
263264
func (e lilliput.Encoder) Close()

0 commit comments

Comments
 (0)