maybe it’s not related, but have you updated your filters ? CrayonGraffiti is defined in the gmic-community repository, so it’s not included by default in a fresh install of gmic. Try:
$ gmic -update
to be sure the external filters are imported too.
Maybe this could solve the problem.
There is no any php errors, it is strange, i have the same problem with 2 others servers, Debian 7 and Windows 2012, as i said the image is successfully converted when i use directly the command line by ssh or by CMD for windows, but when i use the same command on PHP file or on aspx file for windows the image is not converted…
Note that other Gmic commands line works fine from the PHP and ASPX files.
If other commands work fine, I’m almost sure this is a problem related with the update file.
The “Crayon graffiti” filter is not shipped by default with the gmic binary, which means if it doesn’t work, it probably means gmic does not succeed in loading the update file.
This update file is usually located in $HOME/.config/gmic/update178.gmic, maybe on a server, this file cannot be accessed ?