diff --git a/components/imageproc/src/lib.rs b/components/imageproc/src/lib.rs index a91e085..fcfdf9e 100644 --- a/components/imageproc/src/lib.rs +++ b/components/imageproc/src/lib.rs @@ -253,7 +253,7 @@ impl ImageOp { let mut img = image::open(&src_path)?; let (img_w, img_h) = img.dimensions(); - const RESIZE_FILTER: FilterType = FilterType::Gaussian; + const RESIZE_FILTER: FilterType = FilterType::Lanczos3; const RATIO_EPSILLION: f32 = 0.1; let img = match self.op {