0

What I want to do as following:

  1. use remove.bg tool to remove image (bg.jpg) background, I got a png file (bg_remove.png) with background removed (not perfect).

  2. use gimp to scale bg_remove.png to the same size as bg.jpg.

  3. load bg.jpg to gimp and apply mask from bg_remove.png.

  4. try to edit the mask layer to ajust the not perfect region.

The first 3 steps is good but when I do it in step 4, I can select a region, then file black color to make the region visible, but for some other part i want to hide, when I try to select the region then fill the white color, it does't take effect.

Is it correct to fill white color to erase something? enter image description here

2
  • I don't recommend that online tool. GIMP 2.10 has its own Foreground Select functionality which can make better masks. There's a good tutorial here: youtube.com/watch?v=uhRGix-x5Mg
    – Billy Kerr
    Jun 2, 2019 at 11:53
  • @BillyKerr Thanks, since that tool say it use AI, then I guess it's more better!
    – beetlej
    Jun 2, 2019 at 21:35

1 Answer 1

2

No, the layer mask is really an opacity, higher values are more opaque, so you fill with black what should be transparent and with white what should be opaque.

Given the output of your external tool, using Gimp built-in Foreground selector or the "Extract foreground" function in the GMIC filter suite would have been faster.

7
  • Have to agree, GIMP's built-in Foreground Select function (with the "Matting Levin" engine selected) is not only quicker, but also more refinable, and also makes a far better job of masking.
    – Billy Kerr
    Jun 2, 2019 at 11:47
  • @BillyKerr I am using 2.10.10 on macosx, but sounds like no option to select "Matting Levin".
    – beetlej
    Jun 2, 2019 at 21:32
  • 1
    @beetlej Your Tool option dialog should look like this
    – xenoid
    Jun 2, 2019 at 21:56
  • @BillyKerr Hmmm, my gimp only should "Matting Global" and not selectable (gray out). Is it a external need to be install?
    – beetlej
    Jun 2, 2019 at 23:49
  • @beetlej Absent from some builds. Where did you get your version? See reddit.com/r/GIMP/comments/8vtpmz/… but the other one could already be better than what you showed us.
    – xenoid
    Jun 3, 2019 at 7:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.