mirror of
https://github.com/vale981/Taevitas
synced 2025-03-05 09:31:42 -05:00
dirty_debug
This commit is contained in:
parent
2674ad3dfd
commit
6b24598e74
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void MainWindow::displayPreview(FlyCapture2::Image* last_capture) {
|
|||
FlyCapture2::Image last_image;
|
||||
FlyCapture2::Error e = last_capture->Convert(FlyCapture2::PIXEL_FORMAT_BGR, &last_image);
|
||||
|
||||
last_preview_image = QImage::fromData(QByteArray(last_image->GetData(), last_image.GetDataSize()), QImage::Format_BGR30);
|
||||
last_preview_image = QImage::fromData(QByteArray(last_image.GetData(), last_image.GetDataSize()), QImage::Format_BGR30);
|
||||
//last_preview_image.scaledToWidth(500);
|
||||
ui->preview_widget->setFixedSize(last_preview_image.width(), last_preview_image.height());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue