Upgrade to libvips v8.6.0

Expose offset coordinates of strategy-based crop
Switch to Github releases for prebuilt libvips
Move packaging scripts to lovell/sharp-libvips repo
This commit is contained in:
Lovell Fuller
2017-07-27 14:12:40 +01:00
parent aad16ac50d
commit 57946ed672
30 changed files with 86 additions and 631 deletions

View File

@@ -16,6 +16,7 @@ const sharp = require('../build/Release/sharp.node');
* @param {Function} [callback] - called on completion with two arguments `(err, info)`.
* `info` contains the output image `format`, `size` (bytes), `width`, `height`,
* `channels` and `premultiplied` (indicating if premultiplication was used).
* When using a crop strategy also contains `cropOffsetLeft` and `cropOffsetTop`.
* @returns {Promise<Object>} - when no callback is provided
* @throws {Error} Invalid parameters
*/