From ef54e327b7f6e2401a5bf7e8d8c2c6f1c2f3f275 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 16 Feb 2015 13:51:47 +0000 Subject: [PATCH] Document GIF input via Buffer and Stream Ensure @mcuelenaere is credited --- README.md | 7 +++++-- package.json | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f4147b1f..90abfa71 100755 --- a/README.md +++ b/README.md @@ -226,15 +226,17 @@ sharp(inputBuffer) Constructor to which further methods are chained. `input`, if present, can be one of: -* Buffer containing JPEG, PNG, WebP or TIFF image data, or +* Buffer containing JPEG, PNG, WebP, GIF* or TIFF image data, or * String containing the filename of an image, with most major formats supported. The object returned implements the [stream.Duplex](http://nodejs.org/api/stream.html#stream_class_stream_duplex) class. -JPEG, PNG, WebP or TIFF format image data can be streamed into the object when `input` is not provided. +JPEG, PNG, WebP, GIF* or TIFF format image data can be streamed into the object when `input` is not provided. JPEG, PNG or WebP format image data can be streamed out from this object. +\* GIF support requires libvips 8.0.0+. + #### metadata([callback]) Fast access to image metadata without decoding any compressed image data. @@ -627,6 +629,7 @@ This module would never have been possible without the help and code contributio * [Amit Pitaru](https://github.com/apitaru) * [Brandon Aaron](https://github.com/brandonaaron) * [Andreas Lind](https://github.com/papandreou) +* [Maurus Cuelenaere](https://github.com/mcuelenaere) Thank you! diff --git a/package.json b/package.json index 7073395c..d7b56034 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sharp", - "version": "0.9.2", + "version": "0.9.3", "author": "Lovell Fuller ", "contributors": [ "Pierre Inglebert ", @@ -11,7 +11,8 @@ "Julian Walker ", "Amit Pitaru ", "Brandon Aaron ", - "Andreas Lind " + "Andreas Lind ", + "Maurus Cuelenaere " ], "description": "High performance Node.js module to resize JPEG, PNG, WebP and TIFF images using the libvips library", "scripts": {