Introducing BgRemover Extension by MrKoder
Are you tired of dealing with image backgrounds that just won't cooperate? Say goodbye to unwanted backgrounds with ease using the BgRemover Extension, brought to you by MrKoder!
What is BgRemover?
BgRemover is a powerful MIT App Inventor extension designed to simplify background removal from images. This extension leverages the Remove.bg API to effortlessly remove backgrounds, giving your images a professional and polished look.
Key Features:
-
Seamless Background Removal: Remove.bg's cutting-edge technology integrated into BgRemover ensures a seamless removal of backgrounds from images.
-
Easy Integration: With simple and intuitive blocks, BgRemover is easy to integrate into your MIT App Inventor projects.
-
Dynamic URL and File Support: Whether you have an image URL or a local file, BgRemover handles both scenarios effortlessly.
Blocks
ApiKey(String key)
This function serves as a simple property setter within the BgRemover Extension.
RemoveBackgroundFromFile(String imagePath, String savePath)
This function is a core feature of the BgRemover Extension, allowing users to remove the background from an image file using the Remove.bg API.
Parameters
imagePath
: A string parameter representing the file path of the source image file. Users should provide the full path to the image file on their device.
savePath
: A string parameter indicating the file path where the background-removed image will be saved. Users should specify the desired location for the output file.
RemoveBackgroundFromURL(String imageUrl, String savePath)
This function is a key component of the BgRemover Extension, allowing users to remove the background from an image specified by a URL using the Remove.bg API.
Parameters
imageUrl
: A string parameter representing the URL of the source image. Users should provide a valid and accessible image URL.
savePath
: A string parameter indicating the file path where the background-removed image will be saved. Users should specify the desired location for the output file.
OnBackgroundRemoved(String imagePath)
This event is a crucial aspect of the BgRemover Extension, triggered after the successful removal of the background from an image. It allows users to respond to background removal completion by providing the file path to the image with the background removed.
OnError(String errorMessage)
This event is a crucial component of error handling within the BgRemover Extension, triggered in case of an API error during the background removal process.
Blocks Examble:
video preview
Aix and Aia
you can download the aix and aia file as a zip file from here
Note: the extension is free, however the API is not free... only 50 credits /month
support
if you liked mi extension you can support me here :