diff options
author | Soumith Chintala <soumith@gmail.com> | 2016-07-17 01:21:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-17 01:21:22 +0300 |
commit | f319cc59dc3e018b1b18031f0aa477cca95a4d03 (patch) | |
tree | 841fa04ff40d0286801b74d4fb15944ece068aad | |
parent | 6894a4502a6f692cd6408b780425a2a88f33370b (diff) | |
parent | fa3370607d9b3022c396bec0e904d7692dcd5b1c (diff) |
Merge pull request #178 from bnsh/patch-1
Global y1
-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 |