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?
Printable View
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?
I needed to get a 1 bpp grayscale the other day for OCR purposes, but I never could get Qt to do this :o
You will have to create an image plug-in that lets you do this: http://doc.trolltech.com/qq/qq17-imageio.html