feat: SOTA sharpening tool with 3 methods and 7 presets (#56)

* feat(sharpening): add SharpenAdvancedOptions type for multi-method sharpening

* feat(sharpening): implement 3-method sharpen engine (adaptive, USM, high-pass)

* feat(sharpening): add dedicated API route with Zod validation

* feat(sharpening): register tool in constants, i18n, and suggested tools

* feat(sharpening): add settings UI with presets, methods, and advanced controls

* feat(sharpening): register tool in frontend registry with before-after display

---------

Co-authored-by: stirling-image <stirling-image@users.noreply.github.com>
This commit is contained in:
stirling-image
2026-04-13 19:12:09 +08:00
committed by GitHub
co-authored by stirling-image
parent a8c7b92ca5
commit 58cdbe50b4
11 changed files with 646 additions and 3 deletions
+8
View File
@@ -104,6 +104,14 @@ export const TOOLS: Tool[] = [
icon: "SlidersHorizontal",
route: "/adjust-colors",
},
{
id: "sharpening",
name: "Sharpening",
description: "Adaptive, unsharp mask, and high-pass sharpening with presets",
category: "adjustments",
icon: "Focus",
route: "/sharpening",
},
{
id: "replace-color",
name: "Replace & Invert Color",
+4
View File
@@ -49,6 +49,10 @@ export const en = {
description:
"Brightness, contrast, exposure, saturation, temperature, sharpness, and effects",
},
sharpening: {
name: "Sharpening",
description: "Adaptive, unsharp mask, and high-pass sharpening with presets",
},
"replace-color": {
name: "Replace & Invert Color",
description: "Replace specific colors or invert",