[Qt-interest] Quicktime C -> QImage

"Alexander Carôt" alexander_carot at gmx.net
Mon Apr 19 16:47:54 CEST 2010


> Also pay attention to byte-ordering. QImage::Format_RGB32 and 
> Format_ARGB32 assume that the 32-bit pixel is in host endian. That is, 
> on a big-endian machine like PowerPC, the bytes in the buffer are in 
> ARGBARG... sequence while on a little-endian one like x86, they are 
> GBRAGBRA...
>
> >>From my (painful) experience dealing with Apple, they mostly assume 
> ARGBARGB sequence regardless of host endian. Unfortunately, Qt does not 
> provide an option to use reverse byte order image buffer: 
> <http://bugreports.qt.nokia.com/browse/QTBUG-5200>

allright ! That might be the reason why my image has wrong colors: It looks like a Blue/White image with some additional colors. So - I might need to change the order manually then. Let's see. Exiting ;-)

Thanks and best

-- A l e x



 
> HTH
> 
> -- 
> Stephen Chu

-- 
http://www.carot.de
http://www.triologue.de
Email : Alexander at Carot.de
Tel.: +49 (0)177 5719797



GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01



More information about the Qt-interest-old mailing list