Since there is some many possibilities in Gmic i’m not sure if this exists already or not, after a few search i couldn’t find anything clear so i’d better ask :
In Gimp with Gmic plugin is there a way to get the command line used, quickly and clearly, to then use it in the CLI version of Gm’ic and do batch processing for example or other things with the CLI?
I know you can output in verbose mode into the log file and then check the log and copy paste what you need, or verbose output for the layer and name the layer with the command , ends up in things like this for this last one: [G'MIC] Pencil portrait: fx_pencil_portraitbw 30,120,1,0.5,144,79,21,0
Then you can check layer proprieties, copy name an keep only the last part of this line.
There is an option for the output in console but i could not get this to work, i’m on windows 7 and i’m not even sure this is aimed at windows platform to start with ( maybe possible in win10 since it offers more possibilities than Seven in this domain) or I simply don’t know how to use this…
In the end what i’d like to know is if there is a simple and quick way to get the command line, and only the command line, after modifying a picture with a filter, like a simple “export command line to clipboard” button next to the restore filter parameters one at the top of the screen or something else possible ?
Like i said there is maybe already something and i am too blind to see it.
@Claes: I tried to open gimp from the command prompt in win7 ( as admin) and followed the steps, once closed there is nothing in the console, it doesn’t seems to communicate back to the console
@samj : Thanks a lot, i usually do a small batch file but this is handy too, thanks.
I’m not sure if it’s a general windows problem or a win7 issue only, or maybe a problem only on my end but beside getting the output to the log file and grab the filter command from there or get the new picture/layer with the filter name in it and copy it i can’t get things back to the console.
What i miss is a way to quickly get corresponding the Gmic command line used for the filter i used and if possible get it copied to the clipboard.
For now i will continue with my method of naming the layer with the command and copy past from there i guess.
I am also on win7 and I have been using portable versions of GIMP for a long time. I am currently using SAMJ’s latest version of 2.9.9 and in the screenshot, you can see the utility that I mentioned. It is also in Partha’s version, but his version is very old. The nice thing about portable versions is that you can have multiple versions to use at the same time. Maybe using SAMJ’s version will make your life easier.
Hello @Bilbo ,
Very sorry for the late reply, somehow i did not noticed the notification mail for your reply, was buried in a load of other mails, sorry for that.
And thanks for the tip, having a secondary portable installation can be the solution indeed, i have not much used the 2.9 versions, tested once but there was too much issues for me to keep it so i went back to main 2.8, i’m pretty sure i saw the 2.10 is not far from being released too, so i will probably test with the portable version in the next days and hopefully when 2.10 comes out this will be no more a problems to do what i need.
Thank you very much for the tip and sorry again for the late reply.
@Yalba Try the GIMP 2.9.8/9 64-bit Standard Edition build at partha.com. Personally, I use the portable version. It is very stable on win7/10 and has the G’MIC plugin built in, though it is not the most current now because the pace @David_Tschumperle updates it .
2.9.x (2.10) is a big leap from 2.8.x because you are able to use higher bit depths and have better colour management among other things. I don’t know what issues you have been having but it does spew warnings sometimes due to old scripts. However, these warnings are harmless and there is a way to turn them off.
Thank you, i tested it long time ago, can’t remember exactly what were the problems inside gimp itself ( had issues with one plugin i use a lot but this was expected ) so i just removed it and went back to 2.8. ( and yes color depths is a nice thing for 2.9-2.10 )
I will try the portable version yup, probably a lot of things have evolved or been polished since the last time i tried it,