From 2672de24803ac33705b20d6132b44a1ac5d89f3c Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sat, 20 Jul 2024 14:04:53 +0100 Subject: [PATCH] Docs: changelog and credit for #4168 --- docs/changelog.md | 4 ++++ docs/humans.txt | 3 +++ test/types/sharp.test-d.ts | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index ab5c4d37..0d03a618 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -24,6 +24,10 @@ Requires libvips v8.15.2 [#4157](https://github.com/lovell/sharp/pull/4157) [@nkeynes](https://github.com/nkeynes) +* Expose optional `precision` parameter of `blur` operation. + [#4168](https://github.com/lovell/sharp/pull/4168) + [@marcosc90](https://github.com/marcosc90) + ### v0.33.4 - 16th May 2024 * Remove experimental status from `pipelineColourspace`. diff --git a/docs/humans.txt b/docs/humans.txt index 489e4a88..3c027a04 100644 --- a/docs/humans.txt +++ b/docs/humans.txt @@ -302,3 +302,6 @@ GitHub: https://github.com/ton11797 Name: Nathan Keynes GitHub: https://github.com/nkeynes + +Name: Marcos Casagrande +GitHub: https://github.com/marcosc90 diff --git a/test/types/sharp.test-d.ts b/test/types/sharp.test-d.ts index e5eea442..3e6902cf 100644 --- a/test/types/sharp.test-d.ts +++ b/test/types/sharp.test-d.ts @@ -59,6 +59,11 @@ sharp('input.jpg') sharp('input.jpg').resize({ width: 300 }).blur(false).blur(true).toFile('output.jpg'); +sharp().blur(); +sharp().blur(1); +sharp().blur({ sigma: 1 }); +sharp().blur({ sigma: 1, precision: 'approximate' }); + sharp({ create: { width: 300,