Docs: cross-link removeAlpha and flatten

This commit is contained in:
Lovell Fuller
2021-05-23 18:46:23 +01:00
parent ed3377cb2d
commit 1b4d1521e0
5 changed files with 39 additions and 29 deletions

View File

@@ -15,6 +15,8 @@ const bool = {
/**
* Remove alpha channel, if any. This is a no-op if the image does not have an alpha channel.
*
* See also {@link /api-operation#flatten|flatten}.
*
* @example
* sharp('rgba.png')
* .removeAlpha()