mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Shrink less, affine more, maintain performance #75
Affects interpolators with 4x4+ window size e.g. Bicubic, LBB, Nohalo Introduces blur before large affine to improve large PNG reductions
This commit is contained in:
@@ -17,7 +17,8 @@ describe('Sharpen', function() {
|
||||
assert.strictEqual('jpeg', info.format);
|
||||
assert.strictEqual(320, info.width);
|
||||
assert.strictEqual(240, info.height);
|
||||
sharp(notSharpened)
|
||||
sharp(fixtures.inputJpg)
|
||||
.resize(320, 240)
|
||||
.sharpen()
|
||||
.toBuffer(function(err, sharpened, info) {
|
||||
if (err) throw err;
|
||||
|
||||
Reference in New Issue
Block a user