mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Rescale album art when heigt is greater than 1000px, too.
This commit is contained in:
parent
1a4e4ba86f
commit
20e1f1b3d6
@ -264,7 +264,7 @@ void OutgoingDataCreator::CreateSong(
|
||||
if (!art.isNull()) {
|
||||
QImage small;
|
||||
// Check if we resize the image
|
||||
if (art.width() > 1000) {
|
||||
if (art.width() > 1000 || art.height() > 1000) {
|
||||
small = art.scaled(1000, 1000, Qt::KeepAspectRatio);
|
||||
} else {
|
||||
small = art;
|
||||
|
Loading…
x
Reference in New Issue
Block a user