Rembg is a tool to remove images background
added CLI Support
Flippchenab425e8f133c
diff --git a/rembg/cli.py b/rembg/cli.pyindex 983f7dd..96608f8 100644--- a/rembg/cli.py+++ b/rembg/cli.py@@ -92,6 +92,13 @@ def main() -> None:show_default=True,help="post process the mask",)+ "-c", "--color",+ default=None,+ nargs=3,+ type=int,+ help="Background color (R G B) to replace the removed background with"+)@click.argument("input", default=(None if sys.stdin.isatty() else "-"), type=click.File("rb"))@@ -176,6 +183,15 @@ def i(model: str, input: IO, output: IO, **kwargs) -> None:show_default=True,help="watches a folder for changes",)+ "-c",+ "--color",+ default=None,+ type=(int, int, int),+ nargs=3,+ metavar="R G B",+ help="background color (RGB) to replace removed areas",+)@click.argument("input",type=click.Path(