Fetches the width and height of a texture.
|textureFileName||String||The name of the texture you want to fetch the size of. Supported file formats are TGA and JPEG.|
Returns width and height of the texture, or nothing if the texture can't be read or loaded.
Once a texture has been loaded, it will be cached in memory. Textures are loaded as soon as they are used.
local w, h = video.getTextureSize("image.jpg")