diff --git a/src/convertworker.cpp b/src/convertworker.cpp index c814b2d..be11f88 100644 --- a/src/convertworker.cpp +++ b/src/convertworker.cpp @@ -120,7 +120,7 @@ void ConvertWorker::convertImage(QNetworkRequest request, QString filename, QTem QImage outImage = QImage(Width, Height, inImage.format()); outImage.fill(Qt::white); QPainter painter(&outImage); - painter.drawImage(0,0, inImage); + painter.drawImage(0, (outImage.height()-inImage.height())/2, inImage); painter.end(); QTemporaryFile tmpImage;