Skip to content

Commit

Permalink
fix: magick previewer for multi-layered image files with -flatten
Browse files Browse the repository at this point in the history
… argument (#1684)
  • Loading branch information
v3natio authored Sep 26, 2024
1 parent c4ffdc0 commit ae53ef4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions yazi-plugin/preset/plugins/magick.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ae53ef4

Please sign in to comment.