Yes, but what about the same input image?
If I call the two commands mentioned above, for one I have to specify RGB, for the other RGBA:
gmic -input t.jpg -fx_chromatic_aberrations R,G,B,2,2,R,G,B,0,0,0,50,50 -output o.jpg
gmic -input t.jpg -fx_reflect 50,1,R,G,B,A,0,1.5,0,0,7,1.5 -output o.jpg
I need to keep to the exact parameter order/indexing, so I need to know if a color is to be given as RGB or RGBA. The only way I found to determine this is to look at the default value of the color parameter in that command, if it has 3 channels, I also need to give 3 channels on the commands line, if it has 4, then I need to put in 4.
#@gui Reflection : fx_reflect, fx_reflect(1)
#@gui : Height = float(50,0,100)
#@gui : Attenuation = float(1,0.1,4)
#@gui : Color = color(110,160,190,64)
#@gui : Waves Amplitude = float(0,0,100)
#@gui : Waves Smoothness = float(1.5,0,4)
#@gui : X-Angle = float(0,-10,10)
#@gui : Y-Angle = float(-3.30,-10,10)
#@gui : Focale = float(7,0,10)
#@gui : Zoom = float(1.5,1,5)
#@gui Chromatic Aberrations : fx_chromatic_aberrations, fx_chromatic_aberrations_preview(0)
#@gui : Primary Color = color(255,0,0)
#@gui : X-Shift = float(2,-16,16)
#@gui : Y-Shift = float(2,-16,16)
#@gui : sep = separator()
#@gui : Secondary Color = color(0,255,0)
#@gui : X-Shift (px) = float(0,-16,16)
#@gui : Y-Shift (px) = float(0,-16,16)