Doc and changelog updates #519 #540

This commit is contained in:
Lovell Fuller 2016-08-13 17:24:06 +01:00
parent fc2002fbd0
commit 72354d55a8
2 changed files with 11 additions and 3 deletions

View File

@ -453,12 +453,12 @@ Enhance output image contrast by stretching its luminance to cover the full dyna
#### overlayWith(image, [options]) #### overlayWith(image, [options])
Overlay (composite) a image containing an alpha channel over the processed (resized, extracted etc.) image. Overlay (composite) a image over the processed (resized, extracted etc.) image.
`image` is one of the following, and must be the same size or smaller than the processed image: `image` is one of the following, and must be the same size or smaller than the processed image:
* Buffer containing PNG, WebP, GIF, SVG, raw pixel image data, or * Buffer containing image data, or
* String containing the path to an image file, with most major transparency formats supported. * String containing the path to an image file
`options`, if present, is an Object with the following optional attributes: `options`, if present, is an Object with the following optional attributes:

View File

@ -25,10 +25,18 @@ Requires libvips v8.3.3
[#516](https://github.com/lovell/sharp/pull/516) [#516](https://github.com/lovell/sharp/pull/516)
[@mhirsch](https://github.com/mhirsch) [@mhirsch](https://github.com/mhirsch)
* Prevent bandbool creating a single channel sRGB image.
[#519](https://github.com/lovell/sharp/pull/519)
[@mhirsch](https://github.com/mhirsch)
* Ensure ICC profiles are removed from PNG output unless withMetadata used. * Ensure ICC profiles are removed from PNG output unless withMetadata used.
[#521](https://github.com/lovell/sharp/issues/521) [#521](https://github.com/lovell/sharp/issues/521)
[@ChrisPinewood](https://github.com/ChrisPinewood) [@ChrisPinewood](https://github.com/ChrisPinewood)
* Add alpha channels, if missing, to overlayWith images.
[#540](https://github.com/lovell/sharp/pull/540)
[@cmtt](https://github.com/cmtt)
* Remove deprecated interpolateWith method - use resize(w, h, { interpolator: ... }) * Remove deprecated interpolateWith method - use resize(w, h, { interpolator: ... })
[#310](https://github.com/lovell/sharp/issues/310) [#310](https://github.com/lovell/sharp/issues/310)