Expose erode and dilate operations #4243

This commit is contained in:
Quentin Pinçon
2025-03-27 12:59:02 +00:00
committed by Lovell Fuller
parent 03e1b19764
commit 031c808aa5
17 changed files with 249 additions and 0 deletions

View File

@@ -740,3 +740,8 @@ sharp([input, input], {
valign: 'bottom'
}
});
sharp().erode();
sharp().erode(1);
sharp().dilate();
sharp().dilate(1);