mirror of
https://github.com/sxyazi/yazi.git
synced 2024-09-11 10:26:35 +03:00
fix: magick
plugin not working properly (#1213)
This commit is contained in:
parent
9a5b75662a
commit
c64530b35b
@ -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…
Reference in New Issue
Block a user