Bug 360830 - Implement high quality scaling filters for pages
Summary: Implement high quality scaling filters for pages
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-21 19:10 UTC by Nicolas F.
Modified: 2019-09-07 09:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas F. 2016-03-21 19:10:53 UTC
Currently, pages are scaled with what appears to be bilinear filtering. While fast, this can often result in a blurry picture. While this isn't too much of an issue when reading a PDF document, it can be pretty annoying when reading small text in a CBZ that's zoomed in to fit the page width.

Examples for scaling filters can be found in mpv's documentation: https://mpv.io/manual/stable/#video-output-drivers-bilinear

I'd suggest Mitchell-Netravali, here's a PDF of the paper I found: www.cs.utexas.edu/users/fussell/courses/cs384g/lectures/mitchell/Mitchell.pdf

Additionally, the current bilinear interpolation should be done using GPU accelaration if available, if this isn't already the case, for performance and power saving purposes.

Reproducible: Always