Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "sharp", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"author": "Lovell Fuller", | ||
@@ -5,0 +5,0 @@ "description": "High performance module to resize JPEG and PNG images using the libvips image processing library", |
@@ -22,13 +22,8 @@ # sharp | ||
* node-gyp | ||
* libvips-dev 7.28+ (7.36+ for optimal JPEG Huffman coding) | ||
* [libvips](https://github.com/jcupitt/libvips) v7.37+ | ||
``` | ||
sudo npm install -g node-gyp | ||
sudo apt-get install libvips-dev | ||
``` | ||
For the sharpest results, please compile libvips from source. | ||
When installed as a package, please symlink `vips-7.28.pc` (or later, installed with libvips-dev) as `/usr/lib/pkgconfig/vips.pc`. To do this in Ubuntu 13.04 (64-bit), use: | ||
If you prefer to run a stable, package-managed environment such as Ubuntu 12.04 LTS, [v0.0.3](https://github.com/lovell/sharp/tree/v0.0.3) will work with the libvips-dev package. | ||
sudo ln -s /usr/lib/x86_64-linux-gnu/pkgconfig/vips-7.28.pc /usr/lib/pkgconfig/vips.pc | ||
## Install | ||
@@ -88,3 +83,2 @@ | ||
npm install --dev sharp | ||
npm test | ||
@@ -91,0 +85,0 @@ |
@@ -118,5 +118,6 @@ var sharp = require("../index"); | ||
}, function(err, results) { | ||
results.forEach(function(format, fastest) { | ||
assert(fastest === "sharp", "sharp was slower than " + fastest + " for " + format); | ||
assert(!err, err); | ||
Object.keys(results).forEach(function(format) { | ||
assert(results[format] == "sharp", "sharp was slower than " + results[format] + " for " + format); | ||
}); | ||
}); |
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
128
943529
120