Bug 434059 - [HiDPI] After using annotation mode, image is saved with huge compression
Summary: [HiDPI] After using annotation mode, image is saved with huge compression
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 20.03.80
Platform: Other Linux
: HI normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL: https://github.com/ksnip/kImageAnnota...
Keywords:
: 434571 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-03-06 17:05 UTC by Seqularise
Modified: 2021-09-07 20:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
result (2.87 MB, image/jpeg)
2021-03-06 17:05 UTC, Seqularise
Details
result2 (2.90 MB, image/jpeg)
2021-03-06 19:58 UTC, Seqularise
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Seqularise 2021-03-06 17:05:04 UTC
Created attachment 136433 [details]
result

SUMMARY
Result of an annotation mode is saved with huge compression, despite the fact that i set png in setting. Same with jpg 100%
STEPS TO REPRODUCE
1. make a new screenshot with spectacle
2. enter and close annotation mode
3. enter again in annotation mode or inspect it through gwenview

Operating System: Arch Linux
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.4 GiB of RAM
Graphics Processor: Radeon RX 570 Series
Comment 1 Nicolas Fella 2021-03-06 19:23:21 UTC
Are you using highdpi scaling?
Comment 2 Seqularise 2021-03-06 19:52:59 UTC
yes, 200%
Comment 3 Seqularise 2021-03-06 19:58:32 UTC
Created attachment 136438 [details]
result2

oops, added a wrong image
Comment 4 Nicolas Fella 2021-03-06 20:23:44 UTC
It's a known problem that after saving the resolution is reduces when using highdpi scaling. I believe it's an issue in the image annotator lib we are using
Comment 5 Nate Graham 2021-03-08 18:55:48 UTC
Indeed. Here is the link to that issue:

It's not clear if it really is an issue there or in Spectacle, though. The author at one point confirmed the issue and suggested a fix for Spectacle, but I applied it and it did not help. :(
Comment 6 Nicolas Fella 2021-03-18 14:10:36 UTC
*** Bug 434571 has been marked as a duplicate of this bug. ***
Comment 7 Nicolas Fella 2021-03-18 14:11:08 UTC
(In reply to Nate Graham from comment #5)
> Indeed. Here is the link to that issue:
> 
> It's not clear if it really is an issue there or in Spectacle, though. The
> author at one point confirmed the issue and suggested a fix for Spectacle,
> but I applied it and it did not help. :(

Looks like you forgot the link :)
Comment 8 Nate Graham 2021-03-18 14:20:48 UTC
Oh so it I did, sorry. Here it is: https://github.com/ksnip/kImageAnnotator/issues/172#issuecomment-775451498
Comment 9 Seqularise 2021-09-07 20:51:38 UTC
Fixed in kimageannotator 0.5.0