From 6b460aed5268e39a6fc60c67999e9d4b8865c8f2 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Fri, 26 Jan 2024 23:17:35 +0800 Subject: [PATCH] docs: fix typo --- docs/configuration/yazi.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/configuration/yazi.md b/docs/configuration/yazi.md index 1376568d..3a3fd5c2 100644 --- a/docs/configuration/yazi.md +++ b/docs/configuration/yazi.md @@ -66,14 +66,16 @@ If you haven't created and used your own configuration file yet, please see [Con - max_width: Maximum preview width for images. Do a `yazi --clear-cache` to take effect after changing this. - max_height: Maximum preview height for images. Do a `yazi --clear-cache` to take effect after changing this. - cache_dir: The system cache directory is used by default, and the cached files will go away on a reboot automatically. If you want to make it more persistent, you can specify the cache directory manually as an absolute path. -- image_filter: The filters used on image downscaling, available values: +- image_filter: The filter used on image downscaling, available values: - `"nearest"` - Nearest Neighbor - - `"triangle"` - Linear: Triangle + - `"triangle"` - Linear Triangle - `"catmull-rom"` - Catmull-Rom - `"lanczos3"` - Lanczos with window 3 - They are arranged in order from fast to slow, and from poor to good quality. Lanczos3 provides the highest quality but is also the slowest — it's 40 times slower than Nearest. + They are arranged in order from fast to slow, and from poor to good quality. + Lanczos3 provides the highest quality but is also the slowest — it's 40 times slower than Nearest in some case. + This means it requires a significant amount of CPU computation, so make sure you know what you're doing! - image_quality: Quality on pre-caching images, range 50-90. The larger value, the better image quality, but slower with more CPU consumption, and generates larger cache files that occupy more storage space.