Hmm.. sounds like you've got several problems here.
First of all, the reason you can't invoke FU-cutout from BIMP is that it won't allow you to choose any Gimp procedure containing the string "-cut" in the name. In fact, there are a lot of names BIMP won't allow, as defined by this filter list:
"^(?!.*(?:"
"plug-in-bimp|"
"extension-|"
"-get-|"
"-set-|"
"-is-|"
"-has-|"
"-get-|"
"-print-|"
"file-glob|"
"twain-acquire|"
"-load|"
"-save|" // TODO: remove it for next feature "enable saving plugins"
"-select|"
"-free|"
"-help|"
"-temp|"
"-undo|"
"-copy|"
"-paste|"
"-cut|"
"-channel|"
"-buffer|"
"-register|"
"-metadata|"
"-layer|"
"-selection|"
"-brush|"
"-gradient|"
"-guide|"
"-parasite|"
"gimp-online|"
"gimp-progress|"
"gimp-procedural|"
"gimp-display|"
"gimp-context|"
"gimp-fonts|"
"gimp-palette|"
"gimp-path|"
"gimp-pattern|"
"gimp-vectors|"
"gimp-quit|"
"gimp-plugins|"
"gimp-gimprc|"
"temp-procedure"
So you could just rename the procedure (in file FU_artist_cutout.scm) to one of your own choosing (eg. "FU-mycutout") and invoke that instead.
However, if you also want to invoke other procedures such as (gimp-brightness-contrast) you're better off using a "middle-man" script anyway.
When BIMP invokes your middle-man script the image ID and active layer ID are simply the first two parameters supplied to the script/plugin, the same as if you invoked the script/plugin manually from the Gimp menu.
So your middleman script should be something like:
(define (FU-mycutout image drawable brightness contrast colours smoothness)
(gimp-image-undo-group-start image)
(gimp-brightness-contrast drawable brightness contrast)
(FU-cutout image drawable colours smoothness TRUE)
(gimp-image-undo-group-end image)
)
(script-fu-register
"FU-mycutout"
"<Image>/Script-Fu/Artist/My Cutout"
"Some blurb of your choosing..."
""
""
""
"RGB*"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
SF-ADJUSTMENT "Brightness" '(35 -127 127 1 10 0 0)
SF-ADJUSTMENT "Contrast" '(40 -127 127 1 10 0 0)
SF-ADJUSTMENT "Colours" '(32 4 32 1 10 0 0)
SF-ADJUSTMENT "Smoothness" '(1 1 20 1 1 0 0)
)
As to why you couldn't get it to work from the command line, the only thing I notice is that "*jpg" should be "*.jpg".
[BTW the fact that it says "Batch command completed successfully" does
not mean that any images were actually processed ..it just means that the batch process completed without encountering any script interpretation or other processing errors! So if the file-glob does not match any actual files, it will show that message even though no images were actually processed.]
You
should be able to invoke Gimp from any directory (just by typing "gimp") and G'MIC
should load okay without DLL errors. The fact that you are getting these errors suggests that your Gimp installation is not entirely happy and I think you should try re-installing.