[Spectacle] [Bug 516970] After I bought a 4k monitor, all the screenshots became blurry.

"Noah Davis" <[email protected]>
Newsgroups gmane.comp.kde.devel.bugs
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=516970

--- Comment #20 from Noah Davis <[email protected]> ---
(In reply to Konstantin from comment #19)
> Read the message above and this.
> 
> I suggest making Rectangular Region use the same native-resolution capture
> path as Full Screen.
> 
> Instead of asking the backend/compositor to capture the selected region
> separately, capture the screen at native physical resolution first, convert
> the selected rectangle from logical coordinates to physical pixel
> coordinates, and crop the resulting image with QImage::copy().
> 
> There should be no scaling or resampling involved.
> 
> For example, at 125% scaling, an 800×400 logical-pixel selection should
> correspond to a 1000×500 crop from the native screenshot:
> 
> 800 × 1.25 = 1000
> 
> 400 × 1.25 = 500
> 
> This would guarantee that Rectangular Region contains exactly the same
> pixels as the corresponding area of a Full Screen screenshot.

This actually is what Spectacle does. If both screens have the same scale,
there shouldn't be any re-scaling within Spectacle, as far as I can recall.
It's only when there are multiple screen scales that rescaling becomes
inevitable.

-- 
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.