Created attachment 156309 [details] Patch to make Gwenview render images more sharply SUMMARY Some images (photos) look slightly blurry when they are displayed with a zoom level < 100% (this is the default if I simply open an image file that has a higher resolution than my screen). STEPS TO REPRODUCE 1. Open a photo in Gwenview with small, fine-grained details. OBSERVED RESULT Photo looks slightly blurry. (see attached screenshot, view at 100%) EXPECTED RESULT Photo looks "sharp". (see attached screenshot of the same image displayed by Firefox, view at 100%) ADDITIONAL INFORMATION I discovered this problem by developing RAW files in darktable, wondering why the image looks sharp in darktable but a bit blurry in Gwenview. I compared the rendering of Gwenview with: * Firefox * digiKam * Eye of Gnome On all of them it looks "good/sharp". I get a sharp rendering in Gwenview by replacing Qt::SmoothTransformation with Qt::FastTransformation in one function, see attached patch.
Created attachment 156310 [details] Example of blurry rendering in Gwenview, view at 100%
Created attachment 156311 [details] Example of sharper rendering in Firefox, view at 100%
Created attachment 156312 [details] Example of sharper rendering in patched Gwenview, view at 100%
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/229
*** Bug 501351 has been marked as a duplicate of this bug. ***