[Paid] BGCutOut An Offline advanced Image CutOut background remover, Drawing, and Cropping. BGCutOut provides two distinct ways to erase backgrounds from images

🧩 BGCutOut

An extension for MIT App Inventor 2.
An Offline advanced Image CutOut, Drawing, and Cropping. BGCutOut provides two distinct ways to erase backgrounds from images, alongside a new powerful inline Cropping component! for MIT App Inventor 2, Kodular, and Niotron. Developed by TechHamara using Fast.
Find More Extension
Terms & Conditions
Find More On BuyMeCoffee Page

:memo: Specifications


:package: Package: io.th.bgcutout
:floppy_disk: Size: 249.07 KB
:gear: Version: 1.0
:mobile_phone: Minimum API Level: 14
:date: Updated On: 2026-05-09T00:00:00Z
:laptop: Built & documented using: FAST
:placard: Library Used: thanks you GabrielBB for your library Android-CutOut
:puzzle_piece: Paid aix: 5USD. get here BuyMeacoffee page.

Demo

Output

blocks (61)

scr1.jpg

scr2.jpg

bg3.gif

bg2.gif

bg1.gif

bg4.gif

bg5.gif

bg6.gif

Blocks

here

CutOutSuccess_Event
CutOutError_Event
CropperImageSaved_Event
ImageSaved_Event


MaxCropResultSize_Method
InitializeCropper_Method
Initialize_Method
FlipVertically_Method
FlipHorizontally_Method
CustomCheckerboard_Method
AspectRatio_Method
Undo_Method
RotateImage_Method
Redo_Method
MinCropResultSize_Method


SaveCroppedImage_Set_Property
MultiTouchEnabled_Set_Property
MaxZoom_Set_Property
ImageScaleType_Set_Property
Image_Set_Property
Guidelines_Set_Property
GetImageBase64_Set_Property
FixAspectRatio_Set_Property
CropShape_Set_Property
CropperImage_Set_Property
AutoZoomEnabled_Set_Property
Action_Set_Property
StrokeWidth_Set_Property
StrokeColor_Set_Property
SnapRadius_Set_Property
ShowProgressBar_Set_Property
ShowCropOverlay_Set_Property
ShowCheckerboardBackground_Set_Property
SaveImage_Set_Property


Documentation

Events:

BGCutOut has total 4 events.

1. CutOutSuccess

Triggered when CutOut Activity finishes successfully.

Parameter Type
imageUri text

2. CutOutError

Triggered when CutOut Activity fails or is canceled.

Parameter Type
errorMessage text

3. ImageSaved

Event triggered when SaveImage completes.

Parameter Type
path text
success boolean
errorMessage text

4. CropperImageSaved

Triggered when Cropper finishes saving the image.

Parameter Type
path text
success boolean
errorMessage text

Methods:

BGCutOut has total 11 methods.

1. Initialize

Initialize inside an arrangement.

Parameter Type
arrangement component

2. Undo

Undo last edit

3. Redo

Redo last edit

4. CustomCheckerboard

Set a custom checkerboard background.

Parameter Type
colorOdd number
colorEven number
size number

5. InitializeCropper

Initialize Cropper inside an arrangement.

Parameter Type
arrangement component

6. AspectRatio

Set Aspect Ratio values

Parameter Type
x number
y number

7. MinCropResultSize

Set the minimum size of the resulting cropping image.

Parameter Type
width number
height number

8. MaxCropResultSize

Set the maximum size of the resulting cropping image.

Parameter Type
width number
height number

9. RotateImage

Rotate cropped image

Parameter Type
degrees DirectionType (helper blocks)
  • Enums for DirectionType: Type0, Type90, Type180, Type270

10. FlipHorizontally

Flip Cropper Image Horizontally

11. FlipVertically

Flip Cropper Image Vertically

Setters:

BGCutOut has total 19 setter properties.

1. StrokeWidth

Set Stroke Width

  • Input type: number

2. StrokeColor

Set Stroke Color. Supports transparent color for eraser capability.

  • Input type: number

3. Action

Set Action. Use 'AUTO_CLEAR', 'MANUAL_CLEAR', or 'ZOOM'

  • Input type: text
  • Helper type: ActionType
  • Helper enums: AutoClear, ManualClear, Zoom

4. Image

Set Image from File Path

  • Input type: text

5. SaveImage

Saves the current edited image to the BgCutOut directory. Specify 'png' or 'jpg' as the format.

  • Input type: text
  • Helper type: FormatType
  • Helper enums: Png, Jpg

6. GetImageBase64

Returns the current edited image as a Base64 string.

  • Input type: number

7. ShowCheckerboardBackground

Enable or disable Checkerboard background for transparent areas.

  • Input type: boolean

8. CropperImage

Set Image for Cropper from File Path or Asset

  • Input type: text

9. CropShape

Set crop shape to Rectangle, Oval, Heart, Star, or Polygon

  • Input type: text
  • Helper type: ShapeType
  • Helper enums: Rectangle, Oval, Heart, Star, Polygon

10. FixAspectRatio

Fix Aspect Ratio

  • Input type: boolean

11. Guidelines

Show or Hide Guidelines (ON, OFF, ON_TOUCH)

  • Input type: text

12. AutoZoomEnabled

Enable or disable auto-zoom for the cropper.

  • Input type: boolean

13. MultiTouchEnabled

Enable or disable multi-touch functionality for the cropper.

  • Input type: boolean

14. MaxZoom

Set the maximum zoom allowed during cropping.

  • Input type: number

15. ShowCropOverlay

Set whether to show the crop overlay UI.

  • Input type: boolean

16. ShowProgressBar

Set whether to show the progress bar during async operations.

  • Input type: boolean

17. SnapRadius

Set the snap radius for the crop window.

  • Input type: number

18. ImageScaleType

Set the scale type for the cropping image (e.g., FitCenter, Center, CenterCrop, CenterInside).

  • Input type: text
  • Helper type: Type
  • Helper enums: FitCenter, Center, CenterCrop, CenterInside

19. SaveCroppedImage

Crops the image and saves it to the BgCutOut directory. Specify format 'png' or 'jpg'.

  • Input type: text
  • Helper type: FormatType
2 Likes