Release of G'MIC 2.8

I’m planning to release stable version 2.8.0 in the next days.

Do you have any suggestions for improvements that can be done in a reasonable amount of time ?

Maybe some more explanation of the new verbosity? I like it, still for
gmic osteo +pink asf,5
level 9 (v 9) was necessary to get the most of it, to see what happens, including the external commands in this example.
Is it possible that program control commands like repeat change the verbosity level too?

The post I’ve made explain it all. There is not much more to say about this.
The big difference compared to the previous behavior, is that each time you enter a new command, the verbosity is decreased, so if you plan to display some messages on the console in a command that is called in a ‘deep’ scope, then you can force it to be verbose by starting it with v 0.

  • 2019/12/04 : Release for version 2.8.0 !

Win10 with 4GB RAM.

I’ve tested yesterday on my virtualized Win7, with 3Gb RAM, and it worked…
4Gb seems more than enough for doing this operation BTW.

I just tried to compile from git using:

git clone https://github.com/dtschump/gmic.git && git clone https://github.com/c-koi/gmic-qt.git && make -C gmic/src CImg.h gmic_stdlib.h && cd gmic-qt && qmake HOST=gimp && make

Compilation failed soon after download:

Project MESSAGE: GMIC_PATH was not set: Found gmic sources in ../gmic/src
Project MESSAGE: G'MIC repository was found (../gmic/src)
Project MESSAGE: G'MIC version is 281
Project MESSAGE: CImg version is 280
Project ERROR: Version numbers of files 'gmic.h' ( 281 ) and 'CImg.h' ( 280 ) mismatch

Do I need to update the command line instructions or is it something else?

It should be fixed now in the repository.
Try $ make clean in src/ and try again :slight_smile:

Compiled & working thanks! :grinning:

1 Like

Minor flaw with the command
gmic v 0 sp ?
It terminates immediately on my Mac. Is that by purpose?

gmic version
[gmic]-0./ Start G’MIC interpreter.

gmic: GREYC’s Magic for Image Computing: command-line interface
(https://gmic.eu)
Version 2.8.1 (pre-release #191205)

    Copyright (c) 2008-2020, David Tschumperle / GREYC / CNRS. 
    (https://www.greyc.fr)

[gmic]-0./ End G’MIC interpreter.

Looks like a bug in 2.8.1. i’ve made some modifs this morning, and this is a regression.
I’ll fix this ASAP.

Ha sorry, not a bug, it is by purpose indeed :slight_smile:

Now, when a pipeline ends its execution, images are not displayed automatically if the verbosity level is <=0. So, gmic v 0 sp d basically solves this “issue”.

Ok, acceptable. Still it could be mentioned in the verbose command description. Image and text is slightly different for me.
Autom. display of remaining images is suppressed for verbosity<=0

a0.gmz stores a 32-bit linear float image of One of if not my best Photograph. exported by PhotoFlow. Although slow, I normally don’t have any issues processing it. The error happened when I did colormap 0, which I rarely use on large images. Not easy for me to test. It takes an inordinate amount of time to run this command. I tried it on another similar file just now. It hasn’t stopped running and I can’t keep it running, so I aborted it. Hope you find a solution. bad_alloc doesn’t sound good.

It simply means, the program tried to allocate a certain amount of memory and didn’t get it.

I know and don’t like it. I want it to work. :pleading_face:


Typos

retinex: Is offset 1 or 5?

image

Again, which is it? Is scheme 0 or 3? Verified that it is 0. Should it be? What do the others mean?


Feature request?
Thought of what may be a useful command at least for myself. Even though I am familiar with my own commands, sometimes I want to check the text files containing them. Wouldn’t it be neat if I could somehow see the code printed out in command line? Or even better, view code written by others without going into my browser, etc.? That would save a lot of time. So, something like help but for displaying or browsing code.

I guess the trend of my recent questions is about displaying useful and easy to read info in the command line space. :slight_smile:

I use Kate to look at updatexxxx.gmic file to see others code. The only issue is that I have to press tabs sometimes to make code clearer.

Maybe $$command might help you?

e.g.
gmic e $$gradient_norm
[gmic]-0./ Start G’MIC interpreter.
[gmic]-0./ e[^-1] “Compute gradient norm of image$?.” repeat ! l[>] g sqr s c + sqrt endl done
[gmic]-0./ End G’MIC interpreter.

Still it is only helpful for custom commands, internal commands show no output (like gradient), there is no script!

1 Like

Website issue. When I key in gmic.eu, I sometimes go to http://gmic.eu/ and then Firefox warns me about an insecure connection. Looks like the website sometimes resolves to http instead of https.