[Qt-interest] why no 8-bit gray in QImage::Format?

Samuel Rødal sroedal at trolltech.com
Wed Sep 16 09:29:21 CEST 2009


James Yan wrote:
> i need a picture in 0-255 gray, but it looks no such format in 
> QImage::Format :(

Use QImage::Format_Indexed8.

--
Samuel



More information about the Qt-interest-old mailing list