BitUtils.bufferedImageToPix() working for grayscale images