image
0.24.9
In image::
imageops::
sample
Structs
Filter
FloatNearest
ThumbnailSum
Enums
FilterType
Functions
bc_cubic_spline
blur
box_kernel
catmullrom_kernel
filter3x3
gaussian
gaussian_kernel
horizontal_sample
interpolate_bilinear
interpolate_nearest
lanczos
lanczos3_kernel
resize
sample_bilinear
sample_nearest
sinc
thumbnail
thumbnail_sample_block
thumbnail_sample_fraction_both
thumbnail_sample_fraction_horizontal
thumbnail_sample_fraction_vertical
triangle_kernel
unsharpen
vertical_sample
image
::
imageops
::
sample
Function
lanczos3_kernel
Copy item path
Settings
Help
Summary
Source
pub(crate) fn lanczos3_kernel(x:
f32
) ->
f32
Expand description
Calculate the lanczos kernel with a window of 3