Add support for Buffer and Stream-based TIFF output

This commit is contained in:
Lovell Fuller
2017-05-04 16:40:49 +01:00
parent 19dd6a997f
commit c8e59f08ec
7 changed files with 42 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ function toFile (fileOut, callback) {
/**
* Write output to a Buffer.
* JPEG, PNG, WebP, and RAW output are supported.
* JPEG, PNG, WebP, TIFF and RAW output are supported.
* By default, the format will match the input image, except GIF and SVG input which become PNG output.
*
* `callback`, if present, gets three arguments `(err, data, info)` where: