LearnBoost/node-canvas — pull request #209 by markcochran (2012-08-30 21:59:21+00:00)
Title: Adding support for grayscale JPEG images.

If a grayscale image is currently passed through node-canvas it gets distorted due to their not being 4 channels per pixel. The added code will check the JPEG color space and correctly set the rgb and alpha pixel values for a grayscale image.