Skip to content

Enum ScalingFilter

key

"bilinear" | "nearest_neighbor"

Values

"bilinear"

Blend between the four closest pixels. May cause scaling to be blurry.

"nearest_neighbor"

Choose the closest pixel. Causes scaling to look pixelated.