imageproc: Use Lanczos3 filter instead of Gaussian

This commit is contained in:
Vojtech Kral 2018-12-28 00:56:52 +01:00
parent 6e84eec32b
commit 9bd6a559c1
1 changed files with 1 additions and 1 deletions

View File

@ -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 {