Board Thread:Lua Help/@comment-27393108-20160120103517

How do you read out the width of an image with Lua? The documentation says I should try this:

That results in a script error.

I even tried this:

Same result. Or lack thereof.

What am I missing here? 