Skip to content
This repository was archived by the owner on Aug 12, 2022. It is now read-only.

Commit 3ef78e7

Browse files
committed
Fixed #1. Significantly improved quality of generated thumbnails. Now
they are even better and smoother, than those generated by Steam itself.
1 parent 0f4d82e commit 3ef78e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SteaScree.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ HEADERS += mainwindow.h \
1515

1616
FORMS += mainwindow.ui
1717

18-
VERSION = 1.0.4.0
18+
VERSION = 1.0.5.0
1919

2020
macx:ICON = res/icons/SteaScree.icns
2121

model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ void Model::pushScreenshots(QString userID, QString gameID) // this routine copi
501501
int tnWidth = 200;
502502
int tnHeigth = (tnWidth * heigth) / width;
503503

504-
screenshot.scaled(QSize(tnWidth, tnHeigth), Qt::IgnoreAspectRatio).save(copyDest + "/thumbnails/" +
504+
screenshot.scaled(QSize(tnWidth, tnHeigth), Qt::IgnoreAspectRatio, Qt::SmoothTransformation).save(copyDest + "/thumbnails/" +
505505
filename, "jpg", 95);
506506
QDateTime lm = QFileInfo(file).lastModified();
507507
qint64 epoch = lm.toMSecsSinceEpoch();

0 commit comments

Comments
 (0)