feat: add support portrait orientation preview for EXIF image (#1412)

Co-authored-by: sxyazi <sxyazi@gmail.com>
This commit is contained in:
P_Lee 2024-08-05 17:15:24 +08:00 committed by GitHub
parent cc50f94de6
commit cda7d3f2ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 34 additions and 38 deletions

View file

@ -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()