mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-22 23:31:05 +00:00
fix: magick plugin not working properly (#1213)
This commit is contained in:
parent
9a5b75662a
commit
c64530b35b
1 changed files with 1 additions and 1 deletions
|
|
@ -23,11 +23,11 @@ function M:preload()
|
|||
local child, code = Command("magick"):args({
|
||||
"-density",
|
||||
"200",
|
||||
tostring(self.file.url),
|
||||
"-resize",
|
||||
string.format("%dx%d^", PREVIEW.max_width, PREVIEW.max_height),
|
||||
"-quality",
|
||||
tostring(PREVIEW.image_quality),
|
||||
tostring(self.file.url),
|
||||
"JPG:" .. tostring(cache),
|
||||
}):spawn()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue