Problems using G’MIC-Qt to extract foreground

Hi. I’ve used G’MIC-Qt for several years to extract parts of photos, but it’s not working for me any more. Can anyone advise please? Thank you :blush:

It seems to be working as normal at this stage. I can use left and right clicks to show which parts of the photo I want to keep, and which to remove.

The space bar lets me fine tune what will be kept, as normal.

But when I press enter, this screen appears and never leaves! The extraction % stays at 0, and Apply and OK options aren’t live. Only Cancel is live.

I’ve clicked the Update Filters green arrows, but the problem remains.

Thanks in advance :blush:

You can try using a previous version of Krita where you don’t update G’MIC.
Unfortunately, you did not name your OS, although the window decoration hints it being Windows, nor did you name the version number of your current Krita.
You will find previous versions of Krita in the attic at:

In the case that you are really using Windows and the look and feel of your interface isn’t because of skinning your OS, you should go for a portable version of Krita, that would be the ZIP archives without -dbg as the last letters before the file name extension .zip. This allows you holding the current installed version and use the previous version when needed.

To run one Krita, the other Krita must first be closed. In a standard environment, only one Krita can be run at a time.

You have to unzip these archives to a folder where you have full read and write access/rights to, then you will find three link-files from which you usually want to use the link named krita, this will start the portable version, and it will use the same settings that you use for your current version of Krita. The only thing that can happen is that Krita will create a new resource database resourcecache.sqlite, if that should happen, you can suppress this happening each time you start the other Krita through renaming the current active version to, for instance resourcecache.sqlite.portable if that is the version you have run at last, and alternatively resourcecache.sqlite.regular for your installed version of Krita. You can also already make such a back-up from your current existing resource database before you run the portable version for the first time, so you already have the resourcecache.sqlite.regular.
If you find that too much hassle, you can also let Krita always create a new database and delete the older ones that Krita will name after the scheme resourcecache.sqlite.1~, resourcecache.sqlite.2~, resourcecache.sqlite.3~, resourcecache.sqlite.4~, …

If you have further questions, feel free to ask, but please provide the requested data about your Krita and your OS.

Michelist

Thank you Michelist! Yes, I’m using Windows and my version of Krita is 5.2.9. Is there a better way to extract foreground that’s now incorporated into 5.2.9? Thanks again.

I can’t tell if you would find the Object Selection Tools by our forum member @Acly as a better way to extract things in pictures, but it is a kind of plugin that helps to select things and is very good at it, but it is not trivial. I find, and others said it too, it is a great addition and very precise, but if you want to use it, you have to be able to set it up yourself.

Michelist

Coincidentally, I just made a new version (3 days ago!) which is easier to install. It includes a dedicated “Background Removal” filter for this sort of thing.

It’s admittedly still a bit experimental, but seems to be working for people so far. Let me know how it goes if you decide to give it a try.

2 Likes

@Acly: Would it be okay with you if we moved your topic to the plugins section so that it can be found more easily? Or would you prefer to continue your plugin as an undercover add-on?

Michelist

1 Like

It’s a good point, but maybe it’s better if I create a new topic. Most of what’s in the old one is hopelessly outdated. I’ll do it after I incorporated some feedback/fixes.

1 Like

I like this idea even better!

Michelist

Thanks @Michelist and @Acly . Your new tool worked a treat, Acly. Thank you very much :smiley:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.