image processing library for PHP
- requires no installation, no other libraries, no ImageMagick, just PHP GD
- reads and writes TGA, BMP, PNM, PPM, PGM, PBM and all formats supported by PHP GD (jpg, gif, png...)
- lots of filters/effects: sepia, vibrance, contrast, posterize, emboss, sharpen, blur...
- can convert to grayscale and black&white using various dithering methods (Stucki, Sierra, Burkes, Floyd Steinberg...)
include 'XImage.php';
$img = new XImage();
$img->load('test.tga')->save('test.bmp');
include 'XImage.php';
$img = new XImage();
$img->load('test.jpg')->scale(2)->sepia()->roundCorner(30)->save('test.png');