Update image.cc
Merge pull request #2 from routix/master

Added 'gray' image format support