This Lua library allows you to efficiently find out the size in pixels of bitmapped image files, such as PNGs and JPEGs. It is a Lua port of the Perl module Image::Size.
The lua-imagesize library is written in pure Lua. No C compilation is required to install it.
The lua-imagesize user manual explains how to use the module. It is also installed as a man page when you install the package.
Please use the lua-imagesize project page on LuaForge to report bugs.
Downloads
Currently only one version has been released, v1.0, released 2008-04-07. The source package contains the library source code, its test suite, documentation, a makefile for installing it on Unix-like systems, and the stuff needed to make your own Debian packages if mine aren't suitable.