[PyQt] QImage in BI24 format

Gelonida N gelonida at gmail.com
Wed Sep 19 08:19:31 BST 2012


On 09/18/2012 08:13 PM, Gelonida N wrote:
> Hi,
>
> I have a C-library creating an image supposedly in in BI24 format (video
> application)
>
> Now I'd like to display the image.
>
> I tried to set the pixel format to QImage.Format_RGB888
>
> and I can see the image.
> However the red and blue colors are inversed.
>
> Is there another format, that can directly display the image?
>
>
>


I managed to convice the other application to create the images in RGB32
So for the time being my problem is solved.

However I would still be interested to know, whether Qt can support the 
fourc 'BI24' format and if not, how one could convert most efficiently.



More information about the PyQt mailing list