Re: [PyQt] QImage in BI24 format

2012-09-19 Thread David Boddie
On Wed, 19 Sep 2012 09:31:55 -0700, Matt Newell wrote: > On Wednesday, September 19, 2012 12:19:31 AM Gelonida N wrote: > > On 09/18/2012 08:13 PM, Gelonida N wrote: > > > I tried to set the pixel format to QImage.Format_RGB888 > > > and I can see the image. > > > However the red and blue colors

Re: [PyQt] QImage in BI24 format

2012-09-19 Thread Matt Newell
On Wednesday, September 19, 2012 12:19:31 AM Gelonida N wrote: > 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

Re: [PyQt] QImage in BI24 format

2012-09-19 Thread Gelonida N
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.

[PyQt] QImage in BI24 format

2012-09-18 Thread David Cortesi
> > 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. > I don't know if this will he

[PyQt] QImage in BI24 format

2012-09-18 Thread Gelonida N
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 direc