-
Notifications
You must be signed in to change notification settings - Fork 429
Description
...in cjpeg as a option similar to -scale. In comparison to downsampling, upsampling needs more complexity in the calculations to the picture looked good. Why use a magnified images?
- people use super-resolution (SR) for print
- in web pages to avoid users scale from low-res interpolation (see also image-rendering, 'Gecko uses bilinear resampling'; they call it 'high quality' - there is a lot better scalers)
- for 'recover detail from all kinds of degraded sources'
- for pseudo-retina display on web pages (and when they do not have pictures straight from the source - camera - in hi-res)
- to zoom worms and insects
- etc.
NNEDI3 is the best interpolation algorithm available in Avisynth, and in my opinion lend itself for an extra feature for mozjpeg. In the future, when the DC Tune, aggressive optimizations find themselves in mozjpeg, it will be a great complement to the high quality resampler via Retina Revolution, and competitor for adaptive (edge-detecting) algorithm PhotoZoom.
Why use NNEDI3?
It is regarded by the community dedicated to converting video for the best interpolation algorithm but by the fossilization / orthodoxy / conservatism of the community is not available to a potential audience. Adding it to mozjpeg add freshness to the project.
Someone has already done a detailed testcase perfect NNEDI3.
In addition, a few links concerning interpolation.
cons NNEDI3:
- enlarging images only by powers of 2
I made a visual testcase which takes account of popular interpolation algorithms.
Screen
Inside there's more links regarding upscaling.