mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: magick previewer for multi-layered image files with -flatten argument (#1684)
This commit is contained in:
parent
c4ffdc08bb
commit
ae53ef4443
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue