Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "sharp", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"author": "Lovell Fuller <npm@lovell.info>", | ||
@@ -36,7 +36,7 @@ "contributors": [ | ||
"nan": "^1.2.0", | ||
"bluebird": "^2.1.2" | ||
"bluebird": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"imagemagick": "^0.1.3", | ||
"imagemagick-native": "^1.1.1", | ||
"imagemagick-native": "^1.2.2", | ||
"gm": "^1.16.0", | ||
@@ -43,0 +43,0 @@ "async": "^0.9.0", |
@@ -51,3 +51,3 @@ # sharp | ||
sudo apt-get install automake build-essential git gobject-introspection gtk-doc-tools libfftw3-dev libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev libexif-dev libxml2-dev swig | ||
sudo apt-get install automake build-essential git gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev libwebp-dev libtiff5-dev libexif-dev libxml2-dev swig | ||
git clone https://github.com/jcupitt/libvips.git | ||
@@ -57,3 +57,3 @@ cd libvips | ||
./bootstrap.sh | ||
./configure --enable-debug=no --enable-cxx=yes --without-python --without-orc | ||
./configure --enable-debug=no --enable-cxx=yes --without-python --without-orc --without-fftw | ||
make | ||
@@ -73,2 +73,6 @@ sudo make install | ||
### Install libvips on Heroku | ||
[Alessandro Tagliapietra](https://github.com/alex88) maintains an [Heroku buildpack for libvips](https://github.com/alex88/heroku-buildpack-vips) and its dependencies. | ||
## Usage examples | ||
@@ -166,7 +170,7 @@ | ||
Rotate the output image by either an explicit angle or auto-orient based on the EXIF `Orientation` tag. Mirroring is not supported. | ||
Rotate the output image by either an explicit angle or auto-orient based on the EXIF `Orientation` tag. | ||
`angle`, if present, is a Number with a value of `0`, `90`, `180` or `270`. | ||
Use this method without `angle` to determine the angle from EXIF data. | ||
Use this method without `angle` to determine the angle from EXIF data. Mirroring is currently unsupported. | ||
@@ -264,5 +268,5 @@ ### withoutEnlargement() | ||
```javascript | ||
var stats = sharp.cache(); // { current: 98, high: 115, limit: 100 } | ||
sharp.cache(200); // { current: 98, high: 115, limit: 200 } | ||
sharp.cache(50); // { current: 49, high: 115, limit: 50 } | ||
var stats = sharp.cache(); // { current: 98, high: 115, limit: 100, queue: 0 } | ||
sharp.cache(200); // { current: 98, high: 115, limit: 200, queue: 0 } | ||
sharp.cache(50); // { current: 49, high: 115, limit: 50, queue: 0 } | ||
``` | ||
@@ -269,0 +273,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51775
334
Updatedbluebird@^2.2.1