mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: register content-aware-crop in shared package
This commit is contained in:
@@ -249,6 +249,14 @@ export const TOOLS: Tool[] = [
|
||||
icon: "Scaling",
|
||||
route: "/content-aware-resize",
|
||||
},
|
||||
{
|
||||
id: "content-aware-crop",
|
||||
name: "Content-Aware Crop",
|
||||
description: "Extend canvas beyond image bounds with AI-powered fill",
|
||||
category: "ai",
|
||||
icon: "Expand",
|
||||
route: "/content-aware-crop",
|
||||
},
|
||||
{
|
||||
id: "transparency-fixer",
|
||||
name: "PNG Transparency Fixer",
|
||||
@@ -1240,4 +1248,5 @@ export const PYTHON_SIDECAR_TOOLS = [
|
||||
"restore-photo",
|
||||
"passport-photo",
|
||||
"transparency-fixer",
|
||||
"content-aware-crop",
|
||||
] as const;
|
||||
|
||||
@@ -40,7 +40,7 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
|
||||
name: "Object Eraser & Colorize",
|
||||
description: "Erase objects from photos and colorize B&W images",
|
||||
estimatedSize: "1-2 GB",
|
||||
enablesTools: ["erase-object", "colorize"],
|
||||
enablesTools: ["erase-object", "colorize", "content-aware-crop"],
|
||||
},
|
||||
"upscale-enhance": {
|
||||
id: "upscale-enhance",
|
||||
|
||||
@@ -119,6 +119,10 @@ export const en = {
|
||||
name: "Content-Aware Resize",
|
||||
description: "Intelligently resize images while preserving important content",
|
||||
},
|
||||
"content-aware-crop": {
|
||||
name: "Content-Aware Crop",
|
||||
description: "Extend canvas with AI-powered fill",
|
||||
},
|
||||
colorize: {
|
||||
name: "AI Colorization",
|
||||
description: "Convert black & white photos to full color using AI deep learning models",
|
||||
|
||||
Reference in New Issue
Block a user