It is currently Sat Jun 20, 2026 3:06 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Tue Jan 21, 2025 3:44 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2090
I don't think I have Python loaded onto my current PC. Is that a problem? Sorry, I'm clueless when it comes to this stuff.

_________________
Image


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Tue Jan 21, 2025 8:44 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Apr 25, 2011
Posts: 121
Location: Taiwan
The Warrior wrote:
I don't think I have Python loaded onto my current PC. Is that a problem? Sorry, I'm clueless when it comes to this stuff.


Not only Python, after you installed python(version> 3.7, <3.13)
Then you need to successful install rembg
When all done, Open RemoveBG.py with text editor, find
aiExe = "C:\\Users\\xxxx\\AppData\\Local\\Programs\\Python\\Pythonxx\\Scripts\\rembg.exe"
Replace with your own rembg path

Check this out, Maybe you will also encounter these problems
http://gimpchat.com/viewtopic.php?f=9&t=20041#p275246

_________________
Sorry for my poor English, I use Google Translate.
There may be something wrong, Please understand.

GIMP 2.10.38 rev1 portable+GAP+G'MIC+nufraw+Beautify+MathMap+...


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Wed Jan 22, 2025 4:32 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2090
Thanks for the help, appreciate it. I'm too dumb to do this though. I don't GIMP much anymore anyways, but with arthritis and tendinosis, it would be so much easier than cutting out manually when needed.

_________________
Image


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Tue Mar 18, 2025 4:48 am  (#24) 
Offline
GimpChat Member

Joined: Apr 30, 2018
Posts: 10
I've installed GIMP 3.0, pip installed rembg and rembg[cli] (it's working in console) and put the plugin in C:\Users\myusername\AppData\Roaming\GIMP\3.0\plug-ins\RemoveBG\RemoveBG.py but the plugin doesn't show up in GIMP?

I started gimp with -c --verbose but I can't see any error regarding the plugin?
log: https://pastecode.io/s/39bfn82q

Update: I've installed GIMP 3.0 **RC3** (gimp-3.0.0-RC3-setup.exe) and **voila, everything is working**!

So something definitly must be corrupt in the final GIMP 3.0 windows setup file (https://download.gimp.org/gimp/v3.0/win ... -setup.exe) - I've opened a bug in GIMPs gitlab repo.


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Tue Mar 18, 2025 2:22 pm  (#25) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 298
Yes, they messed something up with the python package.
See also MareroQ's post:
viewtopic.php?f=7&t=21587&p=295461#p295461


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Fri Apr 04, 2025 4:27 pm  (#26) 
Offline
New Member

Joined: Mar 25, 2025
Posts: 2
there wasn't an .exe file in the zip. just the .py file.... how to get that to work gimp 3.0


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Sun Jul 27, 2025 7:13 pm  (#27) 
Offline
New Member

Joined: Jul 27, 2025
Posts: 1
Hi All,
I ported a RemBG background removal for GIMP 2 plugin to work with GIMP 3. If anyone interested, you can get it at github under /gvardi/gimp-rembg-plugin

G.


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Sat Feb 07, 2026 7:31 pm  (#28) 
Offline
New Member

Joined: Feb 07, 2026
Posts: 1
Hey guys.
I made an English edit/fork of this with plain instructions in English on my github.

All credit to JamesH and a link back to the forum.

Hope that's alright,

github / holicc2 / RemoveBG-ENG


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Sun Feb 08, 2026 3:04 am  (#29) 
Offline
GimpChat Member

Joined: Apr 11, 2024
Posts: 298
As you can probably not yet post links, this should be it:
https://github.com/holicc2/RemoveBG-ENG


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Thu Apr 09, 2026 7:46 am  (#30) 
Offline
New Member

Joined: Apr 09, 2026
Posts: 1
Thank you JamesH for this. It works on Gimp 3.2.2 on Windows 11. However, is there an English version? The one here is not for Windows 11. Thanks anyway.


Top
 Post subject: Re: AI Remove image background(use rembg) for Gimp 3.0 RC1
PostPosted: Thu Apr 09, 2026 9:31 am  (#31) 
Offline
GimpChat Member
User avatar

Joined: Feb 06, 2026
Posts: 40
Thank you for this wonderful plugin!
It worked perfectly on my Windows 11 PC. (I haven’t tried it on Linux yet.)
I’ve summarised the part that caused me some confusion: the installation of rembg.

# rembg Installation and Usage Notes (Windows)

1. Prerequisites
- Python: Python 3.11 series must be installed.

2. Installation Procedure
Launch PowerShell, navigate to the Python `Scripts` folder, and execute the following commands in order.

powershell
1. Install the AI engine (CPU or GPU version) and the command-line interface (CLI) together
.\pip install ‘rembg[cpu,cli]’
.\pip install ‘rembg[gpu,cli]’

2. Check that it has been installed correctly (if the version is displayed, it is OK)
.\rembg --version

3. Test the functionality:
Command to verify standalone operation using an image from the desktop.
powershell
& ‘rembg.exe PATH’ i ‘C:\Users\Usename\Desktop\input.jpg’ ‘C:\Users\Usename\Desktop\output.png’
NOTE: The first time you run this, the model data (approx. 170MB or more) will be downloaded automatically, so you must wait until this is complete.

4. Configuring the GIMP plugin
Ensure that the `aiExe` path within the plugin specifies the following standard path:
- Path: r"rembg.exe PATH"
NOTE: Adding an “r” makes things easier, as it saves you the trouble of having to rewrite the backslash as two backslashes when specifying the path


Top
Post new topic Reply to topic  [ 31 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


cron

* Login  



Powered by phpBB3 © phpBB Group