libvips / lua-vips

Lua binding for the libvips image processing library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix # override in luajit 2.0

jcupitt opened this issue · comments

#image should get the number of bands. It works fine in luajit 2.1, but seems to not work in 2.0. Sad!

Remove this overload (and []) -- too confusing, since they number from 0. This messed up debuggers (for example) whcih expect to be able to index objects Lua-style