mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Correct docs - callback is optional for png
This commit is contained in:
parent
b635d015cd
commit
8d146accf3
@ -220,7 +220,7 @@ Write JPEG image data to a Buffer.
|
|||||||
|
|
||||||
A Promises/A+ promise is returned when `callback` is not provided.
|
A Promises/A+ promise is returned when `callback` is not provided.
|
||||||
|
|
||||||
### png(callback)
|
### png([callback])
|
||||||
|
|
||||||
Write PNG image data to a Buffer.
|
Write PNG image data to a Buffer.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user