I would like to use the command
convert in.png -morphology Close Square out.jpg
with the gm module using the imagemagick subclass :
var gm = require('gm').subClass({ imageMagick: true });
gm(FILEPATH).morphology('...')...;
But this method does not seem to be defined. I couldn't find any section about how to use undefined imagemagick functions ( custom commands ).
Did any of you guys successfully run a custom command with nodejs's gm module ?