mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Format
This commit is contained in:
parent
aa8d60ad43
commit
c60de078e9
1 changed files with 2 additions and 2 deletions
|
|
@ -25,11 +25,11 @@ function M:preload(job)
|
|||
return true
|
||||
end
|
||||
|
||||
local cmd = M.with_limit()
|
||||
cmd:arg { tostring(job.file.url), "-auto-orient", "-strip" }
|
||||
local cmd = M.with_limit():arg(tostring(job.file.url))
|
||||
if job.args.flatten then
|
||||
cmd:arg("-flatten")
|
||||
end
|
||||
cmd:arg { "-auto-orient", "-strip" }
|
||||
|
||||
local size = string.format("%dx%d>", rt.preview.max_width, rt.preview.max_height)
|
||||
if rt.preview.image_filter == "nearest" then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue