diff --git a/core/src/preview.rs b/core/src/preview.rs index 258db280..dc624c47 100644 --- a/core/src/preview.rs +++ b/core/src/preview.rs @@ -77,7 +77,8 @@ impl Previewer { img.crop_imm(w, 0, img.height(), img.height()) }; - let img = img.resize(EDGE, EDGE, FilterType::Triangle); + let img = img.thumbnail(EDGE, EDGE); + //let img = img.resize(EDGE, EDGE, FilterType::Triangle); Ok(img) } }