The Image::Size module for Perl provides a clean interface for fetching image dimensions (and type, when unknown) from graphics files in a wide variety of common formats. It is a pure Perl extension (no C or XS linking required) that has been tested on a variety of UNIX, Linux and BSD systems, as well as MacPerl and Windows ports of Perl. It was designed around and tuned for use in CGI application development, but is useful in other areas as well.
| Tags | Internet Web Dynamic Content CGI Tools/Libraries multimedia Graphics |
|---|---|
| Licenses | Artistic |
| Operating Systems | OS Independent |
| Implementation | Perl |
Recent releases


Release Notes: Compress::Zlib is now optional. The distribution was refactored. The cache was made visible outside the lexical scope of the module to make it possible to use with IPC.


Release Notes: Compress::Zlib was added to the list of required modules in Makefile.PL and Build.PL. "use warnings" was added to Size.pm to make sure it stays warnings-clean.


Release Notes: There is a minor fix in the handling of references to in-memory data, and code cleanup in the imgsize utility script.


Release Notes: Application of patches that add support for MNG and fallback to Image::Magick (if available) if Image::Size cannot inherently recognize/handle the image data.


Release Notes: Several documentation fixes.