Q: I have a 19-bits depth LCD, but Qt/E only support 4,8,16,24, and 32 bits depth. Does anyone know how to modify the code to support 19-bits depth?
Please be kindly to tell me.
A: You don't have to modify the code for this. Just take the 19 most
significant bits from the 24 or 32 bits and you are ready to go. Sure
you'll loose some color depth but you can't get more out of 19bit
anyway. The only difference is that the colors are scaled for 24 or 32
bits compared to 19bits, but you won't notice the difference significantly.
阅读(1394) | 评论(0) | 转发(0) |