[Qt-interest] QImage Format

Bryce Salmi Bryce.Salmi at zoran.com
Mon Sep 28 20:55:34 CEST 2009


Qt Interest,

     For a while I have been using a plug-in I wrote for QScreenDriver
which converts the RGB data into YCbCr format data. Qt seems to send
RGB16 data in 5-6-5 format by default, I don't know why but it does.
Just today I finally managed to get the convertToFormat() function to
work and changed the output to RGB24 (Qt image format #4 in the QImage
docs). However I don't feel that this is efficient or even a good way to
get the RGB24 data that I want as it makes sense that I am converting
from 16 to 32 bits which will have the same 16 bit quality not the 32
bit quality. Is there a way to specify to Qt in the plug-in to deliver
RGB32 format data as a default format without having to convert it?

 

 

 

Thanks,

 

Bryce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090928/5aa9c310/attachment.html 


More information about the Qt-interest-old mailing list