Hey there,
I have a QPixmap.
I'd like to replace every single white pixels by black ones.
How can I do that ?
Hey there,
I have a QPixmap.
I'd like to replace every single white pixels by black ones.
How can I do that ?
Convert the pixmap into QImage and access each Pixel by QImage::pixel .
Then you can check if the pixel is white, change it to black
bunjee (20th August 2008)
Bookmarks