Camera colors

Hi I just got the Camera Module (
And I has been playing with it today, everything works fine now I need to take pictures in gray scale or black and white.

Can I change the color from 24 bits to lets say 8 bits?

I’m guessing it’s 24 bits because the height and width times 3 that its show on the source code of the driver.

Thanks for the help.