mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Docs: fix typo in gif example (#3201)
This commit is contained in:
parent
d396a4e65d
commit
75e5afcd42
@ -334,7 +334,7 @@ The first entry in the palette is reserved for transparency.
|
||||
// Convert PNG to GIF
|
||||
await sharp(pngBuffer)
|
||||
.gif()
|
||||
.toBuffer());
|
||||
.toBuffer();
|
||||
```
|
||||
|
||||
```javascript
|
||||
|
@ -516,7 +516,7 @@ function webp (options) {
|
||||
* // Convert PNG to GIF
|
||||
* await sharp(pngBuffer)
|
||||
* .gif()
|
||||
* .toBuffer());
|
||||
* .toBuffer();
|
||||
*
|
||||
* @example
|
||||
* // Convert animated WebP to animated GIF
|
||||
|
Loading…
x
Reference in New Issue
Block a user