From 69126a7c5fcc59e8467bcad3a3f7ff02254e5dff Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Fri, 27 May 2016 21:33:07 +0100 Subject: [PATCH] Add docs and credits for #439 and #443 --- docs/api.md | 1 + docs/changelog.md | 8 ++++++++ docs/index.md | 2 ++ package.json | 8 +++++--- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index 8cefabe8..bbd378d3 100644 --- a/docs/api.md +++ b/docs/api.md @@ -431,6 +431,7 @@ Overlay (composite) a image containing an alpha channel over the processed (resi `options`, if present, is an Object with the following optional attributes: * `gravity` is a String or an attribute of the `sharp.gravity` Object e.g. `sharp.gravity.north` at which to place the overlay, defaulting to `center`/`centre`. +* `tile` is a Boolean, defaulting to `false`. When set to `true` repeats the overlay image across the entire image with the given `gravity`. ```javascript sharp('input.png') diff --git a/docs/changelog.md b/docs/changelog.md index c996f174..f9957f75 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -10,6 +10,14 @@ Requires libvips v8.3.1 [#429](https://github.com/lovell/sharp/issues/429) [@papandreou](https://github.com/papandreou) +* Add alpha channel, if required, before extend operation. + [#439](https://github.com/lovell/sharp/pull/439) + [@frulo](https://github.com/frulo) + +* Allow overlay image to be repeated across entire image via tile option. + [#443](https://github.com/lovell/sharp/pull/443) + [@lemnisk8](https://github.com/lemnisk8) + #### v0.15.0 - 21st May 2016 * Use libvips' new Lanczos 3 kernel as default for image reduction. diff --git a/docs/index.md b/docs/index.md index 3e5a0a0c..f6e6855a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -92,6 +92,8 @@ the help and code contributions of the following people: * [Kenton Gray](https://github.com/kentongray) * [Felix Bünemann](https://github.com/felixbuenemann) * [Samy Al Zahrani](https://github.com/salzhrani) +* [Chintan Thakkar](https://github.com/lemnisk8) +* [F. Orlando Galashan](https://github.com/frulo) Thank you! diff --git a/package.json b/package.json index f10bcda3..0b83f592 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sharp", - "version": "0.15.0", + "version": "0.15.1", "author": "Lovell Fuller ", "contributors": [ "Pierre Inglebert ", @@ -22,7 +22,9 @@ "John Tobin ", "Kenton Gray ", "Felix Bünemann ", - "Samy Al Zahrani " + "Samy Al Zahrani ", + "Chintan Thakkar ", + "F. Orlando Galashan " ], "description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP and TIFF images", "scripts": { @@ -68,7 +70,7 @@ "exif-reader": "^1.0.0", "icc": "^0.0.2", "istanbul": "^0.4.3", - "mocha": "^2.4.5", + "mocha": "^2.5.3", "mocha-jshint": "^2.3.1", "node-cpplint": "^0.4.0", "rimraf": "^2.5.2",