diff --git a/generators/epub/epubdocument.cpp b/generators/epub/epubdocument.cpp --- a/generators/epub/epubdocument.cpp +++ b/generators/epub/epubdocument.cpp @@ -86,9 +86,9 @@ const int maxHeight = maxContentHeight(); const int maxWidth = maxContentWidth(); if(img.height() > maxHeight) - img = img.scaledToHeight(maxHeight); + img = img.scaledToHeight(maxHeight, Qt::SmoothTransformation); if(img.width() > maxWidth) - img = img.scaledToWidth(maxWidth); + img = img.scaledToWidth(maxWidth, Qt::SmoothTransformation); resource.setValue(img); break; }