update
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ for i = 1, len do
|
||||
ngx.log(ngx.INFO, "COMBINE FILE -> ", images[i])
|
||||
incoming = file_dir .. "/" .. images[i]
|
||||
origin[i] = incoming .. ".png "
|
||||
local cmd = convert .. " -resize 1280x " .. incoming .. " " .. origin[i]
|
||||
local cmd = convert .. " -resize 642x1389 -strip -quality 75% " .. incoming .. " " .. origin[i]
|
||||
ngx.log(ngx.INFO, 'CMD RESIZE -> ', cmd)
|
||||
local handle = io.popen(cmd)
|
||||
local result = handle:read("*a")
|
||||
|
||||
Reference in New Issue
Block a user