https://bugs.kde.org/show_bug.cgi?id=443010

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/gwenview/commit/4e26fe
                   |                            |2ccf2701fac9972e52d0507ea11
                   |                            |21f0b95
         Resolution|---                         |FIXED
   Version Fixed In|                            |22.04
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from Nate Graham <n...@kde.org> ---
Git commit 4e26fe2ccf2701fac9972e52d0507ea1121f0b95 by Nate Graham.
Committed on 07/12/2021 at 17:38.
Pushed by ngraham into branch 'master'.

Only switch to Qt::FastTransformation ("showing pixels") at 500% zoom

Right now Gwenview uses Qt::FastTransformation to show individual pixels
at any zoom value higher than 100%. This is not optimal and results in
poor display for low zoom levels where a smoothed image is more
aesthetically desirable. But there are use cases for seeing individual
pixels--for example when looking at the details of a line-art graphic
or an icon, or examing an image to see its individual colors. These use
cases becomes more likely as the zoom level is increased.

Accordingly, this commit changes Gwenview to shop smoothing zoomed-in
images at an arbitrarily-chosen threshold of 400% zoom. At that level or
above, the image will be unsmoothed and you can see the individual
hard-edged pixels.
FIXED-IN: 22.04

M  +5    -4    lib/documentview/rasterimageitem.cpp

https://invent.kde.org/graphics/gwenview/commit/4e26fe2ccf2701fac9972e52d0507ea1121f0b95

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to