Skip to content

Commit a7c3e47

Browse files
committed
feat: background removal
1 parent 585cf7f commit a7c3e47

File tree

6 files changed

+325
-27
lines changed

6 files changed

+325
-27
lines changed

.idea/workspace.xml

Lines changed: 17 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 187 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@ffmpeg/core": "^0.12.10",
3131
"@ffmpeg/ffmpeg": "^0.12.15",
3232
"@ffmpeg/util": "^0.12.2",
33+
"@imgly/background-removal": "^1.6.0",
3334
"@jimp/types": "^1.6.0",
3435
"@mui/icons-material": "^5.15.20",
3536
"@mui/material": "^5.15.20",

src/pages/tools/image/png/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ import { tool as convertJgpToPng } from './convert-jgp-to-png/meta';
44
import { tool as pngCreateTransparent } from './create-transparent/meta';
55
import { tool as changeColorsInPng } from './change-colors-in-png/meta';
66
import { tool as changeOpacity } from './change-opacity/meta';
7+
import { tool as removeBackground } from './remove-background/meta';
78

89
export const pngTools = [
910
pngCompressPng,
1011
pngCreateTransparent,
1112
changeColorsInPng,
1213
convertJgpToPng,
1314
changeOpacity,
14-
pngCrop
15+
pngCrop,
16+
removeBackground
1517
];

0 commit comments

Comments
 (0)