From 853cc65e328b439ca03be3e4a9c287eb9dc525ac Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sat, 28 Apr 2018 14:06:45 +0100 Subject: [PATCH] Changelog entry for #1208 --- docs/changelog.md | 4 ++++ lib/output.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index e86af8f7..c9a3a81c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -18,6 +18,10 @@ Requires libvips v8.6.1. [#1204](https://github.com/lovell/sharp/pull/1204) [@woolite64](https://github.com/woolite64) +* Add support for Group4 (CCITTFAX4) compression with TIFF output. + [#1208](https://github.com/lovell/sharp/pull/1208) + [@woolite64](https://github.com/woolite64) + #### v0.20.1 - 17th March 2018 * Improve installation experience when a globally-installed libvips below the minimum required version is found. diff --git a/lib/output.js b/lib/output.js index 878a3ac3..0bb880d4 100644 --- a/lib/output.js +++ b/lib/output.js @@ -286,7 +286,7 @@ function webp (options) { * @param {Object} [options] - output options * @param {Number} [options.quality=80] - quality, integer 1-100 * @param {Boolean} [options.force=true] - force TIFF output, otherwise attempt to use input format - * @param {Boolean} [options.compression='jpeg'] - compression options: lzw, deflate, jpeg + * @param {Boolean} [options.compression='jpeg'] - compression options: lzw, deflate, jpeg, ccittfax4 * @param {Boolean} [options.predictor='horizontal'] - compression predictor options: none, horizontal, float * @param {Number} [options.xres=1.0] - horizontal resolution in pixels/mm * @param {Number} [options.yres=1.0] - vertical resolution in pixels/mm