fix: magick previewer for multi-layered image files with -flatten argument (#1684)

This commit is contained in:
venatio 2024-09-26 03:14:13 +02:00 committed by GitHub
parent c4ffdc08bb
commit ae53ef4443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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