This Lua library allows you to efficiently find out the size in pixels of bitmapped image files, such as PNGs and JPEGs, as well as get an appropriate MIME type for them. It is a Lua port of the Perl module Image::Size.
Documentation
Releases
Version 1.2
Released 8 September 2012. Download lua-imagesize-1.2.tar.gz.
- Add support for old-style OS/2 headers (the old 12 byte BITMAPCOREHEADER using two bytes instead of four for each of width and height).
Version 1.1
Released 17 July 2012. Download lua-imagesize-1.1.tar.gz.
- Minor packaging updates.
Version 1.0
Released 7 April 2008. Download lua-imagesize-1.0.tar.gz.
- Initial release, based on Perl Image::Size version 3.1.1.