code: function transparentExtent(gm, params) {
    // Assert we received our parameters
    assert.notEqual(params.width, undefined);
    assert.notEqual(params.height, undefined);
  
    // Fill in new space with white background
    // TODO: Parameterize background color (should be considered 'transparent' color in this case)
    gm.background('transparent');
  
    // Anchor image to upper-left
    // TODO: Parameterize anchor point
    gm.gravity('NorthWest');
  
    // Specify new image size
    gm.extent(params.width, params.height);
  
    // Return gm instance for a fluent interface
    return gm;
  }
docs: DEV: If we want to restructure away from a class I (@twolfson) suggest writing to `exports` (e.g. `exports.getBooleanResult`, `exports.getFullResult`) then making `module.exports = _.extend(exports.getBooleanResult, exports);` Define custom resize function