Quote Originally Posted by anda_skoa View Post
Hmm.
Maybe this would work:
- draw text into a Mono image or QBitmap with the same size as the image
- then iterate of that image and and the same time over the output image and set a pixel to the font color when there is a set pixel in the mono color image
I'm not sure I know how to do this, can you provide a proof-of-concept code for this?

Or just a solution to open a 8 bit BMP file, write text on it and save, also as an 8 bit bmp file without losing colours information