the imgPath is a string list, and opt.height and opt.width are float number.
Error messages:
/usr/local/bin/luajit: /usr/local/share/lua/5.1/graphicsmagick/convert.lua:14: attempt to index global 'dok' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/graphicsmagick/convert.lua:14: in function 'convert'
called by
the
imgPath
is a string list, andopt.height
andopt.width
are float number.Error messages:
Maybe
require dok
is needed here?