PDA

View Full Version : convert jpeg to rgb8



ustulation
25th July 2012, 14:31
hi,
(using Qt 4.8.1, WindowsXP, Visual Studio 2010)
i'v a specification that says RGB8 is "a raw array of 8-byte RGB triples (this is not BMP)."
this is different from RGB888 right?
Further, how do i convert (in Qt ofcourse) jpeg to RGB8 as specified above?
(i'm using QImage mostly)
thanks!!

amleto
25th July 2012, 15:25
so QImage#convertToFormat doesnt work?

It looks to me like rgb888 is what you described.