This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Interactions between Krita and G'MIC (filter collection) ?

Tags: None
(comma "," separated)
Silvio Grosso
Registered Member
Posts
105
Karma
1
OS
Hello everyone,

I have just tested right now G'MIC on Windows 7 (64 bit) with the latest version of Krita 2.9.4 (from the last Kickstarter update).

On my Windows 7 - setup (Intel Cpu I7; 8 giga RAM), G'MIC 1.6.1.0 is incredibly stable right now (at least compared to the past...).

I have just tested all the problematic filters (the ones that always crashed Krita 2.9 on Windows 7 and Windows 8.1 in the past):
- curve interactive;
- colorize interactive;
- Smooth (patch-based );
- Extract foreground (interactive);
- Black and White
- etc etc
They all work fine (no crash whatsoever so far...).

BTW, as with the version shippped with Gimp 2.8.15 (that is, G'MIC 1.6.2.0), with Krita is extremely useful to work with images not too big (the smaller the size, the better the outcome) because some G'MIC filters are extremely slow to work with...
nharmony
Registered Member
Posts
192
Karma
1
OS
Great news!

great job! i'm excited to use it on an official project.
nharmony
Registered Member
Posts
192
Karma
1
OS
Unfortunately you can not seem to load a palette file, it doesn't even recognize .gpl file in the browser.
I get this message, when I try to type it in manually.

"Sorry! G'Mic failed, reason:*** Error in ./ *** Command '-gimp_colorize_interactive_preview': Undefined argument '$4', in expression '$4' (for 9 arguments specified)."

on windows 7 here, I browsed C:\Users\yourname\AppData\Roaming\krita\share\apps\krita\palettes to get pallete that I made in krita, but it just says "no items match your search"

can someone on windows confirm this?
Silvio Grosso
Registered Member
Posts
105
Karma
1
OS
Hello nharmony,

I am not an artist and I have done some test with the Colorize interactive filter only for bug-testing... :-\
In the past this filter always crashed on my 2 computers with Windows 7 and 8.1 (both 64 bit).

This being clarified, on Windows 7 (64 bit), currently I can not force G'MIC to work with any gpl palette.
I don't get any error though. Quite simply, G'MIC 1.6.1.0 always loads its standard palette (afterwards everything works as expected).

More precisely:
1. I have tried to modify the path on the filter (1st additional palette .gpl file).
2. I have also tried to paste my .gpl palette on C:\Users\yourname\AppData\Roaming\krita\share\apps\krita\palettes (as you suggested)
With both trials, I don't get any error and G'MIC always loads the standard palette in the end.

In essence, G'MIC - Krita always deploys its standard palette which, BTW, David Revoy showed on his YouTube video (1:45 minute):
https://www.youtube.com/watch?v=YigbVY9s6gU
nharmony
Registered Member
Posts
192
Karma
1
OS
ok, :) in David's older tutorial with gimp, he loaded his own palette. So I thought it would work that way in Krita.

Are you saying this is a limitation of krita? It is no big deal, I just wanted to make sure if it was a bug or a limitation. Its still really great.

thanks!
Silvio Grosso
Registered Member
Posts
105
Karma
1
OS
Hello nharmony,

> Are you saying this is a limitation of krita?

I suppose so (but, as explained, I am not a painter and I did not test this filter extensively...) :-\
It might be useful to test this option (.gpl palette) for the Colorize filter on Linux as well.

Actually, G'MIC 1.6.2.0, with GIMP 2.8.15, is more powerful (and stable) compared to Krita right now.
Quite simply because David Tschumperle', the creator of G'MIC, works himself on the coding (consequently it is easier for Gimp to excel) ;D

With Krita (G'MIC 1.6.1.0), however, you can work with:
- 16 bit images etc (not only 8 bit images as with the stable version of Gimp 2.8.15);
- you can preview the filter effect on the canvas as well (with Gimp you are forced to click on Apply to get the canvas preview);
- you can search your filters by typing its initials etc.

There are many G'MIC features missing right now on Krita but, hopefully, they will be added in some future versions ;)
nharmony
Registered Member
Posts
192
Karma
1
OS
Having g'mic completely stable in krita would be great, but longterm, Krita would be better off with more of its own built in filters that don't rely on g'mic.

Colorize interactive is a special case, and I think the developer should be contacted to do something similar for Krita Animation (in the future)
Silvio Grosso
Registered Member
Posts
105
Karma
1
OS
Hello nharmony,

> Having g'mic completely stable in krita would be great, but longterm, Krita would be better off with more of its own built in filters that don't rely on g'mic.

Yep. I *totally* agree with you... ;)
Yet, I fear it won't be so straightforward to say the least....
Quite simply because all G'MIC filters have required more than 10 years for being coded by David Tschumperle' (an extremely very *high* skilled matematician [1] ).
For instance, here [2] you can download a ZIP folder (named Supplementary material) where David compares (Folder > benchmark results) the result of its filter (inpaint - patch based) with Photoshop similar filter (Content aware fill) and, surprise, Photoshop is not always the winner in this contest against the "similar" G'MIC filter :)
But again, I do agree with you in that it would be super cool to have a "colorize interactive filter" based entirely on Krita (instead of G'MIC).

BTW, I have made further testing and the G'MIC "palette - gpl" problem looks like a Windows only bug.
In short, with Krita 2.9.4 on Linux it is indeed possible to select any gpl palette with the G'MIC Colorize Interactive filter.
Tonight, I have added myself a bug report for this Windows glitch:
https://bugs.kde.org/show_bug.cgi?id=347851

[1] http://gmic.eu/
[2] https://daisy.users.greyc.fr/daisy-etal ... -asia-2013
User avatar
LukasT.dev
KDE Developer
Posts
209
Karma
1
OS
I will look at the problem with the pallets on Windows! Thanks for reporting.

Don't hesitate to use bugzilla to report bugs for G'Mic in Krita:
https://bugs.kde.org/buglist.cgi?bug_st ... duct=krita


Daylight is coming...
Krita developer | http://lukast.mediablog.sk/log
nharmony
Registered Member
Posts
192
Karma
1
OS
looks like the latest kickstarter build killed g'mic again :D guess it was fun while it lasted.

I can still have the old build when I need it though.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
I forgot to set the stack to 999999999 bytes with editbin. I'll update that this morning.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Should be fixed now.
nharmony
Registered Member
Posts
192
Karma
1
OS
Still crashes unfortunately.

Last working build was (git 14afff) if that helps.
Silvio Grosso
Registered Member
Posts
105
Karma
1
OS
Hello nharmony,

Just downloaded the latest 2.4.9.7 ZIP (git 5485cd7) version from Kickstarter (64 bit installed on Windows 7).

G'MIC works extremely fine: no crash whatsoever so far... :-\
I have tested several G'MIC filters (Colorize, Inpaint - patch based, etc) with jpeg images, Tif 18 bits images and so on.
nharmony
Registered Member
Posts
192
Karma
1
OS
HI, I just downloaded the .zip, that works fine,

it is the .msi that crashes here.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]