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

Commit

Permalink
Fixed #1. Significantly improved quality of generated thumbnails. Now
Browse files Browse the repository at this point in the history
they are even better and smoother, than those generated by Steam itself.
  • Loading branch information
awthwathje committed Oct 16, 2016
1 parent 0f4d82e commit 3ef78e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SteaScree.pro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ HEADERS += mainwindow.h \

FORMS += mainwindow.ui

VERSION = 1.0.4.0
VERSION = 1.0.5.0

macx:ICON = res/icons/SteaScree.icns

Expand Down
2 changes: 1 addition & 1 deletion model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ void Model::pushScreenshots(QString userID, QString gameID) // this routine copi
int tnWidth = 200;
int tnHeigth = (tnWidth * heigth) / width;

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

0 comments on commit 3ef78e7

Please sign in to comment.