mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: register transparency-fixer in shared constants, features, and i18n
This commit is contained in:
@@ -241,6 +241,14 @@ export const TOOLS: Tool[] = [
|
||||
icon: "Scaling",
|
||||
route: "/content-aware-resize",
|
||||
},
|
||||
{
|
||||
id: "transparency-fixer",
|
||||
name: "Transparency Fixer",
|
||||
description: "Fix fake transparent PNGs in one click",
|
||||
category: "ai",
|
||||
icon: "Wand2",
|
||||
route: "/transparency-fixer",
|
||||
},
|
||||
// Watermark & Overlay
|
||||
{
|
||||
id: "watermark-text",
|
||||
@@ -1207,4 +1215,5 @@ export const PYTHON_SIDECAR_TOOLS = [
|
||||
"red-eye-removal",
|
||||
"restore-photo",
|
||||
"passport-photo",
|
||||
"transparency-fixer",
|
||||
] as const;
|
||||
|
||||
@@ -25,8 +25,8 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
|
||||
id: "background-removal",
|
||||
name: "Background Removal",
|
||||
description: "Remove image backgrounds with AI",
|
||||
estimatedSize: "3-4 GB",
|
||||
enablesTools: ["remove-background", "passport-photo"],
|
||||
estimatedSize: "4-5 GB",
|
||||
enablesTools: ["remove-background", "passport-photo", "transparency-fixer"],
|
||||
},
|
||||
"face-detection": {
|
||||
id: "face-detection",
|
||||
|
||||
@@ -124,6 +124,10 @@ export const en = {
|
||||
description:
|
||||
"Create government-compliant passport, visa, and ID photos with auto face detection",
|
||||
},
|
||||
"transparency-fixer": {
|
||||
name: "Transparency Fixer",
|
||||
description: "Fix fake transparent PNGs in one click",
|
||||
},
|
||||
"watermark-text": { name: "Text Watermark", description: "Add text watermark overlay" },
|
||||
"watermark-image": { name: "Image Watermark", description: "Overlay a logo as watermark" },
|
||||
"text-overlay": { name: "Text Overlay", description: "Add styled text to images" },
|
||||
|
||||
Reference in New Issue
Block a user