WideImage
WideImage is an object-oriented library for image manipulation, written in/for PHP5. It’s a pure-PHP library and doesn’t require any external libraries apart from the GD2 extension. Most of the code is unit tested with Simpletest, the library is E_ALL + E_STRICT compliant, and is being actively used in production with no serious problem reported since first public release (alpha 1, March 2007). It’s released under GNU LGPL 2.1.
The library focuses on often-used image operations and ease of use. It provides a simple and unified way to loading and saving images from/to files, strings, database, uploads and even URLs (load only, must be enabled in PHP). Supports the most common image formats.
Here’s a quick glance at how easy it is:
-
WideImage::load('big.png')->resize(50, 30)->saveToFile('small.jpg');
-
WideImage::load('pic.jpg')->crop(10, 10, 200, 200)->output('png');
Authors
The library is developed by Gašper, with some assistance from Klemen (he also created the logo).
Other WideImage project resources
- project page at SourceForge.net (tracker, download, svn, …),
- Ohloh profile,
- related entries on my blog (thoughts and details).

