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

Méven Car <meven....@enioka.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #9 from Méven Car <meven....@enioka.com> ---
(In reply to Ryan Swart from comment #0)
> With a high-dpi monitor, screenshots are far larger than they need to be,
> and need to be opened in gwenview or an image manipulation for resizing
> before they are usable. Having a pre-set resolution that the image can be
> resized to after capture, would remove that step and enable interesting
> workflow optimizations (eg. make website/app preview images easy to
> thumbnail).

The issue is about image formats : the typical file format used for screenshot
png has capability for pixel ratio but is rarely supported AFAIK
https://www.w3.org/TR/2003/REC-PNG-20031110/#11pHYs
http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.div.8

The good news is it seems Qt/QImage is supporting this
https://code.woboq.org/qt5/qtbase/src/gui/image/qpnghandler.cpp.html#1076 so
spectacle could support this with some effort in some cases. For instance in
multi-screen with wayland and multiple scaling factor this would make little
sense. But single screen screenshots or rectangular would be candidate.
The other option to allow to take downscaled screenshots would loose resolution
and details so this is not advisable and might make your screenshot unusable.

https://invent.kde.org/graphics/spectacle/-/merge_requests/29 fixing
https://bugs.kde.org/show_bug.cgi?id=409762 will allow on Wayland when in a
multi-monitor setup to take screenshots with each screen downscaled by their
own scale factor (loosing details!).

In the meantime you'd need to convert the image to lower resolution/scale down
the image, https://www.html5rocks.com/en/mobile/high-dpi/ gwenview or
imagemagick do that like a charm.

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

Reply via email to