feat: add support portrait orientation preview for EXIF image

This commit is contained in:
Lipman 2024-08-04 22:13:42 +08:00 committed by sxyazi
parent cc50f94de6
commit 87406b1122
No known key found for this signature in database

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",