Use libvips' new lanczos3 kernel as default for image reduce
Deprecate interpolateWith method, now provided as an option
BIN
test/fixtures/expected/crop-entropy.jpg
vendored
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.5 KiB |
BIN
test/fixtures/expected/embed-16bit-rgba.png
vendored
|
Before Width: | Height: | Size: 782 B After Width: | Height: | Size: 988 B |
BIN
test/fixtures/expected/embed-16bit.png
vendored
|
Before Width: | Height: | Size: 789 B After Width: | Height: | Size: 999 B |
BIN
test/fixtures/expected/flatten-rgb16-orange.jpg
vendored
|
Before Width: | Height: | Size: 840 B After Width: | Height: | Size: 839 B |
BIN
test/fixtures/expected/gamma-0.0.jpg
vendored
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 621 B |
BIN
test/fixtures/expected/svg1200.png
vendored
|
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 716 B |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 15 KiB |
1
test/fixtures/index.js
vendored
@@ -18,7 +18,6 @@ var fingerprint = function(image, callback) {
|
||||
.normalise()
|
||||
.resize(9, 8)
|
||||
.ignoreAspectRatio()
|
||||
.interpolateWith(sharp.interpolator.vertexSplitQuadraticBasisSpline)
|
||||
.raw()
|
||||
.toBuffer(function(err, data) {
|
||||
if (err) {
|
||||
|
||||