Hello Gian,
Yes, that’s exactly how it should work.
I’ve done the test, and it works for me: http://imgur.com/a/dLnvg
(first image : bread_cli.png, second : bread_gimp.png, third : bread.png (original) ).
The two first images are the same (sames values, as checked with G’MIC).
$ gmic bread*
[gmic]-0./ Start G'MIC interpreter.
[gmic]-0./ Input file 'bread_cli.png' at position 0 (1 image 1920x1280x1x3).
[gmic]-1./ Input file 'bread_gimp.png' at position 1 (1 image 1920x1280x1x3).
[gmic]-2./ Input file 'bread.png' at position 2 (1 image 1920x1280x1x3).
[gmic]-3./ Display images [0,1,2] = 'bread_cli.png, bread_gimp.png, bread.png'.
[0] = 'bread_cli.png':
size = (1920,1280,1,3) [28 Mio of floats].
data = (208,211,205,207,207,207,210,203,206,206,201,209,(...),116,113,119,117,118,111,119,123,119,123,125,123).
min = 0, max = 255, mean = 115.673, std = 63.4188, coords_min = (783,15,0,0), coords_max = (873,336,0,0).
[1] = 'bread_gimp.png':
size = (1920,1280,1,3) [28 Mio of floats].
data = (208,211,205,207,207,207,210,203,206,206,201,209,(...),116,113,119,117,118,111,119,123,119,123,125,123).
min = 0, max = 255, mean = 115.673, std = 63.4188, coords_min = (783,15,0,0), coords_max = (873,336,0,0).
[2] = 'bread.png':
size = (1920,1280,1,3) [28 Mio of floats].
data = (186,188,184,185,185,185,187,182,184,184,181,186,(...),116,113,119,117,118,111,119,123,119,123,125,123).
min = 0, max = 255, mean = 115.72, std = 60.2178, coords_min = (793,103,0,1), coords_max = (1605,524,0,0).
What version of the cli version do you use ? Have you tried to update your filters from the cli interface ? (it is done automatically by the plug-in, but the cli interface requires an explicit update) :
$ gmic -update