support qt a 18bit display?
It is possible to control a 18 bit display with QT? The display gets his data in 3 bytes per pixel 开发者_开发问答(18bit), but only the first 6 bits per byte are evaluated for colorinformation.
By 1st 6 bits do you mean the 6 MSBs or LSBs? That is, are the valid bits [RRRRRR--][GGGGGG--][BBBBBB--]
or [--RRRRRR][--GGGGGG][--BBBBBB]
?
If it the former (6 MSBs) you can just feed the display QImage::Format_RGB888
data. The LSBs will just be ignored. If it's the later, you can try QImage::Format_RGB666
, which uses LSBs.
精彩评论