Skip to content

Commit 3666295

Browse files
committed
test to invert color
1 parent a85dcbd commit 3666295

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
@@ -493,7 +493,7 @@ QImage LibCameraWorker::convertBufferToImage(
493493
cfg.size.width,
494494
cfg.size.height,
495495
cfg.stride,
496-
QImage::Format_RGB888);
496+
QImage::Format_BGR888);
497497
qDebug() << "[DEBUG] RGB888 conversion complete, image size:" << temp.size();
498498
image = temp.copy();
499499
} else if (cfg.pixelFormat == libcamera::formats::BGR888) {

0 commit comments

Comments
 (0)