How to use gm

Comprehensive gm code examples:

How to use gm.subClass:

2
3
4
5
6
7
8
9
10
11
var request = require('request');
var Axios = require('axios');
var fs = require('fs');
var http = require('http');
var gm = require('gm')
var imageMagick = gm.subClass({ imageMagick : true });
var {sendGmImage} = require('../../cq/sendImage');
var path = require('path');
//var {sendGmImage} = require('../../../cq/sendImage');