Reduce sharpen op max sigma from 10000 to 10 #3521

This commit is contained in:
Lovell Fuller
2023-01-10 16:29:40 +00:00
parent ef849fd639
commit 081debd055
4 changed files with 8 additions and 5 deletions

View File

@@ -110,7 +110,7 @@ describe('Sharpen', function () {
it('invalid options.sigma', () => assert.throws(
() => sharp().sharpen({ sigma: -1 }),
/Expected number between 0\.000001 and 10000 for options\.sigma but received -1 of type number/
/Expected number between 0\.000001 and 10 for options\.sigma but received -1 of type number/
));
it('invalid options.m1', () => assert.throws(