PHP: Image Manipulation

Ich habe gerade die PHP Bibliothek WideImage entdeckt:

WideImage is an object-oriented library for image manipulation. It requires PHP 5.2.x or 5.3.x with GD2 extension. It’s E_ALL + E_STRICT compliant and fairly well tested with Simpletest.

The library focuses on ease of use of the most common image operations. It provides a simple and unified way to loading and saving images from/to files, strings, database, uploads and URL addresses. Supports the most common image formats.

Und so sieht’s aus:

WideImage::load('big.png')->resize(50, 30)->saveToFile('small.jpg');
WideImage::load('pic.jpg')->crop('center', 'center', 90, 50)->output('png');

Cool, so was braucht man doch recht häufig. Und hier ist jemand dabei daraus ein library plugin für Joomla 1.6 zu schreiben. I like.

Possibly related posts (automatically generated)