mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fixed dispmanx2png (incorrect color byte order)
Former-commit-id: fe2529ba068e690e19797b3bd7ae10a2243c7286
This commit is contained in:
parent
9ff76ad97e
commit
14a1adb9e0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user