Skip to content

Commit bdf33fb

Browse files
committed
change color format for testing
1 parent 81f85ba commit bdf33fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libcameracamera.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ QImage LibCameraWorker::convertBufferToImage(
494494
cfg.size.width,
495495
cfg.size.height,
496496
cfg.stride,
497-
QImage::Format_RGB888);
497+
QImage::Format_BGR888);
498498
temp.setColorSpace(QColorSpace::SRgb);
499499
image = temp.copy();
500500
} else if (cfg.pixelFormat == libcamera::formats::BGR888) {

0 commit comments

Comments
 (0)