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",
|
icon: "Scaling",
|
||||||
route: "/content-aware-resize",
|
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
|
// Watermark & Overlay
|
||||||
{
|
{
|
||||||
id: "watermark-text",
|
id: "watermark-text",
|
||||||
@@ -1207,4 +1215,5 @@ export const PYTHON_SIDECAR_TOOLS = [
|
|||||||
"red-eye-removal",
|
"red-eye-removal",
|
||||||
"restore-photo",
|
"restore-photo",
|
||||||
"passport-photo",
|
"passport-photo",
|
||||||
|
"transparency-fixer",
|
||||||
] as const;
|
] as const;
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ export const FEATURE_BUNDLES: Record<string, FeatureBundleInfo> = {
|
|||||||
id: "background-removal",
|
id: "background-removal",
|
||||||
name: "Background Removal",
|
name: "Background Removal",
|
||||||
description: "Remove image backgrounds with AI",
|
description: "Remove image backgrounds with AI",
|
||||||
estimatedSize: "3-4 GB",
|
estimatedSize: "4-5 GB",
|
||||||
enablesTools: ["remove-background", "passport-photo"],
|
enablesTools: ["remove-background", "passport-photo", "transparency-fixer"],
|
||||||
},
|
},
|
||||||
"face-detection": {
|
"face-detection": {
|
||||||
id: "face-detection",
|
id: "face-detection",
|
||||||
|
|||||||
@@ -124,6 +124,10 @@ export const en = {
|
|||||||
description:
|
description:
|
||||||
"Create government-compliant passport, visa, and ID photos with auto face detection",
|
"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-text": { name: "Text Watermark", description: "Add text watermark overlay" },
|
||||||
"watermark-image": { name: "Image Watermark", description: "Overlay a logo as watermark" },
|
"watermark-image": { name: "Image Watermark", description: "Overlay a logo as watermark" },
|
||||||
"text-overlay": { name: "Text Overlay", description: "Add styled text to images" },
|
"text-overlay": { name: "Text Overlay", description: "Add styled text to images" },
|
||||||
|
|||||||
Reference in New Issue
Block a user