[NTG-context] access image properties in Lua