diff --git a/packages/shared/src/constants.ts b/packages/shared/src/constants.ts index f45deb77..0bea016a 100644 --- a/packages/shared/src/constants.ts +++ b/packages/shared/src/constants.ts @@ -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; diff --git a/packages/shared/src/features.ts b/packages/shared/src/features.ts index dbbe1da4..c6be7c38 100644 --- a/packages/shared/src/features.ts +++ b/packages/shared/src/features.ts @@ -25,8 +25,8 @@ export const FEATURE_BUNDLES: Record = { 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", diff --git a/packages/shared/src/i18n/en.ts b/packages/shared/src/i18n/en.ts index a94b9473..b420c363 100644 --- a/packages/shared/src/i18n/en.ts +++ b/packages/shared/src/i18n/en.ts @@ -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" },