feat: register transparency-fixer in shared constants, features, and i18n

This commit is contained in:
SnapOtter
2026-05-05 22:58:30 +08:00
parent 9db19a01a2
commit d5a808dbc7
3 changed files with 15 additions and 2 deletions
+9
View File
@@ -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;
+2 -2
View File
@@ -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",
+4
View File
@@ -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" },