code: function ImageResize(filePath) {
  	var image = this;
  	var defDimensions = Q.defer();
  	var defFormat = Q.defer();
  
  	image.gm = gm(filePath)
  		.size(function (err, value) {
  			image.dimensions = value;
  			defDimensions.resolve();
  		})
  		.format(function (err, value) {
  			image.format = value;
  			defFormat.resolve();
  		});
  
  	image.isLoaded = Q.all([defDimensions.promise, defFormat.promise]);
  }
docs: gm.subClass({imageMagick: true});