diff options
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -470,7 +470,7 @@ local function crop(...) else iwidth,iheight = src:size(2),src:size(1) end - local x1, x2 + local x1, y1 if format == 'c' then x1, y1 = math.floor((iwidth-width)/2), math.floor((iheight-height)/2) elseif format == 'tl' then |