[Qt-interest] How to show Mono8 images?

董隆超 donglongchao at 163.com
Wed Jul 28 13:01:26 CEST 2010







>董隆超 schrieb:
>> Hi,
>>
>> I am trying to show images from CCD with Mono8(8 bits per pixel) 
>> format .But I find QT only support Mono(1 bit per pixel) adn MonoLSB(1 
>> bit per pixel).
>> So is there a way to show them?
>> Thans a lot.
>I would be also really interested in such a grayscale format. I am using 
>a mono camera and convert the buffer to a different buffer in rgb 
>format, so that I can use it with QImage directly. But this is time 
>consuming and should not be necessary.
>
>Matthias


I also try to convert it into RGB32 format and it works well except time and CPU problem.I think QT may need to support such format.It is not a hard work for them.Or may be there is some special way we do not know to handle Mono8.:)

Longchao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100728/a825d096/attachment.html 


More information about the Qt-interest-old mailing list