Gmic license questions

I had a question about the cecill license. Do I have to open source my entire code if my code calls gmic in a product I distribute?

G’MIC is distributed under the CeCILL licence, which is GPL-compatible.
So, all depends on how the call is done from your software :

  • If is uses the libgmic API, then yes the licence contaminates your own software, and it must be distributed under CeCILL (or GPL) as well.
  • If it uses something like exec("gmic ...") (call of the external cli tool gmic), then I guess it’s not contaminating in this case (it will run in separate address spaces, which is what the license requires to make it contaminating).