Hi friends!
Is it possoble to know how many channels a qpixmap have?
I see a hasAlphaChannel() method, but no more.
I would like to avoid black and white images (1 channel)
Any suggestion?
Thanks in advance.
Hi friends!
Is it possoble to know how many channels a qpixmap have?
I see a hasAlphaChannel() method, but no more.
I would like to avoid black and white images (1 channel)
Any suggestion?
Thanks in advance.
See QPixmap::depth()
Returns the depth of the pixmap.
The pixmap depth is also called bits per pixel (bpp) or bit planes of a pixmap. A null pixmap has depth 0.
ricardo (19th July 2009)
Bookmarks