Docs: add note about AVIF images smaller than 16x16

This commit is contained in:
Lovell Fuller 2020-12-20 17:17:49 +00:00
parent 7c08a09529
commit 182beaa4a1
2 changed files with 6 additions and 0 deletions

View File

@ -303,6 +303,9 @@ Returns **Sharp**
Use these AVIF options for output image.
Whilst it is possible to create AVIF images smaller than 16x16 pixels,
most web browsers do not display these properly.
### Parameters
- `options` **[Object][6]?** output options

View File

@ -560,6 +560,9 @@ function tiff (options) {
/**
* Use these AVIF options for output image.
*
* Whilst it is possible to create AVIF images smaller than 16x16 pixels,
* most web browsers do not display these properly.
*
* @since 0.27.0
*
* @param {Object} [options] - output options