I know it's possible to save pixmaps like this:

myPixmap.save("image.bmp", 0, -1);

but the resulting file is 24 bpp rgb image.

Is it also possible to make 8 bpp grayscale images this way?