Glad you spoke up, I wasn’t heading that way. Was planning to use libgimc and to marshall rawproc RGBs into and outof the G’MIC internal format…
I mean, it’s pretty simple, save the internal image to a 16-bit tiff, use the system() call to run gmic ‘somescriptfile’ and read back in the resulting whatever result was generated and go on from there in the rawproc toolchain. I already have code to run externals (exiftool) and to read/write tiffs to/from the internal representation, so, easy-peasy… ??
I’ll do a quick-n-dirty implementation, then take feedback from any who try it. I’ll probably have something mid-next-week; I’ll start a new thread to announce the branch and for discussion.