Summary: | add support for saving as (lossless) webp | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | Jos van den Oever <jos> |
Component: | General | Assignee: | Boudhayan Gupta <me> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jos van den Oever
2020-04-23 09:23:55 UTC
Spectacle can save in all file formats supported by QImageWriter. In fact on my machine I can select webp as file format resulting in 100 KiB 1920x1080 screenshots. That's great to hear. I've plugins/imageformats/libqwebp.so on my machine but do not see an option to save to webp or set it as a default format. Is there an option to save losslessly? webp can save lossy and losslessly and often for screenshots the lossless version is smaller as well as more accurate. After installing the Qt image plugins, spectacle can save as webp. Very nice! When I save images with webp 100% quality the files are much smaller than when saving with 99% quality. E.g. a screenshot of a browser is 366K when saving at 99% quality and 197K when saving at 100% quality. The quality setting in Qt image plugins controls compression, and with WebP, 100 forces lossless mode https://code.qt.io/cgit/qt/qtimageformats.git/tree/src/plugins/imageformats/webp/qwebphandler.cpp#n274 |