mirror of
https://github.com/sxyazi/yazi.git
synced 2026-05-13 08:16:40 +00:00
feat: add support portrait orientation preview for EXIF image (#1412)
Co-authored-by: sxyazi <sxyazi@gmail.com>
This commit is contained in:
parent
cc50f94de6
commit
cda7d3f2ea
10 changed files with 34 additions and 38 deletions
|
|
@ -28,6 +28,7 @@ function M:preload()
|
|||
string.format("%dx%d^", PREVIEW.max_width, PREVIEW.max_height),
|
||||
"-quality",
|
||||
tostring(PREVIEW.image_quality),
|
||||
"-auto-orient",
|
||||
"JPG:" .. tostring(cache),
|
||||
}):spawn()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue