Warning: session_start(): open(/var/lib/php/sessions/sess_go2u6b75hdmo4l9dhtporqaan8, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
crop = otherresults["#324"]
if crop == nil then error("need output of #324, please recalc") end
local _, _, x1, y1, x2, y2 = string.find(crop, "(%d+),%s*(%d+),%s*(%d+),%s*(%d+)")
if x1 == nil then error("output of #324 malformed") end
print("x1", x1, "y1", y1, "x2", x2, "y2", y2)
-- crop the image
local orig = img
img = {
width = x2-x1,
height = y2-y1,
getInt = function(x, y)
return orig.getInt(x+x1, y+y1)
end
}