Bug 487207 - Gwenview's pixel interpolation activation threshold should be possible to configure, and it should be possible to disable.
Summary: Gwenview's pixel interpolation activation threshold should be possible to con...
Status: ASSIGNED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Gwenview Bugs
URL: https://discuss.kde.org/t/how-to-disa...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-18 21:51 UTC by Roke Julian Lockhart Beedell
Modified: 2024-11-01 20:29 UTC (History)
0 users

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


Attachments
Reproduction screencast. (803.68 KB, video/webm)
2024-08-12 19:50 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2024-05-18 21:51:32 UTC
SUMMARY
Low resolution images are rendered blurry despite being at low resolution because whether Gwenview's pixel interpolation is active is determined by whether the resolution of the viewport (affected by zoom and original image resolution) is above or below an arbitrary threshold (somewhere below 46 DPI, but above 24 DPI) defined in code, and unconfigurable by the user.

STEPS TO REPRODUCE
Export an image at, or resize an image to, 46 DPI and 24 DPI each.

OBSERVED RESULT
One is rendered blurry, the other is not.

EXPECTED RESULT
The same should occur by default, but the user should be able to configure the threshold (because those who create a lot of pixel art shall need that) and be able to override it from the menu bar context menu per image per session.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Kernel Version: 6.8.9-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.5 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Manufacturer: ASRock
Product Name: X670E Taichi

ADDITIONAL INFORMATION
https://discuss.kde.org/t/how-to-disable-pixel-interpolation-in-gwenview/15538/3?u=rokejulianlockhart
Comment 1 Roke Julian Lockhart Beedell 2024-08-12 19:50:32 UTC
Created attachment 172563 [details]
Reproduction screencast.
Comment 2 Bug Janitor Service 2024-11-01 20:29:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/303