Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1401745
  • 博文数量: 343
  • 博客积分: 13098
  • 博客等级: 上将
  • 技术积分: 2862
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-06 00:35
文章存档

2012年(131)

2011年(31)

2010年(53)

2009年(23)

2008年(62)

2007年(2)

2006年(36)

2005年(5)

分类: LINUX

2006-03-19 22:53:53

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) |
给主人留下些什么吧!~~