Open Bug 1547612 Opened 2 years ago Updated 1 year ago

Use Lanczos method for upscaling images for different zoom levels

Categories

(Core :: ImageLib, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: aros, Unassigned)

References

Details

(Keywords: feature)

Attachments

(1 file)

Attached image firefox_vs_lanczos.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

Currently Firefox uses bicubic (?) for image upscaling and this algo is not optimal specially for text.

Expected results:

See the attached screenshot:

Firefox 67 beta 14 vs. Lanczos.

Type: defect → enhancement
Severity: normal → major
Status: UNCONFIRMED → NEW
Component: Untriaged → ImageLib
Ever confirmed: true
Keywords: feature
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
See Also: → 486918
Summary: Use lanczos for upscaling images for different zoom levels → Use Lanczos method for upscaling images for different zoom levels
Version: 67 Branch → unspecified
Priority: -- → P3

This can be done at high performance using shaders. For example, madvr renderer can upscale hundreds of frames per second using lanczos on modern discrete video cards.

You need to log in before you can comment on or make changes to this bug.