This PHP class helps you to process images. There are two manner you can use this script. One manner is directly from url like (imageprocessor.php?src=image&h=100&w&50&...). This can be used to create thumbnails on the fly. The second manner is using the class in your website/application code by including the imageprocessor.php in your script.
Features
Resize images on the fly Supports jpg, gif, png Preserves png and gif transparency Rotate images Can be used as a class in your own website/application Can be used as an url resizer that can directly be set as image source 3 types of image resizing (stretch, fit, crop) Watermark images Cache image for efficieny Filter effects like negative and grayscale Batch resizing Create photoshop ACO files on the fly based on an image Create a color scheme based on an image Choose outputted image quality Use remote images as file source
Updates 01/09/2010:
Multi resize images
27/08/2010:
Fixed problem with special chars in remote image urls
19/08/2010:
Add watermark without resizing User remote image as source Better support for transparent images like GIF and PNG Better support for 24bit PNG watermarks Direct link black and white filter parameter