Bug 360830

Summary: Implement high quality scaling filters for pages
Product: [Applications] okular Reporter: Nicolas F. <kdebugs>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: cappellorosso
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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