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

Noah Davis <noaha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/spectacle/-/commit/00c
                   |                            |90e574ae93b146e703b8f5a7cb6
                   |                            |db42fda465

--- Comment #14 from Noah Davis <noaha...@gmail.com> ---
Git commit 00c90e574ae93b146e703b8f5a7cb6db42fda465 by Noah Davis.
Committed on 07/04/2024 at 04:36.
Pushed by ndavis into branch 'master'.

ImagePlatformKWin: Go back to manually combining images

The point of this is to improve image quality with fractional scaling and mixed
DPI.
The reason why we aren't just patching the KWin screenshot plugin is because
CaptureWorkspace and CaptureArea aren't actually intended for high quality
captures.

We are now using OpenCV to scale the images. We do this because OpenCV has
higher quality filters and because OpenCV should be fast enough.

This patch should make it so integer scale screenshots are crisper.
Fractional screenshots are already a bit blurry, so this combined with a high
quality image filter should be OK.

There's not much more that can be done to fix bug 478426 because of competing
requirements.
A combined screens image should have the screens layout, but images need to be
scaled to fit the layout and images also need to look as crisp as possible.

M  +119  -23   src/Platforms/ImagePlatformKWin.cpp
M  +43   -1    src/Platforms/ImagePlatformKWin.h

https://invent.kde.org/graphics/spectacle/-/commit/00c90e574ae93b146e703b8f5a7cb6db42fda465

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

Reply via email to