madhums/node-imager — pull request #63 by distracteddev (2014-05-04 06:58:21+00:00)
Title: Add a thumbnail option and accept other gravity options in resizeAndCrop

An implementation of the crop strategy described below. Imho, the thumbnails created are superior to simply using crop.

http://superuser.com/questions/275476/square-thumbnails-with-imagemagick-convert