Add fifth argument to specify bits per pixel for grayscale images
Merge pull request #34 from jwilm/master

Add fifth argument to specify bits per pixel for grayscale images