feat: add support portrait orientation preview for EXIF image

This commit is contained in:
Lipman 2024-08-04 22:13:42 +08:00
parent d2ebadb631
commit 1bdd719508

View File

@ -24,6 +24,7 @@ function M:preload()
"-density",
"200",
tostring(self.file.url),
"-auto-orient",
"-resize",
string.format("%dx%d^", PREVIEW.max_width, PREVIEW.max_height),
"-quality",