Ensure premultiply op occurs before box shrink #605

This commit is contained in:
Lovell Fuller
2016-12-04 18:25:44 +00:00
parent 7231d92d1f
commit d3c78f825c
11 changed files with 42 additions and 33 deletions

View File

@@ -52,7 +52,7 @@ describe('Gamma correction', function () {
if (err) throw err;
assert.strictEqual('png', info.format);
assert.strictEqual(320, info.width);
fixtures.assertSimilar(fixtures.expected('gamma-alpha.jpg'), data, { threshold: 11 }, done);
fixtures.assertSimilar(fixtures.expected('gamma-alpha.jpg'), data, { threshold: 19 }, done);
});
});