diff --git a/test/dispmanx2png/dispmanx2png.cpp b/test/dispmanx2png/dispmanx2png.cpp index 1d33dcaa..6464a1f9 100644 --- a/test/dispmanx2png/dispmanx2png.cpp +++ b/test/dispmanx2png/dispmanx2png.cpp @@ -116,7 +116,8 @@ int main(int argc, char** argv) memcpy(scanLinePtr, imageRgba.memptr()+imageRgba.width()*iScanline, imageRgba.width()*sizeof(ColorRgba)); } - qImage.save(QString("HYPERION_%3.png").arg(iFrame)); + const QImage qImageSwp = qImage.rgbSwapped(); + qImageSwp.save(QString("HYPERION_%3.png").arg(iFrame)); ++iFrame; timespec sleepTime;