Image interpolation
OpenComic supports different image interpolation.
Options
Disabled
- Disabled (Chromium): Interpolation is disabled, use the default chromium downscaling/upscaling.
CSS Image Rendering
This uses the CSS image-rendering
property.
- Pixelated: The image is scaled using the
pixelated
value. - Webkit Optimize Contrast: The image is scaled using the
-webkit-optimize-contrast
value.
Sharp
Interpolation is done using the sharp
library.
- Nearest: Use a Nearest neighbour interpolation.
- Linear: Use a Triangle filter.
- Mitchell: Use a Mitchell-Netravali spline.
- Lanczos2: Use a Lanczos kernel with
a=2
. - Lanczos3: Use a Lanczos kernel with
a=3
. - Cubic (Catmull-Rom spline): Use a Catmull-Rom spline.
Sharp Affine
Interpolation is done using the sharp
library with the affine
transformation.
- Bicubic: Use a Bicubic interpolation.
- Bilinear: Use a Bilinear interpolation.
- Nohalo: Use a Nohalo interpolation
- Locally Bounded Bicubic (LBB): Use a LBB interpolation
- Vertex-Split Quadratic B-Splines (VSQBS): Use a VSQBS interpolation