Revert "feat: replace AI matting with chroma-based checkerboard detection"

This reverts commit f1a4c94375.
This commit is contained in:
SnapOtter
2026-05-13 17:20:33 +08:00
parent a03d4f34ff
commit 05720f350a
3 changed files with 77 additions and 71 deletions
+7 -6
View File
@@ -250,18 +250,18 @@ export const TOOLS: Tool[] = [
route: "/content-aware-resize",
},
{
id: "ai-canvas-expand",
name: "AI Canvas Expand",
description: "Expand canvas beyond image bounds with AI-powered fill",
id: "content-aware-crop",
name: "Content-Aware Crop",
description: "Extend canvas beyond image bounds with AI-powered fill",
category: "ai",
icon: "Expand",
route: "/ai-canvas-expand",
route: "/content-aware-crop",
},
{
id: "transparency-fixer",
name: "PNG Transparency Fixer",
description: "Fix fake transparent PNGs in one click",
category: "utilities",
category: "ai",
icon: "ShieldCheck",
route: "/transparency-fixer",
},
@@ -1247,5 +1247,6 @@ export const PYTHON_SIDECAR_TOOLS = [
"red-eye-removal",
"restore-photo",
"passport-photo",
"ai-canvas-expand",
"transparency-fixer",
"content-aware-crop",
] as const;